osf1 man page for setluid

Query: setluid

OS: osf1

Section: 3

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

getluid(3)						     Library Functions Manual							getluid(3)

NAME
getluid, setluid - Get or set the login UID (Enhanced Security)
LIBRARY
Security Library - libsecurity.so
SYNOPSIS
#include <prot.h> uid_t getluid(); #include <prot.h> int setluid(uid);
PARAMETERS
uid An integer representing the user ID being requested.
DESCRIPTION
The function gets the login UID associated with the process. The login UID is recorded with most audit events generated by the process, and is sometimes referred to as the audit UID (AUID). If the login UID has not been set yet, getluid() returns an error. The function sets the login UID for a process and all its descendants.
RETURN VALUES
The function returns the actual UID on success and a -1 for failure. The function returns 0 for success and -1 for failure.
RELATED INFORMATION
Security delim off getluid(3)
Related Man Pages
identity(3) - osf1
is_starting_egid(3) - osf1
is_starting_ruid(3) - osf1
starting_luid(3) - osf1
starting_ruid(3) - osf1
Similar Topics in the Unix Linux Community
PHP Write Man Pages to MySQL DB
Denial Of Service Attack Update