Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > s

setaudid(2)

HP-UX 11i Version 2: August 2003
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

setaudid — set the audit ID (aid) for the current process

SYNOPSIS

#include <sys/audit.h>

int setaudid(aid_t audid);

DESCRIPTION

setaudid() sets the audit ID (aid) for the current process. This call is restricted to the super-user.

RETURN VALUE

Upon successful completion, setaudid() returns a value of 0; otherwise, it returns -1 and sets errno to indicate the error.

ERRORS

setaudid() fails if any of the following conditions are encountered:

[EPERM]

The caller is not a superuser.

[EINVAL]

The audit ID (audid) is invalid.

AUTHOR

setaudid() was developed by HP.

SEE ALSO

getaudid(2).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2003 Hewlett-Packard Development Company, L.P.