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 (Volume 5 of 9): Section 2: System Calls > g

getaudproc(2)

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

getaudproc — get the audit process flag for the calling process

SYNOPSIS

#include <sys/audit.h>

int getaudproc(void);

DESCRIPTION

getaudproc() returns the audit process flag for the calling process. The audit process flag (u_audproc) determines whether the process run by a given user should be audited. The process is audited if the returned flag is 1. If the returned flag is 0, the process is not audited. This call is restricted to the super-user.

RETURN VALUE

Upon successful completion, the audit process flag is returned; otherwise, a -1 is returned and errno is set to indicate the error.

ERRORS

getaudproc() fails if the following is true:

[EPERM]

The caller is not the super-user.

AUTHOR

getaudproc() was developed by HP.

SEE ALSO

setaudproc(2).

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