:man| Alphabetical   Categories   About us 
 
FCLOSE (3) | C library functions | Unix Manual Pages | :man

NAME

fcloseall - close all open streams

CONTENTS

Synopsis
Description

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"


Share this page

     Follow us

Facebook Twitter Google+ LinkedIn


 
Created by Blin Media, 2008-2013