.\" -*- coding: UTF-8 -*- .\" Copyright (c) 2006 by Michael Kerrisk .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one. .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH FCLOSEALL 3 "15 setembro 2017" GNU "Manual do Programador do Linux" .SH NOME fcloseall \- fecha todas os fluxos abertas .SH SINOPSE .nf \fB#define _GNU_SOURCE\fP /* Veja feature_test_macros(7) */ \fB#include \fP .PP \fBint fcloseall(void);\fP .fi .SH DESCRIÇÃO The \fBfcloseall\fP() function closes all of the calling process's open streams. Buffered output for each stream is written before it is closed (as for \fBfflush\fP(3)); buffered input is discarded. .PP The standard streams, \fIstdin\fP, \fIstdout\fP, and \fIstderr\fP are also closed. .SH "VALOR DE RETORNO" This function returns 0 if all files were successfully closed; on error, \fBEOF\fP is returned. .SH ATRIBUTOS Para uma explicação dos termos usados nesta seção, consulte \fBattributes\fP(7). .TS allbox; lb lb lb l l l. Interface Atributo Valor T{ \fBfcloseall\fP() T} Thread safety MT\-Unsafe race:streams .TE .PP The \fBfcloseall\fP() function does not lock the streams, so it is not thread\-safe. .SH "DE ACORDO COM" Esta função é uma extensão GNU. .SH "VEJA TAMBÉM" \fBclose\fP(2), \fBfclose\fP(3), \fBfflush\fP(3), \fBfopen\fP(3), \fBsetbuf\fP(3) .SH COLOFÃO Esta página faz parte da versão 5.10 do projeto Linux \fIman\-pages\fP. Uma descrição do projeto, informações sobre relatórios de bugs e a versão mais recente desta página podem ser encontradas em \%https://www.kernel.org/doc/man\-pages/. .PP .SH TRADUÇÃO A tradução para português brasileiro desta página man foi criada por Felipe M Pereira e André Luiz Fassone . .PP Esta tradução é uma documentação livre; leia a .UR https://www.gnu.org/licenses/gpl-3.0.html Licença Pública Geral GNU Versão 3 .UE ou posterior para as condições de direitos autorais. Nenhuma responsabilidade é aceita. .PP Se você encontrar algum erro na tradução desta página de manual, envie um e-mail para .MT debian-l10n-portuguese@lists.debian.org a lista de discussão de tradutores .ME .