Difference between revisions of "FFLUSH()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Yvonnemilne (Talk | contribs) |
||
Line 30: | Line 30: | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
+ | [[Category:ASCII File Access]] | ||
+ | [[Category:ASCII File Access Functions]] |
Revision as of 13:49, 2 June 2009
Class
ASCII File Access
Purpose
Function to flush internal buffer
Syntax
FFLUSH(<expN>)
See Also
FCLOSE(), FLUSH, FOPEN(), FWRITE(), SET TBUFSIZE
Description
The FFLUSH() function works in conjunction with the FOPEN() and FWRITE() functions to flush the internal buffer. The <expN> is the file handle returned by the FOPEN() function. The FFLUSH() function is used to bypass the I/O buffer and commit open text files to the current device. The FCLOSE() function also flushes associated buffers as it closes the specified file.
Example
fwrite(fp,"Hello World") fflush(fp)
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer