Manpage of FFLUSH
FFLUSH
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
3.6 `fflush'--flush buffered file output
SYNOPSIS
#include <stdio.h>
int fflush(FILE *FP);
DESCRIPTION
The `stdio' output functions can buffer output before delivering it to
the host system, in order to minimize the overhead of system calls.
Use `fflush' to deliver any such pending output (for the file or
stream identified by FP) to the host system.
If FP is `NULL', `fflush' delivers pending output from all open
files.
RETURNS
`fflush' returns `0' unless it encounters a write error; in that
situation, it returns `EOF'.
PORTABILITY
ANSI C requires `fflush'.
No supporting OS subroutines are required.
SEE ALSO
fflush
is part of the
libc
library.
The full documentation for
libc
is maintained as a Texinfo manual. If
info
and
libc
are properly installed at your site, the command
-
info libc
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:16 GMT, May 16, 2005
www.fiveanddime.net