---
name: "auparse_first_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_first_record"
---

# auparse\_first\_record(3)

reposition record cursor

## NAME

auparse\_first\_record - reposition record cursor

## SYNOPSIS

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

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

## DESCRIPTION

auparse\_first\_record repositions the internal cursors of the parsing library to point to the first field of the first record in the current event.

## RETURN VALUE

Returns -1 if an error occurs, 0 if there is no event data, or 1 for success.

## SEE ALSO

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

## AUTHOR

Steve Grubb
