diff --git a/man2/pidfd_open.2 b/man2/pidfd_open.2 index 887aa769d..9443f3baf 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