MicrOS
fclose.c File Reference
#include "../stdio.h"

Functions

int fclose (FILE *stream)
 Close file. More...
 

Function Documentation

◆ fclose()

int fclose ( FILE stream)

Close file.

Closes the file associated with the stream and disassociates it.

Parameters
streamPointer to a FILE object that identifies the stream to be closed.
Returns
If the stream is successfully closed, a zero value is returned. On failure, EOF is returned.