geteuid - get the effective user ID
#include <sys/types.h> #include <unistd.h> uid_t geteuid(void);
The geteuid() function returns the effective user ID of the calling process.
The geteuid() function is always successful and no return value is reserved to indicate an error.
No errors are defined.
None.
None.
None.
getuid(), setuid(), <sys/types.h>, <unistd.h>.
Derived from Issue 1 of the SVID.