DOKK / manpages / debian 10 / libauparse-dev / auparse_get_field_int.3.en
AUPARSE_GET_FIELD_INT(3) Linux Audit API AUPARSE_GET_FIELD_INT(3)

auparse_get_field_int - get current field's value as an int

#include <auparse.h>

int auparse_get_field_int(auparse_state_t *au);

auparse_get_field_int allows access to the value as an int of the current field of the current record in the current event.

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

auparse_get_field_str(3).

Steve Grubb

Feb 2007 Red Hat