mirror of https://github.com/mkerrisk/man-pages
pidfd_open.2: wfix
Reported-by: Christian Brauner <christian.brauner@ubuntu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
1523b08d3b
commit
9e9bf5383a
|
@ -34,7 +34,7 @@ pidfd_open \- obtain a file descriptor that refers to a process
|
|||
.SH DESCRIPTION
|
||||
The
|
||||
.BR pidfd_open ()
|
||||
system creates a file descriptor that refers to
|
||||
system call creates a file descriptor that refers to
|
||||
the process whose PID is specified in
|
||||
.IR pid .
|
||||
The file descriptor is returned as the function result;
|
||||
|
@ -48,7 +48,7 @@ currently, this argument must be specified as 0.
|
|||
On success,
|
||||
.BR pidfd_open ()
|
||||
returns a nonnegative file descriptor.
|
||||
On success, \-1 is returned and
|
||||
On error, \-1 is returned and
|
||||
.I errno
|
||||
is set to indicate the cause of the error.
|
||||
.SH ERRORS
|
||||
|
|
Loading…
Reference in New Issue