Declaration: 
long filelength(long handle); 
Description 
Gets file size in bytes. 
filelength returns the length (in bytes) of the file associated with handle. 
Returned Value 
On success, filelength returns the long value of the file length in bytes. On error, it returns -1 and the errno global variable is set to 
EBADF        Bad file number 
  
 |