---
name: "auparse_next_record"
section: "3"
platform: "linux"
package: "audit"
version: "4.2.1-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/auparse_next_record"
---

# auparse\_next\_record(3)

move record cursor

## NAME

auparse\_next\_record - move record cursor

## SYNOPSIS

**#include \<auparse.h\>**

**int auparse\_next\_record(auparse\_state\_t \****au);"*

## DESCRIPTION

auparse\_next\_record will move the internal library cursors to point to the next record of the current event. You should not call this function from a feed interface callback function. Doing so will deadlock the code. In that scenario, you should check the number of records in the current event with auparse\_get\_num\_records and only call this if there are more records.

## RETURN VALUE

Returns -1 if an error occurs, 0 if no more records in current event, or 1 for success.

## SEE ALSO

[**auparse\_next\_event**(3)](/auparse_next_event/3.md),[**auparse\_get\_num\_records**(3)](/auparse_get_num_records/3.md).

## AUTHOR

Steve Grubb
