mirror of https://github.com/mkerrisk/man-pages
llseek.2, lseek.2: wfix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
79c064f2e3
commit
674367694c
|
@ -43,7 +43,7 @@ There is no glibc wrapper for this system call; see NOTES.
|
|||
.SH DESCRIPTION
|
||||
The
|
||||
.BR _llseek ()
|
||||
function repositions the offset of the open file description associated
|
||||
system call repositions the offset of the open file description associated
|
||||
with the file descriptor
|
||||
.I fd
|
||||
to
|
||||
|
|
|
@ -54,9 +54,8 @@ lseek \- reposition read/write file offset
|
|||
.PP
|
||||
.BI "off_t lseek(int " fd ", off_t " offset ", int " whence );
|
||||
.SH DESCRIPTION
|
||||
The
|
||||
.BR lseek ()
|
||||
function repositions the file offset of the open file description
|
||||
repositions the file offset of the open file description
|
||||
associated with the file descriptor
|
||||
.I fd
|
||||
to the argument
|
||||
|
@ -80,9 +79,8 @@ The file offset is set to the size of the file plus
|
|||
.I offset
|
||||
bytes.
|
||||
.PP
|
||||
The
|
||||
.BR lseek ()
|
||||
function allows the file offset to be set beyond the end
|
||||
allows the file offset to be set beyond the end
|
||||
of the file (but this does not change the size of the file).
|
||||
If data is later written at this point, subsequent reads of the data
|
||||
in the gap (a "hole") return null bytes (\(aq\\0\(aq) until
|
||||
|
|
Loading…
Reference in New Issue