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.
This commit is contained in:
Mark Wielaard 2023-08-24 21:36:34 +02:00
parent ddbb74f5c2
commit 5a21cefd5a

View File

@ -1133,6 +1133,7 @@ following @code{errno} error conditions are defined for this function:
@table @code @table @code
@item ESRCH @item ESRCH
There is no process with the given process ID @var{pid}. 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 The calling process and the process specified by @var{pid} are in
different sessions, and the implementation doesn't allow to access the different sessions, and the implementation doesn't allow to access the
process group ID of the process with ID @var{pid} from the calling process group ID of the process with ID @var{pid} from the calling