Searched refs:SEEK_CUR (Results 1 - 7 of 7) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dunistd.h126 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
133 #define L_INCR SEEK_CUR
H A Dfcntl.h270 #define SEEK_CUR 1 /* set file offset to current plus offset */ macro
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dsocket_tests.c104 my_current_offset = lseek( my_socket_fd, 0, SEEK_CUR );
H A Dtests.c360 my_current_offset = lseek( my_fd, 0, SEEK_CUR );
377 if ( my_current_offset != lseek( my_fd, 0, SEEK_CUR ) ) {
394 if ( my_current_offset != lseek( my_fd, 0, SEEK_CUR ) ) {
1425 my_current_offset = lseek( my_fildes[0], 0, SEEK_CUR );
3873 my_current_offset = lseek( my_fd, 0, SEEK_CUR );
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_lock.c604 if ((fl->l_whence != SEEK_CUR && fl->l_whence != SEEK_SET) ||
630 * (Note: SEEK_CUR is already adjusted for at this point)
635 case SEEK_CUR:
638 * to fl->l_start when SEEK_CUR is used.
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_descrip.c741 if ((fl.l_whence == SEEK_CUR) && (fl.l_start + offset < fl.l_start)) {
749 if (fl.l_whence == SEEK_CUR)
813 /* Check starting byte and ending byte for EOVERFLOW in SEEK_CUR */
815 if (((fl.l_whence == SEEK_CUR) &&
841 case SEEK_CUR:
851 if (fl.l_whence == SEEK_CUR)
H A Dkern_lockf.c200 case SEEK_CUR:
203 * when SEEK_CUR is used.

Completed in 79 milliseconds