pidfd_open.2: read(2) of a PID file descriptor fails with EINVAL

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2019-09-23 21:41:50 +02:00
parent 9e9bf5383a
commit ad0434de58
1 changed files with 4 additions and 1 deletions

View File

@ -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 ()