X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..c18c124eaa464aaaa5549e99e5a70fc9cbb50944:/bsd/man/man2/getpgrp.2 diff --git a/bsd/man/man2/getpgrp.2 b/bsd/man/man2/getpgrp.2 index 7b5a0f51d..7a27f1552 100644 --- a/bsd/man/man2/getpgrp.2 +++ b/bsd/man/man2/getpgrp.2 @@ -36,6 +36,7 @@ .Dt GETPGRP 2 .Os .Sh NAME +.Nm getpgid , .Nm getpgrp .Nd get process group .Sh LIBRARY @@ -43,9 +44,13 @@ .Sh SYNOPSIS .In unistd.h .Ft pid_t -.Fn getpgrp void +.Fo getpgid +.Fa "pid_t pid" +.Fc .Ft pid_t -.Fn getpgid "pid_t pid" +.Fo getpgrp +.Fa void +.Fc .Sh DESCRIPTION The process group of the current process is returned by .Fn getpgrp . @@ -90,9 +95,10 @@ to indicate the error. .Fn getpgid will succeed unless: .Bl -tag -width Er +.\" ========== .It Bq Er ESRCH -there is no process whose process ID equals -.Fa pid +There is no process whose process ID equals +.Fa pid . .El .Sh SEE ALSO .Xr getsid 2 ,