Home
last modified time | relevance | path

Searched refs:curfd (Results 1 – 1 of 1) sorted by relevance

/freebsd/stand/libsa/
H A Dsplitfs.c39 int curfd; /* Current file descriptor */ member
84 sf->curfd = open(sf->filesv[sf->curfile], O_RDONLY); in split_openfile()
85 if (sf->curfd >= 0) in split_openfile()
87 if ((sf->curfd == -1) && (errno != ENOENT)) in split_openfile()
184 fd = sf->curfd; in splitfs_close()
199 nread = read(sf->curfd, buf, size - totread); in splitfs_read()
215 if (close(sf->curfd) != 0) in splitfs_read()
288 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR); in splitfs_seek()
307 if ((result = fstat(sf->curfd, sb)) == 0) in splitfs_stat()