.\" Copyright (c) 1980, 1991 Regents of the University of California.
.\" %sccs.include.redist.man%
.\" @(#)getuid.2 6.4 (Berkeley) %G%
.Nd get user identification
.Fd #include <sys/types.h>
function returns the real user ID of the calling process.
returns the effective user ID of the calling process.
The real user ID is that of the user who has invoked the program.
gives the process additional permissions during
is used to determine the real-user-id of the calling process.
functions are always successful, and no return value is reserved to
conform to IEEE Std 1003.1-1988