lseek, tell \- move read/write pointer
.B long lseek(fildes, offset, whence)
descriptor refers to a file open for reading or writing.
The read (resp. write) pointer for the file is set as follows:
is 0, the pointer is set to
is 1, the pointer is set to its current location plus
is 2, the pointer is set to the size of the
The returned value is the resulting pointer location.
.IR lseek ( "fildes, 0L, 1" ).
Seeking far beyond the end of a file, then writing,
creates a gap or `hole', which occupies no
physical space and reads as zeros.
open(2), creat(2), fseek(3)
an undefined file descriptor,
or seek to a position before the beginning of file.
is a no-op on character special files.
.B sys lseek; offset1; offset2; whence
are the high and low words of