Unix/Linux Go Back    


CentOS 7.0 - man page for auparse_get_timestamp (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


AUPARSE_GET_TIMESTAMP(3)		 Linux Audit API		 AUPARSE_GET_TIMESTAMP(3)

NAME
       auparse_get_timestamp - access timestamp of the event

SYNOPSIS
       #include <auparse.h>

       const au_event_t *auparse_get_timestamp(auparse_state_t *au);

DESCRIPTION
       auparse_get_timestamp  provides an accessor function for the event's timestamp data struc-
       ture. The data structure is as follows:

       typedef struct
       {
	       time_t sec;	       // Event seconds
	       unsigned int milli;     // millisecond of the timestamp
	       unsigned long serial;   // Serial number of the event
	       const char *host;       // Machine's node name
       } au_event_t;

RETURN VALUE
       Returns NULL if an error occurs; otherwise, a valid pointer to the data.

SEE ALSO
       auparse_get_time(3),  auparse_get_milli(3),  auparse_get_serial(3),   auparse_get_node(3),
       auparse_timestamp_compare(3).

AUTHOR
       Steve Grubb

Red Hat 				    Sept 2007			 AUPARSE_GET_TIMESTAMP(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 11:13 PM.