*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> fcloseall (3)              



NAME    [Toc]    [Back]

       fcloseall - close all open streams

SYNOPSIS    [Toc]    [Back]

       #define _GNU_SOURCE

       #include <stdio.h>

       int fcloseall(void);

DESCRIPTION    [Toc]    [Back]

       The fcloseall function dissociates all open streams from its underlying
       file or set of functions.  Any buffered output data is  written	first,
       using  fflush(3).   Note  that  the standard streams (stdin, stdout and
       stderr) are also closed.

RETURN VALUE    [Toc]    [Back]

       This function always returns 0.

SEE ALSO    [Toc]    [Back]

       fclose(3), close(2), fflush(3), fopen(3), setbuf(3)

CONFORMING TO    [Toc]    [Back]

       The fcloseall function is a GNU extension.

GNU				  1998-04-10			     FCLOSE(3)
[ Back ]
 Similar pages
Name OS Title
VOP_OPEN FreeBSD open or close a file
VOP_CLOSE FreeBSD open or close a file
mdClosePort IRIX open and close MDports
VOP_OPENCLOSE FreeBSD open or close a file
close IRIX Close an open file
ufs_disk_write FreeBSD open and close userland UFS disks
ufs_disk_close FreeBSD open and close userland UFS disks
catopen IRIX open/close a message catalogue
vlopenvideo IRIX open or close a connection to the VL server
p2open IRIX open, close pipes to and from a command
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service