]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual/jobs.texi: Add missing @item EPERM for getpgid
authorMark Wielaard <mark@klomp.org>
Thu, 24 Aug 2023 19:36:34 +0000 (21:36 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 25 Aug 2023 09:43:30 +0000 (11:43 +0200)
The missing @item makes it look like errno will be set to ESRCH
if a cross-session getpgid is not permitted.

Found by ulfvonbelow on irc.

manual/job.texi

index 42cb9fb26dda80ebde58ef4aaeff66e2741b26da..8157f13a1c1e20a715932b6c1e9f6a1adbd11f42 100644 (file)
@@ -1133,6 +1133,7 @@ following @code{errno} error conditions are defined for this function:
 @table @code
 @item ESRCH
 There is no process with the given process ID @var{pid}.
+@item EPERM
 The calling process and the process specified by @var{pid} are in
 different sessions, and the implementation doesn't allow to access the
 process group ID of the process with ID @var{pid} from the calling