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 11i Version 1.5 Reference Volume 3, Section 2: System Calls > s

setevent(2)

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

setevent — set current events and system calls which are to be audited

SYNOPSIS

#include <sys/audit.h> int setevent( const struct aud_type a_syscall[], const struct aud_event_tbl a_event[] );

DESCRIPTION

setevent() sets the events and system calls to be audited. The event and system call settings in the tables pointed to by a_syscall and a_event become the current settings. This call is restricted to the super-user.

RETURN VALUE

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

ERRORS

setevent() fails if the following condition is encountered:

[EPERM]

The caller is not super-user.

AUTHOR

setevent() was developed by HP.

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