Flushes any pending writes on the file. If the file was used for input and there is still some data to read it tries to seek back to the expected position.
INPUTS
file
filehandle
RESULT
!=0 on success, 0 on error. IoErr() gives additional information in that case.
EXAMPLE
SEE ALSO
NOTES
BUGS
INTERNALS
HISTORY
20.10.1998 hkiel
Amiga Research OS
27.01.1997 ldp
Polish
09.12.1996 aros
Added empty templates for all missing functions
Moved #include's into first column
24.10.1996 aros
Use the official AROS macros over the __AROS versions.
13.08.1996 digulla
Replaced <dos/dosextens.h> by "dos_intern.h" or added "dos_intern.h"
Replaced __AROS_LA by __AROS_LHA