public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] manual/jobs.texi: Add missing @item EPERM for getpgid
@ 2023-08-25  9:44 Mark Wielaard
  0 siblings, 0 replies; only message in thread
From: Mark Wielaard @ 2023-08-25  9:44 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5a21cefd5abab1b99eda1fbf84204a9bf41662ab

commit 5a21cefd5abab1b99eda1fbf84204a9bf41662ab
Author: Mark Wielaard <mark@klomp.org>
Date:   Thu Aug 24 21:36:34 2023 +0200

    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.

Diff:
---
 manual/job.texi | 1 +
 1 file changed, 1 insertion(+)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-25  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-25  9:44 [glibc] manual/jobs.texi: Add missing @item EPERM for getpgid Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).