fcloseall(3) Library Functions Manual fcloseall(3) NOME fcloseall - fecha todas os fluxos abertas BIBLIOTECA Biblioteca C Padrao (libc, -lc) SINOPSE #define _GNU_SOURCE /* Veja feature_test_macros(7) */ #include int fcloseall(void); DESCRICAO 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 explicacao dos termos usados nesta secao, 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. PADROES GNU. VEJA TAMBEM close(2), fclose(3), fflush(3), fopen(3), setbuf(3) TRADUCAO A traducao para portugues brasileiro desta pagina man foi criada por Felipe M Pereira e Andre Luiz Fassone Esta traducao e uma documentacao livre; leia a Licenca Publica Geral GNU Versao 3 ou posterior para as condicoes de direitos autorais. Nenhuma responsabilidade e aceita. Se voce encontrar algum erro na traducao desta pagina de manual, envie um e-mail para a lista de discussao de tradutores . Linux man-pages 6.06 31 outubro 2023 fcloseall(3)