file_size -- gives the file size.
Arguments
- filename
A file name as a string, as defined by the operating system.
Returns
The size of the file in bytes if the file exists and is
readable, else nil.
Example
Gamma> file_size("myfile.dat");
1467
Gamma> file_size("non_existing.file");
nil
Gamma> file_size("unreadable.file");
nil
Gamma>
Copyright 1995-2002 by
Cogent Real-Time Systems, Inc.