X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..4bd07ac2140668789aa3ee8ec4dde4a3e0a3bba5:/bsd/man/man2/getsid.2?ds=inline diff --git a/bsd/man/man2/getsid.2 b/bsd/man/man2/getsid.2 index 2bd3c272e..811c2fcd5 100644 --- a/bsd/man/man2/getsid.2 +++ b/bsd/man/man2/getsid.2 @@ -34,7 +34,9 @@ .Sh SYNOPSIS .In unistd.h .Ft pid_t -.Fn getsid "pid_t pid" +.Fo getsid +.Fa "pid_t pid" +.Fc .Sh DESCRIPTION The session ID of the process identified by .Fa pid @@ -52,11 +54,13 @@ returns the session ID of the specified process; otherwise, it returns a value of -1 and sets errno to indicate an error. .Sh ERRORS +The .Fn getsid -will succeed unless: +system call will fail if: .Bl -tag -width Er +.\" ========== .It Bq Er ESRCH -if there is no process with a process ID equal to +There is no process with a process ID equal to .Fa pid . .El .Pp