AUPARSE\_GET\_SERIAL(3) Linux Audit API AUPARSE\_GET\_SERIAL(3)

# [NAME](#NAME)

auparse\_get\_serial - get the event's serial number

# [SYNOPSIS](#SYNOPSIS)

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

**unsigned long auparse\_get\_serial(const auparse\_state\_t \*au);"**

# [DESCRIPTION](#DESCRIPTION)

auparse\_get\_serial gets the serial number value from the current event's timestamp data structure.

# [RETURN VALUE](#RETURN_VALUE)

Returns 0 if an error occurs; otherwise, the serial number for the event.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_get\_timestamp**(3)](/man/os/audit/auparse_get_timestamp.3), [**auparse\_get\_time**(3)](/man/os/audit/auparse_get_time.3), [**auparse\_get\_milli**(3)](/man/os/audit/auparse_get_milli.3). [**auparse\_get\_node**(3)](/man/os/audit/auparse_get_node.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Sept 2007 Red Hat

---

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