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

auparse_goto_field_num - move field cursor to specific field

Author

Steve Grubb Red Hat Dec 2016 AUPARSE_GOTO_FIELD_NUM(3)

Description

auparse_goto_field_num will move the internal library cursors to point to a specific field number 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 precise control over the exact field being looked at.

Name

auparse_goto_field_num - move field cursor to specific field

Return Value

Returns 0 on error or 1 for success.

See Also

auparse_get_field_num(3),auparse_goto_record_num(3).

Synopsis

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

See Also