.\" -*- coding: UTF-8 -*- '\" t .\" Copyright (C) 2001 Andries Brouwer . .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH unlocked_stdio 3 "30 iulie 2023" "Pagini de manual de Linux 6.05.01" .SH NUME getc_unlocked, getchar_unlocked, putc_unlocked, putchar_unlocked \- funcții stdio care nu blochează .SH BIBLIOTECA Biblioteca C standard (\fIlibc\fP, \fI\-lc\fP) .SH REZUMAT .nf \fB#include \fP .PP \fBint getc_unlocked(FILE *\fP\fIstream\fP\fB);\fP \fBint getchar_unlocked(void);\fP \fBint putc_unlocked(int \fP\fIc\fP\fB, FILE *\fP\fIstream\fP\fB);\fP \fBint putchar_unlocked(int \fP\fIc\fP\fB);\fP .PP \fBvoid clearerr_unlocked(FILE *\fP\fIstream\fP\fB);\fP \fBint feof_unlocked(FILE *\fP\fIstream\fP\fB);\fP \fBint ferror_unlocked(FILE *\fP\fIstream\fP\fB);\fP \fBint fileno_unlocked(FILE *\fP\fIstream\fP\fB);\fP \fBint fflush_unlocked(FILE *_Nullable \fP\fIstream\fP\fB);\fP .PP \fBint fgetc_unlocked(FILE *\fP\fIstream\fP\fB);\fP \fBint fputc_unlocked(int \fP\fIc\fP\fB, FILE *\fP\fIstream\fP\fB);\fP .PP \fBsize_t fread_unlocked(void \fP\fIptr\fP\fB[restrict .\fP\fIsize\fP\fB * .\fP\fIn\fP\fB],\fP \fB size_t \fP\fIsize\fP\fB, size_t \fP\fIn\fP\fB,\fP \fB FILE *restrict \fP\fIstream\fP\fB);\fP \fBsize_t fwrite_unlocked(const void \fP\fIptr\fP\fB[restrict .\fP\fIsize\fP\fB * .\fP\fIn\fP\fB],\fP \fB size_t \fP\fIsize\fP\fB, size_t \fP\fIn\fP\fB,\fP \fB FILE *restrict \fP\fIstream\fP\fB);\fP .PP \fBchar *fgets_unlocked(char \fP\fIs\fP\fB[restrict .\fP\fIn\fP\fB], int \fP\fIn\fP\fB, FILE *restrict \fP\fIstream\fP\fB);\fP \fBint fputs_unlocked(const char *restrict \fP\fIs\fP\fB, FILE *restrict \fP\fIstream\fP\fB);\fP .PP \fB#include \fP .PP \fBwint_t getwc_unlocked(FILE *\fP\fIstream\fP\fB);\fP \fBwint_t getwchar_unlocked(void);\fP \fBwint_t fgetwc_unlocked(FILE *\fP\fIstream\fP\fB);\fP .PP \fBwint_t fputwc_unlocked(wchar_t \fP\fIwc\fP\fB, FILE *\fP\fIstream\fP\fB);\fP \fBwint_t putwc_unlocked(wchar_t \fP\fIwc\fP\fB, FILE *\fP\fIstream\fP\fB);\fP \fBwint_t putwchar_unlocked(wchar_t \fP\fIwc\fP\fB);\fP .PP \fBwchar_t *fgetws_unlocked(wchar_t \fP\fIws\fP\fB[restrict .\fP\fIn\fP\fB], int \fP\fIn\fP\fB,\fP \fB FILE *restrict \fP\fIstream\fP\fB);\fP \fBint fputws_unlocked(const wchar_t *restrict \fP\fIws\fP\fB,\fP \fB FILE *restrict \fP\fIstream\fP\fB);\fP .fi .PP .RS -4 Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc (consultați \fBfeature_test_macros\fP(7)): .RE .PP \fB\%getc_unlocked\fP(), \fB\%getchar_unlocked\fP(), \fB\%putc_unlocked\fP(), \fB\%putchar_unlocked\fP(): .nf /* glibc >= 2.24: */ _POSIX_C_SOURCE >= 199309L || /* glibc <= 2.23: */ _POSIX_C_SOURCE || /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE .fi .PP \fB\%clearerr_unlocked\fP(), \fB\%feof_unlocked\fP(), \fB\%ferror_unlocked\fP(), \fB\%fileno_unlocked\fP(), \fB\%fflush_unlocked\fP(), \fB\%fgetc_unlocked\fP(), \fB\%fputc_unlocked\fP(), \fB\%fread_unlocked\fP(), \fB\%fwrite_unlocked\fP(): .nf /* glibc >= 2.19: */ _DEFAULT_SOURCE || /* glibc <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE .fi .PP \fB\%fgets_unlocked\fP(), \fB\%fputs_unlocked\fP(), \fB\%getwc_unlocked\fP(), \fB\%getwchar_unlocked\fP(), \fB\%fgetwc_unlocked\fP(), \fB\%fputwc_unlocked\fP(), \fB\%putwchar_unlocked\fP(), \fB\%fgetws_unlocked\fP(), \fB\%fputws_unlocked\fP(): .nf _GNU_SOURCE .fi .SH DESCRIERE Fiecare dintre aceste funcții are același comportament ca și omologul său fără sufixul „_unlocked”, cu excepția faptului că nu utilizează blocarea (nu stabilesc ele însele blocaje și nu testează prezența unor blocaje stabilite de altele) și, prin urmare, sunt nesigure pentru fire. A se vedea \fBflockfile\fP(3). .SH ATRIBUTE Pentru o explicație a termenilor folosiți în această secțiune, a se vedea \fBattributes\fP(7). .TS allbox; lb lb lbx l l l. Interfață Atribut Valoare T{ .na .nh \fBgetc_unlocked\fP(), \fBputc_unlocked\fP(), \fBclearerr_unlocked\fP(), \fBfflush_unlocked\fP(), \fBfgetc_unlocked\fP(), \fBfputc_unlocked\fP(), \fBfread_unlocked\fP(), \fBfwrite_unlocked\fP(), \fBfgets_unlocked\fP(), \fBfputs_unlocked\fP(), \fBgetwc_unlocked\fP(), \fBfgetwc_unlocked\fP(), \fBfputwc_unlocked\fP(), \fBputwc_unlocked\fP(), \fBfgetws_unlocked\fP(), \fBfputws_unlocked\fP() T} Siguranța firelor T{ .na .nh MT\-Safe race:stream T} T{ .na .nh \fBgetchar_unlocked\fP(), \fBgetwchar_unlocked\fP() T} Siguranța firelor T{ .na .nh MT\-Unsafe race:stdin T} T{ .na .nh \fBputchar_unlocked\fP(), \fBputwchar_unlocked\fP() T} Siguranța firelor T{ .na .nh MT\-Unsafe race:stdout T} T{ .na .nh \fBfeof_unlocked\fP(), \fBferror_unlocked\fP(), \fBfileno_unlocked\fP() T} Siguranța firelor MT\-Safe .TE .sp 1 .SH STANDARDE .TP \fBgetc_unlocked\fP() .TQ \fBgetchar_unlocked\fP() .TQ \fBputc_unlocked\fP() .TQ \fBputchar_unlocked\fP() POSIX.1\-2008. .TP Altele: Niciunul. .SH ISTORIC .TP \fBgetc_unlocked\fP() .TQ \fBgetchar_unlocked\fP() .TQ \fBputc_unlocked\fP() .TQ \fBputchar_unlocked\fP() .\" E.g., in HP-UX 10.0. In HP-UX 10.30 they are called obsolescent, and .\" moved to a compatibility library. .\" Available in HP-UX 10.0: clearerr_unlocked, fclose_unlocked, .\" feof_unlocked, ferror_unlocked, fflush_unlocked, fgets_unlocked, .\" fgetwc_unlocked, fgetws_unlocked, fileno_unlocked, fputs_unlocked, .\" fputwc_unlocked, fputws_unlocked, fread_unlocked, fseek_unlocked, .\" ftell_unlocked, fwrite_unlocked, getc_unlocked, getchar_unlocked, .\" getw_unlocked, getwc_unlocked, getwchar_unlocked, putc_unlocked, .\" putchar_unlocked, puts_unlocked, putws_unlocked, putw_unlocked, .\" putwc_unlocked, putwchar_unlocked, rewind_unlocked, setvbuf_unlocked, .\" ungetc_unlocked, ungetwc_unlocked. POSIX.1\-2001. .SH "CONSULTAȚI ȘI" \fBflockfile\fP(3), \fBstdio\fP(3) .PP .SH TRADUCERE Traducerea în limba română a acestui manual a fost făcută de Remus-Gabriel Chelu . .PP Această traducere este documentație gratuită; citiți .UR https://www.gnu.org/licenses/gpl-3.0.html Licența publică generală GNU Versiunea 3 .UE sau o versiune ulterioară cu privire la condiții privind drepturile de autor. NU se asumă NICIO RESPONSABILITATE. .PP Dacă găsiți erori în traducerea acestui manual, vă rugăm să trimiteți un e-mail la .MT translation-team-ro@lists.sourceforge.net .ME .