diff --git a/man2/splice.2 b/man2/splice.2 index d3f0f6d02..e2882c8e3 100644 --- a/man2/splice.2 +++ b/man2/splice.2 @@ -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