Lines Matching refs:lseek
177 * Test fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev system calls.
282 lseek( my_fd, 0, SEEK_SET );
321 lseek( my_fd, 0, SEEK_SET );
338 lseek( my_fd, 0, SEEK_SET );
360 my_current_offset = lseek( my_fd, 0, SEEK_CUR );
362 printf( "lseek call failed with error %d - \"%s\" \n", errno, strerror( errno) );
377 if ( my_current_offset != lseek( my_fd, 0, SEEK_CUR ) ) {
394 if ( my_current_offset != lseek( my_fd, 0, SEEK_CUR ) ) {
561 lseek( my_fd, 0, SEEK_SET );
576 lseek( my_fd, 0, SEEK_SET );
1425 my_current_offset = lseek( my_fildes[0], 0, SEEK_CUR );
1427 printf( "lseek on pipe should fail but did not \n" );
2334 lseek( my_fd, 0, SEEK_SET );
2348 lseek( my_fd, 0, SEEK_SET );
2360 lseek( my_newfd, 0, SEEK_SET );
2923 lseek( my_fd, 0, SEEK_SET );
3873 my_current_offset = lseek( my_fd, 0, SEEK_CUR );
3875 printf( "lseek on fifo should fail but did not \n" );
4770 lseek( my_fd_list[ 0 ], 0, SEEK_SET );