Lines Matching refs:lseek
181 * Test fsync, ftruncate, lseek, pread, pwrite, read, readv, truncate, write, writev system calls.
287 lseek( my_fd, 0, SEEK_SET );
326 lseek( my_fd, 0, SEEK_SET );
343 lseek( my_fd, 0, SEEK_SET );
365 my_current_offset = lseek( my_fd, 0, SEEK_CUR );
367 printf( "lseek call failed with error %d - \"%s\" \n", errno, strerror( errno) );
382 if ( my_current_offset != lseek( my_fd, 0, SEEK_CUR ) ) {
399 if ( my_current_offset != lseek( my_fd, 0, SEEK_CUR ) ) {
567 lseek( my_fd, 0, SEEK_SET );
582 lseek( my_fd, 0, SEEK_SET );
1550 my_current_offset = lseek( my_fildes[0], 0, SEEK_CUR );
1552 printf( "lseek on pipe should fail but did not \n" );
2359 lseek( my_fd, 0, SEEK_SET );
2373 lseek( my_fd, 0, SEEK_SET );
2385 lseek( my_newfd, 0, SEEK_SET );
2950 lseek( my_fd, 0, SEEK_SET );
4000 my_current_offset = lseek( my_fd, 0, SEEK_CUR );
4002 printf( "lseek on fifo should fail but did not \n" );
4915 lseek( my_fd_list[ 0 ], 0, SEEK_SET );