file_length

lpc4/lib/doc/efun/file_length · 252 B

From the archive lpc4.05.14.tar.gz

Download the archive   « Back to the archive contents

NAME
	file_length - return the number of lines in a file

SYNTAX
	int file_length(string file);

DESCRIPTION
	Return the number of lines in a file.
	Returns -1 if the file doesn't exist.
	Returns -2 if it is a directory.

SEE ALSO
	file_size, file_stat

Site Stats

Snippets: 1791
Codebases: 571