2019-04-12 14:04:51

by Slavomir Kaslev

[permalink] [raw]
Subject: [PATCH 1/2] splice.2: Note EAGAIN can occur when called on nonblocking file descriptors

Signed-off-by: Slavomir Kaslev <[email protected]>
---
man2/splice.2 | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/man2/splice.2 b/man2/splice.2
index 57988d9d6..af3fa4e74 100644
--- a/man2/splice.2
+++ b/man2/splice.2
@@ -155,7 +155,9 @@ is set to indicate the error.
.B EAGAIN
.B SPLICE_F_NONBLOCK
was specified in
-.IR flags ,
+.IR flags
+or one of the file descriptors had been marked as nonblocking
+.RB ( O_NONBLOCK ) ,
and the operation would block.
.TP
.B EBADF
--
2.19.1


Subject: Re: [PATCH 1/2] splice.2: Note EAGAIN can occur when called on nonblocking file descriptors

Hello Slavomir,

On 4/12/19 9:02 AM, Slavomir Kaslev wrote:
> Signed-off-by: Slavomir Kaslev <[email protected]>

Thanks! Applied.

Cheers,

Michael


> ---
> man2/splice.2 | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/man2/splice.2 b/man2/splice.2
> index 57988d9d6..af3fa4e74 100644
> --- a/man2/splice.2
> +++ b/man2/splice.2
> @@ -155,7 +155,9 @@ is set to indicate the error.
> .B EAGAIN
> .B SPLICE_F_NONBLOCK
> was specified in
> -.IR flags ,
> +.IR flags
> +or one of the file descriptors had been marked as nonblocking
> +.RB ( O_NONBLOCK ) ,
> and the operation would block.
> .TP
> .B EBADF
>