Provided by: manpages-pt-br-dev_4.21.0-2_all 

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).
┌──────────────────────────────────────────────────────────────┬───────────────┬────────────────────────┐
│ Interface │ Atributo │ Valor │
├──────────────────────────────────────────────────────────────┼───────────────┼────────────────────────┤
│ fcloseall() │ Thread safety │ MT-Unsafe race:streams │
└──────────────────────────────────────────────────────────────┴───────────────┴────────────────────────┘
The fcloseall() function does not lock the streams, so it is not thread-safe.
PADRÕES
Esta função é uma extensão 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.
Linux man-pages 6.03 15 dezembro 2022 fcloseall(3)