Searched refs:curfd (Results 1 – 1 of 1) sorted by relevance
39 int curfd; /* Current file descriptor */ member85 sf->curfd = open(sf->filesv[sf->curfile], O_RDONLY); in split_openfile()86 if (sf->curfd >= 0) in split_openfile()88 if ((sf->curfd == -1) && (errno != ENOENT)) in split_openfile()185 fd = sf->curfd; in splitfs_close()200 nread = read(sf->curfd, buf, size - totread); in splitfs_read()216 if (close(sf->curfd) != 0) in splitfs_read()289 new_pos = lseek(sf->curfd, seek_by, SEEK_CUR); in splitfs_seek()308 if ((result = fstat(sf->curfd, sb)) == 0) in splitfs_stat()