Re-added fflush function (bug 3355, r=sawce).

This commit is contained in:
David Anderson
2009-02-07 23:43:07 +00:00
parent 0b4f28fecf
commit 0f8c61c1e1
2 changed files with 17 additions and 0 deletions

View File

@ -132,3 +132,12 @@ native close_dir(dirh);
* are returned.
*/
native LoadFileForMe(const file[], buffer[], maxlength, &length=0);
/**
* Flushes a buffered output stream.
*
* @param file File handle, or 0 for all open streams.
* @return 0 on success, -1 on failure.
*/
native fflush(file);