Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (f - i) geteuid(2)
NAME
geteuid - Gets the effective user ID of the current process
LIBRARY
G-series native OSS processes: /G/system/sysnn/zsecsrl
32-bit H-series and J-series OSS processes: /G/system/zdllnnn/zsecdll
64-bit H-series and J-series OSS processes: /G/system/zdllnnn/ysecdll
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).
527186-023 Hewlett-Packard Company 371