AUPARSE\_GOTO\_FIELD\_NUM(3) Linux Audit API AUPARSE\_GOTO\_FIELD\_NUM(3)

# [NAME](#NAME)

auparse\_goto\_field\_num - move field cursor to specific field

# [SYNOPSIS](#SYNOPSIS)

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

**int auparse\_goto\_field\_num(const auparse\_state\_t \*au,unsignedint"num);"**

# [DESCRIPTION](#DESCRIPTION)

auparse\_goto\_field\_num will move the internal library cursors to point to a specific field number in the current record. Fields within the same record are numbered starting from 0. This is generally not needed but there are some cases where one may want precise control over the exact field being looked at.

# [RETURN VALUE](#RETURN_VALUE)

Returns 0 on error or 1 for success.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_get\_field\_num**(3)](/man/os/audit/auparse_get_field_num.3),[**auparse\_goto\_record\_num**(3)](/man/os/audit/auparse_goto_record_num.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Dec 2016 Red Hat

---

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