DOKK / manpages / debian 11 / libauparse-dev / auparse_get_num_fields.3.en
AUPARSE_GET_NUM_FIELDS(3) Linux Audit API AUPARSE_GET_NUM_FIELDS(3)

auparse_get_num_fields - get the number of fields

#include <auparse.h>

unsigned int auparse_get_num_fields(auparse_state_t *au);

auparse_get_num_fields gets the number of fields in the current record of the current event.

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

auparse_next_record(3).

Steve Grubb

Feb 2007 Red Hat