Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 
 

FCLOSE

Section: Linux Programmer's Manual (3)
Updated: 1998-04-10
Index Return to Main Contents
 

NAME

fcloseall - close all open streams  

SYNOPSIS

#define _GNU_SOURCE

#include <stdio.h>

int fcloseall(void);  

DESCRIPTION

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

This function always returns 0.  

SEE ALSO

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

CONFORMING TO

The fcloseall function is a GNU extension.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
CONFORMING TO

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man3". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.