auparse_get_line_number(3) — Linux manual page

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | SEE ALSO | AUTHOR | COLOPHON

AUPARSE_GET_LINE_NUMBER(3)   Linux Audit API  AUPARSE_GET_LINE_NUMBER(3)

NAME         top

       auparse_get_line_number - get line number where record was found

SYNOPSIS         top

       #include <auparse.h>

       unsigned int auparse_get_line_number(const auparse_state_t *au);

DESCRIPTION         top

       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.

RETURN VALUE         top

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

SEE ALSO         top

       auparse_get_filename(3).  auparse_next_record(3).

AUTHOR         top

       John Dennis

COLOPHON         top

       This page is part of the audit (Linux Audit) project.
       Information about the project can be found at 
       ⟨http://people.redhat.com/sgrubb/audit/⟩.  If you have a bug
       report for this manual page, send it to linux-audit@redhat.com.
       This page was obtained from the project's upstream Git repository
       ⟨https://github.com/linux-audit/audit-userspace.git⟩ on
       2023-12-22.  (At that time, the date of the most recent commit
       that was found in the repository was 2023-11-30.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to man-pages@man7.org

Red Hat                         June 2016     AUPARSE_GET_LINE_NUMBER(3)

Pages that refer to this page: auparse_get_filename(3)