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

Michael Kerrisk (man-pages)
2019-05-05T10:29:57Z

Hello again Slavomir,

On 4/12/19 9:02 AM, Slavomir Kaslev wrote:
> Signed-off-by: Slavomir Kaslev <kaslevs@vmware.com>

Thanks! Applied.

Cheers,

Michael

> ---
> man2/tee.2 | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/man2/tee.2 b/man2/tee.2
> index 7bb0d3a31..03d043b46 100644
> --- a/man2/tee.2
> +++ b/man2/tee.2
> @@ -100,7 +100,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 EINVAL
>