getuid322
Get user identity
Part of getuid(2).
Usage
#include <unistd.h>
uid_t getuid(void); uid_t geteuid(void);
Library
Standard C library (libc, -lc)
Overview
getuid() returns the real user ID of the calling process.
geteuid() returns the effective user ID of the calling process.
Errors
These functions are always successful and never modify errno.
Releases
10 releases since Debian 5.0 (Lenny); the text changed 9 times.