Manpage of FCLOSEALL

Google
Web www.fiveanddime.net

FCLOSEALL

Section: NEWLIB (3)
Updated: 2005 Feb 23
Index Return to Main Contents
 

NAME

3.3 `fcloseall'--close all files

 

SYNOPSIS


     #include <stdio.h>
     int fcloseall(void);
     int _fcloseall_r (struct _reent *PTR);  

DESCRIPTION

`fcloseall' closes all files in the current reentrancy struct's domain. The function `_fcloseall_r' is the same function, except the reentrancy struct is passed in as the PTR argument.


   This function is not recommended as it closes all streams, including the std streams.

 

RETURNS

`fclose' returns `0' if all closes are successful. Otherwise, EOF is returned.

 

PORTABILITY

`fcloseall' is a glibc extension.


   Required OS subroutines: `close', `fstat', `isatty', `lseek', `read', `sbrk', `write'.

 

SEE ALSO

fcloseall is part of the libc library. The full documentation for libc is maintained as a Texinfo manual. If info and libc are properly installed at your site, the command
info libc

will give you access to the complete manual.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURNS
PORTABILITY
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 21:25:16 GMT, May 16, 2005



www.fiveanddime.net








Google
Web www.fiveanddime.net