about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2023-08-24 21:36:34 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2023-09-15 23:57:43 +0200
commit0e1ef6779a90bc0f8a05bc367796df2793deecaa (patch)
treef125054be976b69489db11c96c0a0af499c04527
parentd94461bb86ba176b9390c0015bb612a528e22d95 (diff)
downloadglibc-0e1ef6779a90bc0f8a05bc367796df2793deecaa.tar.gz
glibc-0e1ef6779a90bc0f8a05bc367796df2793deecaa.tar.xz
glibc-0e1ef6779a90bc0f8a05bc367796df2793deecaa.zip
manual/jobs.texi: Add missing @item EPERM for getpgid
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.

(cherry picked from commit 5a21cefd5abab1b99eda1fbf84204a9bf41662ab)
-rw-r--r--manual/job.texi1
1 files changed, 1 insertions, 0 deletions
diff --git a/manual/job.texi b/manual/job.texi
index 42cb9fb26d..8157f13a1c 100644
--- a/manual/job.texi
+++ b/manual/job.texi
@@ -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