Home
last modified time | relevance | path

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

/freebsd-10-stable/lib/libstand/
Dsplitfs.c42 int curfd; /* Current file descriptor */ member
87 sf->curfd = open(sf->filesv[sf->curfile], O_RDONLY); in split_openfile()
88 if (sf->curfd >= 0) in split_openfile()
90 if ((sf->curfd == -1) && (errno != ENOENT)) in split_openfile()
187 fd = sf->curfd; in splitfs_close()
202 nread = read(sf->curfd, buf, size - totread); in splitfs_read()
218 if (close(sf->curfd) != 0) in splitfs_read()
291 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR); in splitfs_seek()
310 if ((result = fstat(sf->curfd, sb)) == 0) in splitfs_stat()