AUPARSE_TIMESTAMP_COMPARE(3) Linux Audit API AUPARSE_TIMESTAMP_COMPARE(3)

auparse_timestamp_compare - compares timestamp values

#include <auparse.h>

int auparse_timestamp_compare(au_event_t *e1, au_event_t *e2);

auparse_timestamp_compare compares the values of 2 timestamps.

Returns -1, 0, or 1 respectively depending on whether e2 is less than, equal to, or greater than e1.

auparse_get_timestamp(3).

Steve Grubb

Feb 2007 Red Hat