AUPARSE\_TIMESTAMP\_COMPARE(3) Linux Audit API AUPARSE\_TIMESTAMP\_COMPARE(3)

# [NAME](#NAME)

auparse\_timestamp\_compare - compares timestamp values

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;auparse.h&gt;**

**int auparse\_timestamp\_compare(const au\_event\_t \*e1,constau\_event\_t\*"e2);"**

# [DESCRIPTION](#DESCRIPTION)

auparse\_timestamp\_compare compares the values of 2 timestamps.

# [RETURN VALUE](#RETURN_VALUE)

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

# [SEE ALSO](#SEE_ALSO)

[**auparse\_get\_timestamp**(3)](/man/os/audit/auparse_get_timestamp.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Feb 2007 Red Hat

---

Document: auparse_timestamp_compare(3) from audit 4.2.1-r1 (Chainguard OS)
Source: https://github.com/linux-audit/audit-userspace
