---
name: "auparse_get_num_fields"
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_get_num_fields"
---

# auparse\_get\_num\_fields(3)

get the number of fields

## NAME

auparse\_get\_num\_fields - get the number of fields

## SYNOPSIS

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

**unsigned int auparse\_get\_num\_fields(const auparse\_state\_t \****au);"*

## DESCRIPTION

auparse\_get\_num\_fields gets the number of fields in the current record of the current event.

## RETURN VALUE

Returns 0 if an error occurs; otherwise, the number of fields.

## SEE ALSO

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

## AUTHOR

Steve Grubb
