getaudid(2) getaudid(2)
NAME [Toc] [Back]
getaudid - get the audit ID (aid) for the current process
SYNOPSIS [Toc] [Back]
#include <sys/audit.h>
int getaudid(void);
DESCRIPTION [Toc] [Back]
getaudid() returns the audit ID (aid) for the current process. This
call is restricted to the super-user.
RETURN VALUE [Toc] [Back]
Upon successful completion, the audit ID is returned; otherwise, a -1
is returned.
ERRORS [Toc] [Back]
getaudid() fails if the following is true:
[EPERM] The caller is not super-user.
AUTHOR [Toc] [Back]
getaudid() was developed by HP.
SEE ALSO [Toc] [Back]
setaudid(2).
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ] |