hpux man page for getuid

Query: getuid

OS: hpux

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

getuid(2)							System Calls Manual							 getuid(2)

NAME
getuid, geteuid, getgid, getegid - get real user, effective user, real group, and effective group IDs
SYNOPSIS
DESCRIPTION
The following functions return the information indicated: Real-user- ID of the calling process. Effective-user- ID of the calling process. Real-group- ID of the calling process. Effective-group- ID of the calling process. No means is available for ascertaining the saved-user-ID or saved-group-ID of a process.
SEE ALSO
setuid(2).
STANDARDS CONFORMANCE
getuid(2)
Related Man Pages
getuid(2) - freebsd
getgid(2) - netbsd
setegid(2) - hpux
getegid(2) - netbsd
getegid(2) - sunos
Similar Topics in the Unix Linux Community
how to write a wrapper c code to return uid using getuid() function
Help with getuid