file_size |
Discworld efun help |
file_size |
int file_size(string file)
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
save_object, load_object, write_file, cat.