|
NAMEfflush , fflush_unlocked ,
fpurge —
flush a stream
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <stdio.h>
int
int
int
DESCRIPTIONThe functionfflush () forces a write of all buffered
data for the given output or update stream via the
stream's underlying write function. The open status of the stream is
unaffected.
If the stream argument is
The The function RETURN VALUESUpon successful completion 0 is returned. Otherwise,EOF
is returned and the global variable errno is set to
indicate the error.
ERRORS
The function SEE ALSOwrite(2), fclose(3), fopen(3), setbuf(3)STANDARDSThefflush () function conforms to
ISO/IEC 9899:1990 (“ISO C90”).
HISTORYThefflush () function first appeared in
Version 4 AT&T UNIX. The
fpurge () function first appeared in
4.4BSD.
Visit the GSP FreeBSD Man Page Interface. |