fclose man page on UNIXv7

Man page or keyword search:  
man Server   300 pages
apropos Keyword Search (all sections)
Output format
UNIXv7 logo
[printable version]

FCLOSE(3S)							    FCLOSE(3S)

NAME
       fclose, fflush - close or flush a stream

SYNOPSIS
       #include <stdio.h>

       fclose(stream)
       FILE *stream;

       fflush(stream)
       FILE *stream;

DESCRIPTION
       Fclose  causes  any buffers for the named stream to be emptied, and the
       file to be closed.  Buffers allocated by the standard input/output sys‐
       tem are freed.

       Fclose is performed automatically upon calling exit(2).

       Fflush causes any buffered data for the named output stream to be writ‐
       ten to that file.  The stream remains open.

SEE ALSO
       close(2), fopen(3), setbuf(3)

DIAGNOSTICS
       These routines return EOF if stream is not associated  with  an	output
       file, or if buffered data cannot be transferred to that file.

								    FCLOSE(3S)
[top]

List of man pages available for UNIXv7

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net