Table of Contents
show
- Closes the stream.
- All buffers are flushed.
Syntax
fclose
int fclose(FILE *stream)
Parameters
stream − This is the pointer to a FILE object that specifies the stream to be closed.
Return Value
This method returns zero if the stream is successfully closed. On failure, EOF is returned
Views: 1