From be050b69a0ecf75cacbab0f05f5a393eb4de141a Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 14 Jun 2017 12:56:30 +0200 Subject: [PATCH] splice.2: ERRORS: split EINVAL error cases Signed-off-by: Michael Kerrisk --- man2/splice.2 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/man2/splice.2 b/man2/splice.2 index 965ba8c39..292706678 100644 --- a/man2/splice.2 +++ b/man2/splice.2 @@ -163,12 +163,18 @@ One or both file descriptors are not valid, or do not have proper read-write mode. .TP .B EINVAL -Target filesystem doesn't support splicing; -target file is opened in append mode; +The target filesystem doesn't support splicing. +.TP +.B EINVAL +The target file is opened in append mode. .\" The append-mode error is given since 2.6.27; in earlier kernels, .\" splice() in append mode was broken -neither of the file descriptors refers to a pipe; or -offset given for nonseekable device. +.TP +.B EINVAL +Neither of the file descriptors refers to a pipe. +.TP +.B EINVAL +An offset was given for nonseekable device (e.g., a pipe). .TP .B ENOMEM Out of memory.