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 Library Reference - <u>synopsis:</u> 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.  The stdaux and
    stdprn files are not available for Windows NT.

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

Example:
    #include <stdio.h>

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

Classification:
    WATCOM

Systems:
    All, Netware

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

See Also: fclose

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