LPC Library Functions: file_length

NAME

file_length() - returns the number of lines in a file

SYNOPSIS

int file_length( string file );

DESCRIPTION

Given the name of a file, file_length() returns the number of lines in the file, or -1 if the file doesn't exist or the caller has insufficient privileges to read it.

Note that this efun is only available if the driver flag PACKAGE_CONTRIB is defined.

SEE ALSO

get_dir()
Page design by Frank Jacquette & Tim Hollebeek
Copyright (C) 1998 Tim Hollebeek & Frank Jacquette
Back to MudOS