.\" -*- coding: UTF-8 -*- '\" t .\" Copyright (c) 2006 by Michael Kerrisk .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH fcloseall 3 "20 ​​Julio 2023" "Páginas de manual de Linux 6.05.01" .SH NOMBRE fcloseall \- cierra todos los flujos abiertos .SH BIBLIOTECA Biblioteca Estándar C (\fIlibc\fP, \fI\-lc\fP) .SH SINOPSIS .nf \fB#define _GNU_SOURCE\fP /* Vea feature_test_macros(7) */ \fB#include \fP .PP \fBint fcloseall(void);\fP .fi .SH DESCRIPCIÓN 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 También se cierran los flujos estándar: \fIstdin\fP, \fIstdout\fP y \fIstderr\fP. .SH "VALOR DEVUELTO" La función devuelve cero si se han cerrado todos los archivos. Si sucedió algún error, se devuelve \fBEOF\fP. .SH ATRIBUTOS Para obtener una explicación de los términos usados en esta sección, véase \fBattributes\fP(7). .TS allbox; lbx lb lb l l l. Interfaz Atributo Valor T{ .na .nh \fBfcloseall\fP() T} Seguridad del hilo MT\-Unsafe race:streams .TE .sp 1 .PP The \fBfcloseall\fP() function does not lock the streams, so it is not thread\-safe. .SH ESTÁNDARES GNU. .SH "VÉASE TAMBIÉN" \fBclose\fP(2), \fBfclose\fP(3), \fBfflush\fP(3), \fBfopen\fP(3), \fBsetbuf\fP(3) .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Miguel Pérez Ibars y Marcos Fouces . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .