![]() |
fclose | Function (tigcc.a) |
stdio.h |
short fclose (FILE *stream); |
Closes a stream.
fclose closes the stream associated to the structure pointed to by stream. In this implementation, fclose unlocks the file (which is locked during it is opened), and frees the file descriptor structure pointed to by stream. fclose returns 0 on success. It returns EOF if any errors were detected.