Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Coherent 3.1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


fclose()                  STDIO Function                 fclose()




Close a stream

#include <stdio.h>
int fclose(fp) FILE *fp;

fclose closes  the stream fp.   It calls fflush on  the given fp,
closes the  associated file,  and releases any  allocated buffer.
The function exit calls fclose for open streams.

***** Example *****

For examples  of how  to use this  function, see the  entries for
fopen and fseek.

***** See Also *****

STDIO

***** Diagnostics *****

fclose returns EOF if an error occurs.



































COHERENT Lexicon                                           Page 1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026