SETAUDID(2)
NAME
setaudid − set the audit ID (aid) for the current process
SYNOPSIS
#include <sys/audit.h>
int setaudid (audid)
aid_t audid;
DESCRIPTION
Setaudid sets the audit ID (aid) for the current process. This call is restricted to the superuser.
RETURN VALUE
Upon successful completion, setaudid returns a value of 0; otherwise, a −1 is returned.
ERRORS
Setaudid fails if one of the following is true:
[EPERM] The caller is not a superuser.
[EINVAL] The audit ID (audid) is invalid.
AUTHOR
Setaudid was developed by HP.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989