redhat man page for fcloseall

Query: fcloseall

OS: redhat

Section: 3

Links: redhat man pages | All man pages

Forums: Unix Linux Community | Forum Categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

FCLOSE(3)						     Linux Programmer's Manual							 FCLOSE(3)

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.
GNU
1998-04-10 FCLOSE(3)
Related Man Pages
fcloseall(3) - centos
fclose(3) - centos
fcloseall(3) - suse
fclose(3) - osx
fcloseall(3) - freebsd
Similar Topics in the Unix Linux Community
Reduced Activity Notification
Retrieving previous command in a script
CentOS7 restoring file capabilities
Issue with &quot;rsh&quot; on RedHat
Package