当前位置:首页 >百科 >fcloseall 中文man页面 页面注意标准流 (stdin

fcloseall 中文man页面 页面注意标准流 (stdin

2024-06-28 11:57:17 [百科] 来源:避面尹邢网

fcloseall 中文man页面

作者:佚名 系统 函数 fcloseall 将所有打开的页面流与它们底层的文件或功能集合断开。任何缓冲的页面数据都将首先被写入,使用 fflush(3) 。页面注意标准流 (stdin,页面stdout 和 stderr) 也被关闭。页面

NAME

fcloseall - 关闭所有打开的页面流  

SYNOPSIS 总览

#define _GNU_SOURCE

fcloseall 中文man页面 页面注意标准流 (stdin

#include <stdio.h>

fcloseall 中文man页面 页面注意标准流 (stdin

int fcloseall(void);  

fcloseall 中文man页面 页面注意标准流 (stdin

DESCRIPTION 描述

函数 fcloseall 将所有打开的流与它们底层的文件或功能集合断开。任何缓冲的页面数据都将首先被写入,使用 fflush(3) 。页面注意标准流 (stdin,页面stdout 和 stderr) 也被关闭。页面  

RETURN VALUE 返回值

这个函数总是页面返回 0。  

SEE ALSO 参见

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

#p#

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)  

责任编辑:韩亚珊 来源: CMPP.net fcloseall中文man

(责任编辑:焦点)

    推荐文章
    热点阅读