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

  man pages->IRIX man pages -> sat_eventtostr (3)              
Title
Content
Arch
Section
 

Contents


SAT_EVENTTOSTR(3L)					    SAT_EVENTTOSTR(3L)


NAME    [Toc]    [Back]

     sat_eventtostr, sat_strtoevent - convert an audit event index to/from an
     audit event string

SYNOPSIS    [Toc]    [Back]

     #include <sys/sat.h>

     char * sat_eventtostr (event)
     int event;

     int sat_strtoevent	(evstr)
     char *evstr;

DESCRIPTION    [Toc]    [Back]

     sat_eventtostr returns a human-readable string which represents the audit
     event passed to it	in event.  The value returned points to	a static
     character array.

     event must	be a positive integer less than	SAT_NTYPES (defined in
     <sys/sat.h>).

     sat_strtoevent returns a machine-readable event index which represents
     the string	passed to it in	evstr.

     The string	returned by sat_eventtostr and passed to sat_strtoevent	is a
     member of the set of known	event names. For a complete list of known
     event names, run the command:

	  sat_select -h

SEE ALSO    [Toc]    [Back]

      
      
     sat_reduce(1m)
     sat_select(1m)
     sat_summarize(1m)

DIAGNOSTICS    [Toc]    [Back]

     sat_eventtostr returns unknown event #%d if event is not a	positive
     integer less than SAT_NTYPES.  sat_strtoevent returns -1 if evstr is NULL
     or	points to an audit event of unrecognized type.

NOTES    [Toc]    [Back]

     If	this function is used in a program, then the library libmls must be
     linked at compile time.  For example the following	command	will perform
     this link:

	  cc  -DTRUSTEDIRIX  -DLABELLEDSOCKETS	programname.c  -lmls


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
aud_sitevent Tru64 audit site event operations
aud_sitevent_num Tru64 audit site event operations
audevent HP-UX change or display event or system call audit status
sat_interpret IRIX convert audit records from binary to English
sat_write_filehdr IRIX write audit file header, write close time to audit file header
alPendingEvents IRIX Get total number of event queued in event queue
alCheckEvent IRIX Looks for an event in the event queue and retrieves it.
satgetid IRIX get or set audit identity
auditd Tru64 Audit daemon
audcntl Tru64 audit control
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service