logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

auparse_get_line_number - get line number where record was found

Author

John Dennis Red Hat June 2016 AUPARSE_GET_LINE_NUMBER(3)

Description

auparse_get_line_number will return the source input line number for the current record of the current event. Line numbers start at 1. If the source input type is AUSOURCE_FILE_ARRAY the line numbering will reset back to 1 each time a new line in the file array is opened.

Name

auparse_get_line_number - get line number where record was found

Return Value

Returns the line number. Line numbers are 1 based, a zero value indicates the line number information is unavailable.

See Also

auparse_get_filename(3). auparse_next_record(3).

Synopsis

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

See Also