X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/9bccf70c0258c7cac2dcb80011b2a964d884c552..6d2010ae8f7a6078e10b361c6962983bab233e0f:/bsd/man/man2/getuid.2?ds=sidebyside diff --git a/bsd/man/man2/getuid.2 b/bsd/man/man2/getuid.2 index 271a48dab..e8be23ce2 100644 --- a/bsd/man/man2/getuid.2 +++ b/bsd/man/man2/getuid.2 @@ -37,16 +37,19 @@ .Dt GETUID 2 .Os BSD 4 .Sh NAME -.Nm getuid , -.Nm geteuid +.Nm geteuid , +.Nm getuid .Nd get user identification .Sh SYNOPSIS -.Fd #include .Fd #include .Ft uid_t -.Fn getuid void +.Fo geteuid +.Fa void +.Fc .Ft uid_t -.Fn geteuid void +.Fo getuid +.Fa void +.Fc .Sh DESCRIPTION The .Fn getuid @@ -71,9 +74,17 @@ and .Fn geteuid functions are always successful, and 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 for both functions. .Sh SEE ALSO .Xr getgid 2 , -.Xr setreuid 2 +.Xr setreuid 2 , +.Xr compat 5 .Sh STANDARDS .Fn Geteuid and