AUPARSE\_GET\_NUM\_RECORDS(3) Linux Audit API AUPARSE\_GET\_NUM\_RECORDS(3)

# [NAME](#NAME)

auparse\_get\_num\_records - get the number of records

# [SYNOPSIS](#SYNOPSIS)

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

**unsigned int auparse\_get\_num\_records(const auparse\_state\_t \*au);"**

# [DESCRIPTION](#DESCRIPTION)

auparse\_get\_num\_records gets the number of records in the current event.

# [RETURN VALUE](#RETURN_VALUE)

Returns 0 if an error occurs; otherwise, the number of records.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_next\_record**(3)](/man/os/audit/auparse_next_record.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Feb 2007 Red Hat

---

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