Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ getevent(2) — HP-UX 7.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

setevent(2)

audevent(1M)

GETEVENT(2)

NAME

getevent − get events and system calls that are currently being audited

SYNOPSIS

#include <sys/audit.h>

int getevent (a_syscall, a_event)
struct aud_type *a_syscall;
struct aud_event_tbl *a_event;

DESCRIPTION

Getevent gets the events and system calls being audited.  The events are returned in a table pointed to by a_event.  The system calls are returned in a table pointed to by a_syscall.  This call is restricted to the superuser. 

RETURN VALUE

Upon successful completion, a value of 0 is returned; otherwise, a −1 is returned. 

ERRORS

Getevent fails if the following is true:

[EPERM] The caller is not a superuser. 

AUTHOR

Getevent was developed by HP. 

SEE ALSO

setevent(2), audevent(1M). 

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

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