Extracted from Pike v7.3 release 53 at 2002-09-10.
pike.ida.liu.se
[Top]
Stdio

Method Stdio.file_size()


Method file_size

int Stdio.file_size(string filename)

Description

Give the size of a file. Size -1 indicates that the file either does not exist, or that it is not readable by you. Size -2 indicates that it is a directory.

See also

file_stat, Stdio.write_file, Stdio.read_bytes