AUPARSE_GET_TIME(3)            Linux Audit API           AUPARSE_GET_TIME(3)

NAME         top

       auparse_get_time - get event's time

SYNOPSIS         top

       #include <auparse.h>

       time_t auparse_get_time(auparse_state_t *au);

DESCRIPTION         top

       auparse_get_time will access just the time portion of the timestamp
       data structure for the current event.

RETURN VALUE         top

       Returns 0 if an error occurs; otherwise, the valid time value in
       time_t format.

SEE ALSO         top

       time(3), auparse_get_timestamp(3), auparse_get_milli(3).
       auparse_get_serial(3).  auparse_get_node(3).

AUTHOR         top

       Steve Grubb

COLOPHON         top

       This page is part of the audit (Linux Audit) project.  Information
       about the project can be found at 
       ⟨⟩.  If you have a bug report
       for this manual page, send it to  This page
       was obtained from the project's upstream Git repository
       ⟨⟩ on 2020-02-08.
       (At that time, the date of the most recent commit that was found in
       the repository was 2020-02-07.)  If you discover any rendering prob‐
       lems in this HTML version of the page, or you believe there is a bet‐
       ter or more up-to-date source for the page, or you have corrections
       or improvements to the information in this COLOPHON (which is not
       part of the original manual page), send a mail to

Red Hat                           Sept 2007              AUPARSE_GET_TIME(3)

Pages that refer to this page: auparse_get_milli(3)auparse_get_node(3)auparse_get_serial(3)auparse_get_timestamp(3)