GETUIDSection: Linux Programmer's Manual (2)Updated: 1993-07-23 |
GETUIDSection: Linux Programmer's Manual (2)Updated: 1993-07-23 |
uid_t getuid(void);
uid_t geteuid(void);
geteuid returns the effective user ID of the current process.
The real ID corresponds to the ID of the calling process. The effective ID corresponds to the set ID bit on the file being executed.