Query: fclose
OS: minix
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
FCLOSE(3) Library Functions Manual FCLOSE(3)NAMEfclose, fflush - close or flush a streamSYNOPSIS#include <stdio.h> int fclose(FILE *stream) int fflush(FILE *stream)DESCRIPTIONFclose causes any buffers for the named stream to be emptied, and the file to be closed. Buffers allocated by the standard input/output system are freed. Fclose is performed automatically upon calling exit(3). Fflush causes any buffered data for the named output stream to be written to that file. The stream remains open.SEE ALSOclose(2), fopen(3), setbuf(3).DIAGNOSTICSThese routines return EOF if stream is not associated with an output file, or if buffered data cannot be transferred to that file. 7th Edition May 15, 1985 FCLOSE(3)
Related Man Pages |
---|
fclose(3) - linux |
fclose(3) - centos |
fclose(3s) - hpux |
fcloseall(3) - freebsd |
fclose(3) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
getline() and fclose() |