NAME
file_length - return the line count of a file
SYNOPSIS
int file_length(string);
DESCRIPTION
returns
- line count
- -1 in case of error (e.g insufficient privs)
- -2 if file is directory
SEE ALSO
file_size(3)
file_length - return the line count of a file
int file_length(string);
returns
- line count
- -1 in case of error (e.g insufficient privs)
- -2 if file is directory
file_size(3)