SYNOPSIS
#include <stdio.h>
int fclose(FILE *stream);
DESCRIPTION
The
The
After the call to
Upon calling
PARAMETERS
RETURN VALUES
If successful,
- EAGAIN
-
The O_NONBLOCK flag is set for the file descriptor underlying stream, and the process would be delayed in the write operation.
- EBADF
-
The file descriptor underlying stream is not valid.
- 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
-
The
fclose() function was interrupted by a signal. - ENOSPC
-
There was no free space remaining on the device containing the file.
- EPIPE
-
An attempt was made to write to a pipe or FIFO that is not open for reading by any process. A SIGPIPE signal is also sent to the process.
CONFORMANCE
ANSI/ISO 9899-1990.
MULTITHREAD SAFETY LEVEL
MT-Safe.
PORTING ISSUES
None.
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.5 Documentation Build 40.