File: auparse_get_line_number.3

package info (click to toggle)
audit 1:2.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-backports, jessie-kfreebsd
  • size: 5,308 kB
  • ctags: 5,589
  • sloc: ansic: 47,383; sh: 11,886; python: 1,949; makefile: 824
file content (27 lines) | stat: -rw-r--r-- 783 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
.TH "AUPARSE_GET_LINE_NUMBER" "3" "Feb 2007" "Red Hat" "Linux Audit API"
.SH NAME
auparse_get_line_number \- get line number where record was found
.SH "SYNOPSIS"
.B #include <auparse.h>
.sp
unsigned int auparse_get_line_number(auparse_state_t *au);

.SH "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 life in the file array is opened.

.SH "RETURN VALUE"

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

.SH "SEE ALSO"

.BR auparse_get_filename (3).
.BR auparse_next_record (3).

.SH AUTHOR
John Dennis