setaudid - set the audit ID (aid) for the current process
int setaudid(aid_t audid);
setaudid() sets the audit ID (aid) for the current process. This call
is restricted to the super-user.
Upon successful completion, setaudid() returns a value of 0;
otherwise, it returns -1 and sets errno to indicate the error.
setaudid() fails if any of the following conditions are encountered:
[EPERM] The caller is not a superuser.
[EINVAL] The audit ID (audid) is invalid.
setaudid() was developed by HP.
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000