Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getaudid(2) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setaudid(2)

GETAUDID(2)

NAME

getaudid − get the audit ID (aid) for the current process

SYNOPSIS

#include <sys/audit.h> int getaudid ()

DESCRIPTION

Getaudid returns the audit ID (aid) for the current process.  This call is restricted to the superuser. 

RETURN VALUE

Upon successful completion, the audit ID is returned; otherwise, a −1 is returned. 

ERRORS

Getaudid fails if the following is true:

[EPERM] The caller is not a superuser. 

AUTHOR

Getaudid was developed by HP. 

SEE ALSO

setaudid(2). 

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

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