---
name: "auparse_next_event"
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_event"
---

# auparse\_next\_event(3)

get the next event

## NAME

auparse\_next\_event - get the next event

## SYNOPSIS

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

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

## DESCRIPTION

auparse\_next\_event will position the cursors at the first field of the first record of the next event in a file or buffer. It does not skip events or honor any search criteria that may be stored.

## RETURN VALUE

Returns -1 if an error occurs, 0 if there's no data, 1 for success.

## SEE ALSO

[**auparse\_next\_record**(3)](/auparse_next_record/3.md).

## AUTHOR

Steve Grubb
