From ad0434de580006c2d3c5c4cad0ddb3a58de4f182 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 23 Sep 2019 21:41:50 +0200 Subject: [PATCH] pidfd_open.2: read(2) of a PID file descriptor fails with EINVAL Signed-off-by: Michael Kerrisk --- man2/pidfd_open.2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2 index 9a5aa7e36..3fd813845 100644 --- a/man2/pidfd_open.2 +++ b/man2/pidfd_open.2 @@ -88,7 +88,10 @@ and When the process that it refers to terminates, these interfaces indicate the file descriptor as readable. Note, however, that in the current implementation, -nothing can be read from the file descriptor. +nothing can be read from the file descriptor +.RB ( read (2) +on the file descriptor fails with the error +.BR EINVAL ). .PP The .BR pidfd_open ()