AUPARSE\_GET\_FIELD\_INT(3) Linux Audit API AUPARSE\_GET\_FIELD\_INT(3)

# [NAME](#NAME)

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

# [SYNOPSIS](#SYNOPSIS)

**#include &lt;auparse.h&gt;**

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

# [DESCRIPTION](#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](#RETURN_VALUE)

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

# [SEE ALSO](#SEE_ALSO)

[**auparse\_get\_field\_str**(3)](/man/os/audit/auparse_get_field_str.3).

# [AUTHOR](#AUTHOR)

Steve Grubb

Feb 2007 Red Hat

---

Document: auparse_get_field_int(3) from audit 4.2.1-r4 (Chainguard OS)
Source: https://github.com/linux-audit/audit-userspace
