*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> getevent (2)              
Title
Content
Arch
Section
 

Contents


 getevent(2)                                                     getevent(2)




 NAME    [Toc]    [Back]
      getevent - get events and system calls that are currently being
      audited

 SYNOPSIS    [Toc]    [Back]
      #include <sys/audit.h>

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

 DESCRIPTION    [Toc]    [Back]
      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 super-user.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, a value of 0 is returned; otherwise, a -1
      is returned and errno is set to indicate the error.

 ERRORS    [Toc]    [Back]
      getevent() fails if the following is true:

      [EPERM]        The caller is not super-user.

 AUTHOR    [Toc]    [Back]
      getevent() was developed by HP.

 SEE ALSO    [Toc]    [Back]
      setevent(2), audevent(1M).


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
setevent HP-UX set current events and system calls which are to be audited
audeventsta HP-UX define and describe audit system events
satconfig IRIX configure the system audit trail to collect particular events
sat_select IRIX preselect events for the system audit trail to gather
intro HP-UX introduction to system calls
intro Linux Introduction to system calls
obsolete Linux obsolete system calls
syscalls Linux list of all system calls
syscall OpenBSD system calls overview
socketcall Linux socket system calls
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service