X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..935ed37a5c468c8a1c07408573c08b8b7ef80e8b:/bsd/man/man2/setsid.2 diff --git a/bsd/man/man2/setsid.2 b/bsd/man/man2/setsid.2 index 8f9018b57..a7fc304b8 100644 --- a/bsd/man/man2/setsid.2 +++ b/bsd/man/man2/setsid.2 @@ -40,10 +40,11 @@ .Nm setsid .Nd create session and set process group ID .Sh SYNOPSIS -.Fd #include .Fd #include .Ft pid_t -.Fn setsid "void" +.Fo setsid +.Fa void +.Fc .Sh DESCRIPTION The .Nm setsid @@ -70,10 +71,18 @@ The calling process is already a process group leader, or the process group ID of a process other than the calling process matches the process ID of the calling process. .El +.Sh LEGACY SYNOPSIS +.Fd #include +.Fd #include +.Pp +The include file +.In sys/types.h +is necessary. .Sh SEE ALSO .Xr setpgid 3 , .Xr tcgetpgrp 3 , -.Xr tcsetpgrp 3 +.Xr tcsetpgrp 3 , +.Xr compat 5 .Sh STANDARDS The .Nm setsid