Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - <b>synopsis:</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
Synopsis:
    #include <stdio.h>
    int fcloseall( void );

Description:
    The fcloseall function closes all open stream files, except  stdin,
     stdout,  stderr,  stdaux, and  stdprn.  This includes streams created
    (and not yet closed) by  fdopen,  fopen and  freopen.

Returns:
    The fcloseall function returns the number of streams that were closed if
    no errors were encountered.  When an error occurs,  EOF is returned.

See Also:
    fclose, fdopen, fopen, freopen, _fsopen

Example:
    #include <stdio.h>

    void main()
      {
        printf( "The number of files closed is %d\n",
                fcloseall() );
      }

Classification:
    WATCOM

Systems:
    All

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson