Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

auparse_get_field_num - get current field cursor location

Author

Steve Grubb Red Hat Dec 2016 AUPARSE_GET_FIELD_NUM(3)

Description

auparse_get_field_num will retrieve 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.

Name

auparse_get_field_num - get current field cursor location

Return Value

Returns the current field cursor location.

See Also

auparse_goto_field_num(3),auparse_get_record_num(3).

Synopsis

#include<auparse.h> unsigned int auparse_get_field_num(const auparse_state_t *au);

See Also