aboutsummaryrefslogtreecommitdiffstats
path: root/man2/pidfd_open.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/pidfd_open.2')
-rw-r--r--man2/pidfd_open.216
1 files changed, 16 insertions, 0 deletions
diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2
index 887aa769d0..9443f3baf0 100644
--- a/man2/pidfd_open.2
+++ b/man2/pidfd_open.2
@@ -61,6 +61,22 @@ is not 0.
.I pid
is not valid.
.TP
+.B EMFILE
+The per-process limit on the number of open file descriptors has been reached
+(see the description of
+.BR RLIMIT_NOFILE
+in
+.BR getrlimit (2)).
+.TP
+.B ENFILE
+The system-wide limit on the total number of open files has been reached.
+.TP
+.B ENODEV
+The anonymous inode filesystem is not available in this kernel.
+.TP
+.B ENOMEM
+Insufficient kernel memory was available.
+.TP
.B ESRCH
The process specified by
.I pid