Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setaudid(2) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getaudid(2)

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

getaudid(2). 

Hewlett-Packard Company  —  HP-UX Release 7.0: Sept 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026