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

# [NAME](#NAME)

auparse\_goto\_record\_num - move record cursor to specific record

# [SYNOPSIS](#SYNOPSIS)

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

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

# [DESCRIPTION](#DESCRIPTION)

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

# [RETURN VALUE](#RETURN_VALUE)

Returns 0 on error or 1 for success.

# [SEE ALSO](#SEE_ALSO)

[**auparse\_get\_num\_records**(3)](/man/os/audit/auparse_get_num_records.3),[**auparse\_next\_record**(3)](/man/os/audit/auparse_next_record.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

May 2008 Red Hat

---

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