AUPARSE\_FIND\_FIELD\_NEXT(3) Linux Audit API AUPARSE\_FIND\_FIELD\_NEXT(3)

# [NAME](#NAME)

auparse\_find\_field\_next - find next occurrence of field name

# [SYNOPSIS](#SYNOPSIS)

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

**const char * auparse\_find\_field\_next(const auparse\_state\_t \*au);"**

# [DESCRIPTION](#DESCRIPTION)

auparse\_find\_field\_next finds the next occurrence of the previously stored field name. It will scan until it reaches the last record of the current event.

# [RETURN VALUE](#RETURN_VALUE)

Returns NULL field not found. If an error occurs errno will be set. Otherwise, it returns a pointer to the text value associated with the field.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_first\_record**(3)](/man/os/audit/auparse_first_record.3), [**auparse\_next\_event**(3)](/man/os/audit/auparse_next_event.3), [**auparse\_find\_field**(3)](/man/os/audit/auparse_find_field.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Feb 2007 Red Hat

---

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