SYNOPSIS
#include <stdio.h>
int fflush(FILE *stream);
DESCRIPTION
The
If stream is a null pointer when calling
PARAMETERS
- stream
-
This parameter is either a null pointer or is a pointer to a stream opened for writing or update.
RETURN VALUES
If successful, the
- EACCES
-
Another process has the file locked.
- EBADF
-
stream is not a valid stream opened for writing.
- EFBIG
-
The file is a regular file and an attempt was made to write at or beyond the offset maximum associated with the corresponding stream.
- EINTR
-
A signal interrupted the call.
- EIO
-
An output error occurred.
- ENOMEM
-
Memory could not be allocated for internal buffers.
- ENOSPC
-
An attempt is made to write to a full disk.
- ENXIO
-
A device error occurred.
- EPIPE
-
A write to a closed pipe was attempted.
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
Some varieties of UNIX allow
AVAILABILITY
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
SEE ALSO
PTC MKS Toolkit 10.4 Documentation Build 39.