hpux man page for getaudid

Query: getaudid

OS: hpux

Section: 2

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

getaudid(2)							System Calls Manual						       getaudid(2)

NAME
getaudid() - get the audit ID (aid) for the current process
SYNOPSIS
Remarks This function is provided purely for backward compatibility. HP recommends that new applications use instead. See getauduser(3).
DESCRIPTION
returns the audit ID (aid) for the current process. This call is restricted to users with the privilege. Security Restrictions Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access on systems that support fine-grained privileges.
RETURN VALUE
Upon successful completion, the audit ID is returned; otherwise, a is returned.
ERRORS
fails if the following is true: The caller does not have the privilege.
AUTHOR
was developed by HP.
SEE ALSO
setaudid(2), getauduser(3), setauduser(3), privileges(5). TO BE OBSOLETED getaudid(2)
Related Man Pages
audswitch(2) - hpux
getaudproc(2) - hpux
getevent(2) - hpux
setevent(2) - hpux
getauduser(3) - hpux
Similar Topics in the Unix Linux Community
List of users on an AIX system
sudo - AIX - User privilege specification
sudo - User privilege specification
Privilege ids list