---
name: "auparse_get_field_int"
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_field_int"
---

# auparse\_get\_field\_int(3)

get current field's value as an int

## NAME

auparse\_get\_field\_int - get current field's value as an int

## SYNOPSIS

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

**int auparse\_get\_field\_int(auparse\_state\_t \****au);"*

## DESCRIPTION

auparse\_get\_field\_int allows access to the value as an int of the current field of the current record in the current event.

## RETURN VALUE

Returns -1 if there is an error with errno set appropriately or the value if errno is zero.

## SEE ALSO

[**auparse\_get\_field\_str**(3)](/auparse_get_field_str/3.md).

## AUTHOR

Steve Grubb
