Provided by: manpages-pt-br-dev_4.18.1-1_all bug

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).

       ┌────────────────────────────────────────────────┬───────────────┬────────────────────────┐
       │InterfaceAtributoValor                  │
       ├────────────────────────────────────────────────┼───────────────┼────────────────────────┤
       │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
       ⟨https://www.gnu.org/licenses/gpl-3.0.html⟩  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 ⟨debian-l10n-portuguese@lists.debian.org⟩.