fclose [C++ Reference]
Keywords: c,io,fclose
Date: 2008-10-14T15:42:00-0700

[[fclose]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## fclose

Syntax:

        #include <cstdio>
        int fclose( FILE *stream );

The function fclose() closes the given file stream, deallocating any buffers associated with that stream. fclose() returns 0 upon success, and EOF otherwise.

Related Topics: fflush, fopen, freopen, setbuf

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •