Lines Matching defs:offset
63 * offset - If 'offset' is not NULL, then it points to a variable
64 * holding the file offset from which sendfile() will start
66 * variable will be set to the offset of the byte following
67 * the last byte that was read. If 'offset' is not NULL,
68 * then sendfile() does not modify the current file offset of
69 * 'infd'; otherwise the current file offset is adjusted to
72 * If 'offset' is NULL, then data will be read from 'infd'
73 * starting at the current file offset, and the file offset
87 ssize_t sendfile(int outfd, int infd, off_t *offset, size_t count)
99 if (offset)
111 if (lseek(infd, *offset, SEEK_SET) == (off_t)-1)
245 if (offset)
257 *offset = curpos;