geteuid(3)
DESCRIPTION
Returns the calling process's effective user ID.
SYNOPSIS
#include <unistd.h> uid_t geteuid(void);
RETURN VALUE
- Returns the effective UID. A syscall failure is reported as the unsigned conversion of the negative result by this wrapper.
ERRORS
No userspace argument is invalid.
NOTES
The effective UID selects owner permission bits.