Schily's LIBRARY FUNCTIONS                            FILESIZE(3)


NAME

     filesize() - returns size of file


SYNOPSIS

     long filesize(f)
          FILE *f;


DESCRIPTION

     filesize() returns the file size in bytes.


RETURNS

     >= 0 filesize.

     < 0  an error code.


NOTES

     If the file was written in the current process and was  buf-
     fered,  do a fflush() before using filesize() NOTE: The call
     does not work on terminals or other devices.

Joerg Schilling    Last change: 15. Juli 1988                   1


Man(1) output converted with man2html


FhG Schily's Home VED powered