From Bennu Wiki
Jump to navigation Jump to search


INT fflush ( <INT filehandle> )

Clears internal data buffers for the file associated with the filehandle. The file has to be opened for output with the Readwrite_modes. This function comes from the standard C library, this is a miscellaneous function.


INT filehandle - The FileHandle of the file returned by fopen().


INT : - the status result of the action.

EOF (-1) - an error was detected, or end of file has been reached.
0 - normal condition, everything is fine.