auparse_get_field_num (3) - Linux Manuals

auparse_get_field_num: get current field cursor location

NAME

auparse_get_field_num - get current field cursor location

SYNOPSIS

#include <auparse.h>

unsigned int auparse_get_field_num(auparse_state_t *au);

DESCRIPTION

auparse_get_field_num will retreive the internal library cursors current field location in the current record. Fields within the same record are numbered starting from 0. This is generally not needed but there are some cases where one may want to know the exact field being looked at.

RETURN VALUE

Returns the current field cursor location.

AUTHOR

Steve Grubb