mirror of https://github.com/mkerrisk/man-pages
read.2: Clarify details for seekable files
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
45e97e2ac5
commit
dc0e450b3e
10
man2/read.2
10
man2/read.2
|
@ -49,7 +49,15 @@ bytes from file descriptor
|
|||
.I fd
|
||||
into the buffer starting at
|
||||
.IR buf .
|
||||
.PP
|
||||
|
||||
On files that support seeking,
|
||||
the read operation commences at the current file offset,
|
||||
and the file offset is incremented by the number of bytes read.
|
||||
If the current file offset is at or past the end of file,
|
||||
no bytes are read, and
|
||||
.BR read ()
|
||||
returns zero.
|
||||
|
||||
If
|
||||
.I count
|
||||
is zero,
|
||||
|
|
Loading…
Reference in New Issue