getaudid - get the audit ID (aid) for the current process
getaudid() returns the audit ID (aid) for the current process. This
call is restricted to the super-user.
Upon successful completion, the audit ID is returned; otherwise, a -1
getaudid() fails if the following is true:
[EPERM] The caller is not super-user.
getaudid() was developed by HP.
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000