Man page - fcloseall(3)

Packages contains this manual

Available languages:

en fr pt_BR es pl ja ru ro zh_TW zh_CN de

Manual

fcloseall

NOME
BIBLIOTECA
SINOPSE
DESCRIÇÃO
VALOR DE RETORNO
ATRIBUTOS
PADRÕES
VEJA TAMBÉM
TRADUÇÃO

NOME

fcloseall - fecha todas os fluxos abertas

BIBLIOTECA

Biblioteca C PadrĂŁo ( libc , -lc )

SINOPSE

#define _GNU_SOURCE /* Veja feature_test_macros(7) */
#include <stdio.h>

int fcloseall(void);

DESCRIÇÃO

The fcloseall () function closes all of the calling process’s open streams. Buffered output for each stream is written before it is closed (as for fflush (3)); buffered input is discarded.

The standard streams, stdin , stdout , and stderr are also closed.

VALOR DE RETORNO

This function returns 0 if all files were successfully closed; on error, EOF is returned.

ATRIBUTOS

Para uma explicação dos termos usados nesta seção, consulte attributes (7).

Image grohtml-3938581-1.png

The fcloseall () function does not lock the streams, so it is not thread-safe.

PADRÕES

GNU.

VEJA TAMBÉM

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

TRADUÇÃO

A tradução para portuguĂȘs brasileiro desta pĂĄgina man foi criada por Felipe M Pereira <Felipe.Pereira@ic.unicamp.br> e AndrĂ© Luiz Fassone <lonely_wolf@ig.com.br>

Esta tradução Ă© uma documentação livre; leia a Licença PĂșblica Geral GNU VersĂŁo 3 ou posterior para as condiçÔes de direitos autorais. Nenhuma responsabilidade Ă© aceita.

Se vocĂȘ encontrar algum erro na tradução desta pĂĄgina de manual, envie um e-mail para a lista de discussĂŁo de tradutores .