GETUID(2-SVR3) RISC/os Reference Manual GETUID(2-SVR3)
NAME
getuid, geteuid, getgid, getegid - get real user, effective
user, real group, and effective group IDs
SYNOPSIS
#include <bsd/sys/types.h>
unsigned short getuid ()
unsigned short geteuid ()
unsigned short getgid ()
unsigned short getegid ()
DESCRIPTION
getuid returns the real user ID of the calling process.
geteuid returns the effective user ID of the calling pro-
cess.
getgid returns the real group ID of the calling process.
getegid returns the effective group ID of the calling pro-
cess.
SEE ALSO
intro(2), setuid(2).
Printed 11/19/92 Page 1