llseek.2, lseek.2: wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-11-23 21:42:11 +01:00
parent 79c064f2e3
commit 674367694c
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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