hpux man page for getevent

Query: getevent

OS: hpux

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

getevent(2)							System Calls Manual						       getevent(2)

NAME
getevent() - get events and system calls that are currently being audited
SYNOPSIS
Remarks This function is provided purely for backward compatibility. HP recommends that new applications use the command to get events and system calls that are currently being audited. See audevent(1M).
DESCRIPTION
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 users with the privilege. Security Restrictions Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access on systems that support fine-grained privileges.
RETURN VALUE
Upon successful completion, a value of 0 is returned; otherwise, a -1 is returned and is set to indicate the error.
ERRORS
fails if the following is true: The caller does not have the privilege.
AUTHOR
was developed by HP.
SEE ALSO
audevent(1M), setevent(2), privileges(5). TO BE OBSOLETED getevent(2)
Related Man Pages
getevent(2) - hpux
nice(2) - hpux
setaudproc(2) - hpux
setgroups(2) - hpux
ulimit(2) - hpux
Similar Topics in the Unix Linux Community
Hpux C2 Auditing
System calls for cp and mv
c system call
Monitor file changed / created events on big FS
Privilege ids list