X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..935ed37a5c468c8a1c07408573c08b8b7ef80e8b:/bsd/man/man2/getgid.2 diff --git a/bsd/man/man2/getgid.2 b/bsd/man/man2/getgid.2 index ee395cd65..9b8a31834 100644 --- a/bsd/man/man2/getgid.2 +++ b/bsd/man/man2/getgid.2 @@ -37,16 +37,19 @@ .Dt GETGID 2 .Os BSD 4.2 .Sh NAME -.Nm getgid , -.Nm getegid +.Nm getegid , +.Nm getgid .Nd get group process identification .Sh SYNOPSIS -.Fd #include .Fd #include .Ft gid_t -.Fn getgid void +.Fo getegid +.Fa void +.Fc .Ft gid_t -.Fn getegid void +.Fo getgid +.Fa void +.Fc .Sh DESCRIPTION The .Fn getgid @@ -68,8 +71,15 @@ The .Fn getgid and .Fn getegid -functions are always successful, and no return value is reserved to -indicate an error. +functions are always successful; +no return value is reserved to indicate an error. +.Sh LEGACY SYNOPSIS +.Fd #include +.Fd #include +.Pp +The include file +.In sys/types.h +is necessary. .Sh SEE ALSO .Xr getuid 2 , .Xr setregid 2 ,