1AUPARSE_GET_LINE_NUMBER(3)      Linux Audit API     AUPARSE_GET_LINE_NUMBER(3)
2
3
4

NAME

6       auparse_get_line_number - get line number where record was found
7

SYNOPSIS

9       #include <auparse.h>
10
11       unsigned int auparse_get_line_number(auparse_state_t *au);
12
13

DESCRIPTION

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

RETURN VALUE

22       Returns the line number. Line numbers are 1 based, a zero  value  indi‐
23       cates the line number information is unavailable.
24
25

SEE ALSO

27       auparse_get_filename(3).  auparse_next_record(3).
28
29

AUTHOR

31       John Dennis
32
33
34
35Red Hat                            June 2016        AUPARSE_GET_LINE_NUMBER(3)
Impressum