1 .\" Copyright (c) 1980 Regents of the University of California.
2 .\" All rights reserved. The Berkeley software License Agreement
3 .\" specifies the terms and conditions for redistribution.
5 .\" @(#)getuid.2 6.3 (Berkeley) 1/7/86
7 .TH GETUID 2 "January 7, 1986"
10 getuid, geteuid \- get user identity
14 #include <sys/types.h>
22 returns the real user ID of the current process,
24 the effective user ID.
26 The real user ID identifies the person who is logged in.
28 gives the process additional permissions during
29 execution of \*(lqset-user-ID\*(rq mode processes, which use
30 \fBgetuid\fP to determine the real-user-id of the process that