Open System Services System Calls Reference Manual (G06.25+, H06.03+)
geteuid(2) OSS System Calls Reference Manual
NAME
geteuid - Gets the effective user ID of the current process
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsecsrl
H-series OSS processes: /G/system/zdllnnn/zsecdll
SYNOPSIS
#include <sys/types.h> /* optional except for POSIX.1 */
#include <unistd.h>
uid_t geteuid(void);
DESCRIPTION
The geteuid() function returns the effective user ID of the current process.
RETURN VALUES
The geteuid() function returns the requested user ID. It is always successful.
When the authentication information for a process is uninitialized, the "uninitialized" user ID
(hexadecimal 80000000) is returned.
RELATED INFORMATION
Functions: getuid(2), setuid(2).
3−36 Hewlett-Packard Company 527186-003