.\" -*- 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 września 2017 r." GNU "Podręcznik programisty Linuksa" .SH NAZWA fcloseall \- zamknięcie wszystkich otwartych strumieni .SH SKŁADNIA .nf \fB#define _GNU_SOURCE\fP /* Patrz feature_test_macros(7) */ \fB#include \fP .PP \fBint fcloseall(void);\fP .fi .SH OPIS Funkcja \fBfcloseall\fP() zamyka wszystkie otwarte strumienie w procesie wywołującym. Dane w buforach wyjściowych każdego strumienia są zapisywane przed zamknięciem (tak jak w przypadku \fBfflush\fP(3)); dane w buforach wejściowych są ignorowane. .PP Zamykane są także standardowe strumienie \fIstdin\fP, \fIstdout\fP i \fIstderr\fP. .SH "WARTOŚĆ ZWRACANA" Funkcja zwraca 0, jeśli wszystkie pliki zostały poprawnie zamknięte, lub \fBEOF\fP, gdy wystąpił błąd. .SH ATRYBUTY Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku \fBattributes\fP(7). .TS allbox; lb lb lb l l l. Interfejs Atrybut Wartość T{ \fBfcloseall\fP() T} Bezpieczeństwo wątkowe MT\-Unsafe race:streams .TE .PP Funkcja \fBfcloseall\fP() nie blokuje strumieni, więc nie jest bezpieczna dla wątków. .SH "ZGODNE Z" Ta funkcja jest rozszerzeniem GNU. .SH "ZOBACZ TAKŻE" \fBclose\fP(2), \fBfclose\fP(3), \fBfflush\fP(3), \fBfopen\fP(3), \fBsetbuf\fP(3) .SH "O STRONIE" Angielska wersja tej strony pochodzi z wydania 5.10 projektu Linux \fIman\-pages\fP. Opis projektu, informacje dotyczące zgłaszania błędów oraz najnowszą wersję oryginału można znaleźć pod adresem \%https://www.kernel.org/doc/man\-pages/. .SH TŁUMACZENIE Autorami polskiego tłumaczenia niniejszej strony podręcznika są: Andrzej Krzysztofowicz i Robert Luberda . Niniejsze tłumaczenie jest wolną dokumentacją. Bliższe informacje o warunkach licencji można uzyskać zapoznając się z .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License w wersji 3 .UE lub nowszej. Nie przyjmuje się ŻADNEJ ODPOWIEDZIALNOŚCI. Błędy w tłumaczeniu strony podręcznika prosimy zgłaszać na adres .MT manpages-pl-list@lists.sourceforge.net .ME .