mirror of https://github.com/mkerrisk/man-pages
splice.2: Reformat description of 'fd_in' and 'off_in' to improve readability
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9c11e37c8f
commit
2377c64851
|
@ -48,11 +48,17 @@ to the file descriptor
|
|||
.IR fd_out ,
|
||||
where one of the descriptors must refer to a pipe.
|
||||
|
||||
The following semantics apply for
|
||||
.I fd_in
|
||||
and
|
||||
.IR off_in :
|
||||
.IP * 3
|
||||
If
|
||||
.I fd_in
|
||||
refers to a pipe, then
|
||||
.I off_in
|
||||
must be NULL.
|
||||
.IP *
|
||||
If
|
||||
.I fd_in
|
||||
does not refer to a pipe and
|
||||
|
@ -61,6 +67,7 @@ is NULL, then bytes are read from
|
|||
.I fd_in
|
||||
starting from the current file offset,
|
||||
and the current file offset is adjusted appropriately.
|
||||
.IP *
|
||||
If
|
||||
.I fd_in
|
||||
does not refer to a pipe and
|
||||
|
@ -73,6 +80,7 @@ offset from which bytes will be read from
|
|||
in this case, the current file offset of
|
||||
.I fd_in
|
||||
is not changed.
|
||||
.PP
|
||||
Analogous statements apply for
|
||||
.I fd_out
|
||||
and
|
||||
|
|
Loading…
Reference in New Issue