| 1 |
# Romanian translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Remus-Gabriel Chelu <[email protected]>, 2023, 2025. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.20.0\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:24+0200\n" |
| 9 |
"PO-Revision-Date: 2026-03-04 12:17+0100\n" |
| 10 |
"Last-Translator: Remus-Gabriel Chelu <[email protected]>\n" |
| 11 |
"Language-Team: Romanian <[email protected]>\n" |
| 12 |
"Language: ro\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < " |
| 17 |
"20)) ? 1 : 2;\n" |
| 18 |
"X-Generator: Poedit 3.8\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "fread" |
| 25 |
msgstr "fread" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-10" |
| 32 |
msgstr "10 februarie 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Pagini de manual de Linux 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "NUME" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "fread, fwrite - binary stream input/output" |
| 51 |
msgstr "fread, fwrite - intrare/ieșire a fluxurilor binare" |
| 52 |
|
| 53 |
#. type: SH |
| 54 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 55 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 56 |
#, no-wrap |
| 57 |
msgid "LIBRARY" |
| 58 |
msgstr "BIBLIOTECA" |
| 59 |
|
| 60 |
#. type: Plain text |
| 61 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 62 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 63 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 64 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 65 |
|
| 66 |
#. type: SH |
| 67 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 68 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 69 |
#, no-wrap |
| 70 |
msgid "SYNOPSIS" |
| 71 |
msgstr "SINOPSIS" |
| 72 |
|
| 73 |
#. type: Plain text |
| 74 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 75 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 76 |
#, no-wrap |
| 77 |
msgid "B<#include E<lt>stdio.hE<gt>>\n" |
| 78 |
msgstr "B<#include E<lt>stdio.hE<gt>>\n" |
| 79 |
|
| 80 |
#. type: Plain text |
| 81 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 82 |
#: opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "" |
| 85 |
"B<size_t fread(>size_t size, size_t n;\n" |
| 86 |
"B< void >I<ptr>B<[restrict >I<size>B< * >I<n>B<],>\n" |
| 87 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 88 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 89 |
"B<size_t fwrite(>size_t size, size_t n;\n" |
| 90 |
"B< const void >I<ptr>B<[restrict >I<size>B< * >I<n>B<],>\n" |
| 91 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 92 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 93 |
msgstr "" |
| 94 |
"B<size_t fread(>size_t size, size_t n;\n" |
| 95 |
"B< void >I<ptr>B<[restrict >I<size>B< * >I<n>B<],>\n" |
| 96 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 97 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 98 |
"B<size_t fwrite(>size_t size, size_t n;\n" |
| 99 |
"B< const void >I<ptr>B<[restrict >I<size>B< * >I<n>B<],>\n" |
| 100 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 101 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 102 |
|
| 103 |
#. type: SH |
| 104 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 105 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 106 |
#, no-wrap |
| 107 |
msgid "DESCRIPTION" |
| 108 |
msgstr "DESCRIERE" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 112 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "" |
| 114 |
"The function B<fread>() reads I<n> items of data, each I<size> bytes long, " |
| 115 |
"from the stream pointed to by I<stream>, storing them at the location given " |
| 116 |
"by I<ptr>." |
| 117 |
msgstr "" |
| 118 |
"Funcția B<fread>() citește I<n> elemente de date, fiecare cu lungimea de " |
| 119 |
"I<size> octeți, din fluxul indicat de I<stream>, stocându-le la locația " |
| 120 |
"indicată de I<ptr>." |
| 121 |
|
| 122 |
#. type: Plain text |
| 123 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 124 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 125 |
msgid "" |
| 126 |
"The function B<fwrite>() writes I<n> items of data, each I<size> bytes " |
| 127 |
"long, to the stream pointed to by I<stream>, obtaining them from the " |
| 128 |
"location given by I<ptr>." |
| 129 |
msgstr "" |
| 130 |
"Funcția B<fwrite>() scrie I<n> elemente de date, fiecare cu o lungime de " |
| 131 |
"I<size> octeți, în fluxul indicat de I<stream>, obținându-le din locația " |
| 132 |
"dată de I<ptr>." |
| 133 |
|
| 134 |
#. type: Plain text |
| 135 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 136 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 137 |
msgid "For nonlocking counterparts, see B<unlocked_stdio>(3)." |
| 138 |
msgstr "" |
| 139 |
"Pentru varianta corespondentă fără blocare, a se vedea B<unlocked_stdio>(3)." |
| 140 |
|
| 141 |
#. type: SH |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
#, no-wrap |
| 145 |
msgid "RETURN VALUE" |
| 146 |
msgstr "VALOAREA RETURNATĂ" |
| 147 |
|
| 148 |
#. type: Plain text |
| 149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 151 |
msgid "" |
| 152 |
"On success, B<fread>() and B<fwrite>() return the number of items read or " |
| 153 |
"written. This number equals the number of bytes transferred only when " |
| 154 |
"I<size> is 1. If an error occurs, or the end of the file is reached, the " |
| 155 |
"return value is a short item count (or zero)." |
| 156 |
msgstr "" |
| 157 |
"În caz de succes, B<fread>() și B<fwrite>() returnează numărul de elemente " |
| 158 |
"citite sau scrise. Acest număr este egal cu numărul de octeți transferați " |
| 159 |
"numai atunci când I<size> este 1. Dacă apare o eroare sau dacă se ajunge la " |
| 160 |
"sfârșitul fișierului, valoarea returnată este un număr scurt de elemente " |
| 161 |
"(sau zero)." |
| 162 |
|
| 163 |
#. type: Plain text |
| 164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 166 |
msgid "" |
| 167 |
"The file position indicator for the stream is advanced by the number of " |
| 168 |
"bytes successfully read or written." |
| 169 |
msgstr "" |
| 170 |
"Indicatorul de poziție al fișierului pentru flux este avansat cu numărul de " |
| 171 |
"octeți citiți sau scriși cu succes." |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 175 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
msgid "" |
| 177 |
"B<fread>() does not distinguish between end-of-file and error, and callers " |
| 178 |
"must use B<feof>(3) and B<ferror>(3) to determine which occurred." |
| 179 |
msgstr "" |
| 180 |
"B<fread>() nu face distincție între end-of-file (sfârșitul de fișier) și " |
| 181 |
"eroare, iar apelanții trebuie să utilizeze B<feof>(3) și B<ferror>(3) pentru " |
| 182 |
"a determina ce a avut loc." |
| 183 |
|
| 184 |
#. type: SH |
| 185 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 186 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 187 |
#, no-wrap |
| 188 |
msgid "ATTRIBUTES" |
| 189 |
msgstr "ATRIBUTE" |
| 190 |
|
| 191 |
#. type: Plain text |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
msgid "" |
| 195 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 196 |
msgstr "" |
| 197 |
"Pentru o explicație a termenilor folosiți în această secțiune, a se vedea " |
| 198 |
"B<attributes>(7)." |
| 199 |
|
| 200 |
#. type: tbl table |
| 201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 203 |
#, no-wrap |
| 204 |
msgid "Interface" |
| 205 |
msgstr "Interfață" |
| 206 |
|
| 207 |
#. type: tbl table |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
#, no-wrap |
| 211 |
msgid "Attribute" |
| 212 |
msgstr "Atribut" |
| 213 |
|
| 214 |
#. type: tbl table |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
#, no-wrap |
| 218 |
msgid "Value" |
| 219 |
msgstr "Valoare" |
| 220 |
|
| 221 |
#. type: tbl table |
| 222 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 223 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 224 |
#, no-wrap |
| 225 |
msgid ".na\n" |
| 226 |
msgstr ".na\n" |
| 227 |
|
| 228 |
#. type: tbl table |
| 229 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 230 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 231 |
#, no-wrap |
| 232 |
msgid ".nh\n" |
| 233 |
msgstr ".nh\n" |
| 234 |
|
| 235 |
#. type: tbl table |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
#, no-wrap |
| 239 |
msgid "" |
| 240 |
"B<fread>(),\n" |
| 241 |
"B<fwrite>()" |
| 242 |
msgstr "" |
| 243 |
"B<fread>(),\n" |
| 244 |
"B<fwrite>()" |
| 245 |
|
| 246 |
#. type: tbl table |
| 247 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 248 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 249 |
#, no-wrap |
| 250 |
msgid "Thread safety" |
| 251 |
msgstr "Siguranța firelor" |
| 252 |
|
| 253 |
#. type: tbl table |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "MT-Safe" |
| 258 |
msgstr "MT-Safe" |
| 259 |
|
| 260 |
#. type: SH |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "STANDARDS" |
| 265 |
msgstr "STANDARDE" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
msgid "C11, POSIX.1-2008." |
| 271 |
msgstr "C11, POSIX.1-2008." |
| 272 |
|
| 273 |
#. type: SH |
| 274 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 275 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 276 |
#, no-wrap |
| 277 |
msgid "HISTORY" |
| 278 |
msgstr "ISTORIC" |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
msgid "POSIX.1-2001, C89." |
| 284 |
msgstr "POSIX.1-2001, C89." |
| 285 |
|
| 286 |
#. type: SH |
| 287 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 288 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 289 |
#, no-wrap |
| 290 |
msgid "EXAMPLES" |
| 291 |
msgstr "EXEMPLE" |
| 292 |
|
| 293 |
#. type: Plain text |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
msgid "" |
| 297 |
"The program below demonstrates the use of B<fread>() by parsing /bin/sh ELF " |
| 298 |
"executable in binary mode and printing its magic and class:" |
| 299 |
msgstr "" |
| 300 |
"Programul de mai jos demonstrează utilizarea B<fread>() analizând " |
| 301 |
"executabilul /bin/sh ELF în modul binar și imprimând numărul magic și clasa " |
| 302 |
"acestuia:" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 306 |
#: opensuse-tumbleweed |
| 307 |
#, no-wrap |
| 308 |
msgid "" |
| 309 |
"$B< ./a.out>;\n" |
| 310 |
"ELF magic: 0x7f454c46\n" |
| 311 |
"Class: 0x02\n" |
| 312 |
msgstr "" |
| 313 |
"$B< ./a.out>;\n" |
| 314 |
"ELF magic: 0x7f454c46\n" |
| 315 |
"Class: 0x02\n" |
| 316 |
|
| 317 |
#. type: SS |
| 318 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 319 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 320 |
#, no-wrap |
| 321 |
msgid "Program source" |
| 322 |
msgstr "Sursa programului" |
| 323 |
|
| 324 |
#. type: Plain text |
| 325 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 326 |
#: opensuse-tumbleweed |
| 327 |
#, no-wrap |
| 328 |
msgid "" |
| 329 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 330 |
"#include E<lt>stdio.hE<gt>\n" |
| 331 |
"#include E<lt>stdlib.hE<gt>\n" |
| 332 |
"\\&\n" |
| 333 |
"int\n" |
| 334 |
"main(void)\n" |
| 335 |
"{\n" |
| 336 |
" FILE *fp;\n" |
| 337 |
" size_t ret;\n" |
| 338 |
" unsigned char buffer[4];\n" |
| 339 |
"\\&\n" |
| 340 |
" fp = fopen(\"/bin/sh\", \"rb\");\n" |
| 341 |
" if (!fp) {\n" |
| 342 |
" perror(\"fopen\");\n" |
| 343 |
" return EXIT_FAILURE;\n" |
| 344 |
" }\n" |
| 345 |
"\\&\n" |
| 346 |
" ret = fread(buffer, sizeof(*buffer), countof(buffer), fp);\n" |
| 347 |
" if (ret != countof(buffer)) {\n" |
| 348 |
" fprintf(stderr, \"fread() failed: %zu\\[rs]n\", ret);\n" |
| 349 |
" exit(EXIT_FAILURE);\n" |
| 350 |
" }\n" |
| 351 |
"\\&\n" |
| 352 |
" printf(\"ELF magic: %#04x%02x%02x%02x\\[rs]n\", buffer[0], buffer[1],\n" |
| 353 |
" buffer[2], buffer[3]);\n" |
| 354 |
"\\&\n" |
| 355 |
" ret = fread(buffer, 1, 1, fp);\n" |
| 356 |
" if (ret != 1) {\n" |
| 357 |
" fprintf(stderr, \"fread() failed: %zu\\[rs]n\", ret);\n" |
| 358 |
" exit(EXIT_FAILURE);\n" |
| 359 |
" }\n" |
| 360 |
"\\&\n" |
| 361 |
" printf(\"Class: %#04x\\[rs]n\", buffer[0]);\n" |
| 362 |
"\\&\n" |
| 363 |
" fclose(fp);\n" |
| 364 |
"\\&\n" |
| 365 |
" exit(EXIT_SUCCESS);\n" |
| 366 |
"}\n" |
| 367 |
msgstr "" |
| 368 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 369 |
"#include E<lt>stdio.hE<gt>\n" |
| 370 |
"#include E<lt>stdlib.hE<gt>\n" |
| 371 |
"\\&\n" |
| 372 |
"int\n" |
| 373 |
"main(void)\n" |
| 374 |
"{\n" |
| 375 |
" FILE *fp;\n" |
| 376 |
" size_t ret;\n" |
| 377 |
" unsigned char buffer[4];\n" |
| 378 |
"\\&\n" |
| 379 |
" fp = fopen(\"/bin/sh\", \"rb\");\n" |
| 380 |
" if (!fp) {\n" |
| 381 |
" perror(\"fopen\");\n" |
| 382 |
" return EXIT_FAILURE;\n" |
| 383 |
" }\n" |
| 384 |
"\\&\n" |
| 385 |
" ret = fread(buffer, sizeof(*buffer), countof(buffer), fp);\n" |
| 386 |
" if (ret != countof(buffer)) {\n" |
| 387 |
" fprintf(stderr, \"fread() a eșuat: %zu\\[rs]n\", ret);\n" |
| 388 |
" exit(EXIT_FAILURE);\n" |
| 389 |
" }\n" |
| 390 |
"\\&\n" |
| 391 |
" printf(\"numărul magic ELF: %#04x%02x%02x%02x\\[rs]n\", buffer[0], buffer[1],\n" |
| 392 |
" buffer[2], buffer[3]);\n" |
| 393 |
"\\&\n" |
| 394 |
" ret = fread(buffer, 1, 1, fp);\n" |
| 395 |
" if (ret != 1) {\n" |
| 396 |
" fprintf(stderr, \"fread() a eșuat: %zu\\[rs]n\", ret);\n" |
| 397 |
" exit(EXIT_FAILURE);\n" |
| 398 |
" }\n" |
| 399 |
"\\&\n" |
| 400 |
" printf(\"Clasa: %#04x\\[rs]n\", buffer[0]);\n" |
| 401 |
"\\&\n" |
| 402 |
" fclose(fp);\n" |
| 403 |
"\\&\n" |
| 404 |
" exit(EXIT_SUCCESS);\n" |
| 405 |
"}\n" |
| 406 |
|
| 407 |
#. SRC END |
| 408 |
#. type: SH |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid "SEE ALSO" |
| 413 |
msgstr "CONSULTAȚI ȘI" |
| 414 |
|
| 415 |
#. type: Plain text |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
msgid "B<read>(2), B<write>(2), B<feof>(3), B<ferror>(3), B<unlocked_stdio>(3)" |
| 419 |
msgstr "" |
| 420 |
"B<read>(2), B<write>(2), B<feof>(3), B<ferror>(3), B<unlocked_stdio>(3)" |
| 421 |
|
| 422 |
#. type: TH |
| 423 |
#: debian-trixie |
| 424 |
#, no-wrap |
| 425 |
msgid "2024-06-15" |
| 426 |
msgstr "15 iunie 2024" |
| 427 |
|
| 428 |
#. type: TH |
| 429 |
#: debian-trixie |
| 430 |
#, no-wrap |
| 431 |
msgid "Linux man-pages 6.9.1" |
| 432 |
msgstr "Pagini de manual de Linux 6.9.1" |
| 433 |
|
| 434 |
#. type: Plain text |
| 435 |
#: debian-trixie |
| 436 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 437 |
msgstr "Biblioteca C standard (I<libc>, I<-lc>)" |
| 438 |
|
| 439 |
#. type: Plain text |
| 440 |
#: debian-trixie |
| 441 |
#, no-wrap |
| 442 |
msgid "" |
| 443 |
"B<size_t fread(void >I<ptr>B<[restrict .>I<size>B< * .>I<nmemb>B<],>\n" |
| 444 |
"B< size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 445 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 446 |
"B<size_t fwrite(const void >I<ptr>B<[restrict .>I<size>B< * .>I<nmemb>B<],>\n" |
| 447 |
"B< size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 448 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 449 |
msgstr "" |
| 450 |
"B<size_t fread(void >I<ptr>B<[restrict .>I<size>B< * .>I<nmemb>B<],>\n" |
| 451 |
"B< size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 452 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 453 |
"B<size_t fwrite(const void >I<ptr>B<[restrict .>I<size>B< * .>I<nmemb>B<],>\n" |
| 454 |
"B< size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 455 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 456 |
|
| 457 |
#. type: Plain text |
| 458 |
#: debian-trixie |
| 459 |
msgid "" |
| 460 |
"The function B<fread>() reads I<nmemb> items of data, each I<size> bytes " |
| 461 |
"long, from the stream pointed to by I<stream>, storing them at the location " |
| 462 |
"given by I<ptr>." |
| 463 |
msgstr "" |
| 464 |
"Funcția B<fread>() citește I<nmemb> elemente de date, fiecare cu lungimea de " |
| 465 |
"I<size> octeți, din fluxul indicat de I<stream>, stocându-le la locația " |
| 466 |
"indicată de I<ptr>." |
| 467 |
|
| 468 |
#. type: Plain text |
| 469 |
#: debian-trixie |
| 470 |
msgid "" |
| 471 |
"The function B<fwrite>() writes I<nmemb> items of data, each I<size> bytes " |
| 472 |
"long, to the stream pointed to by I<stream>, obtaining them from the " |
| 473 |
"location given by I<ptr>." |
| 474 |
msgstr "" |
| 475 |
"Funcția B<fwrite>() scrie I<nmemb> elemente de date, fiecare cu o lungime de " |
| 476 |
"I<size> octeți, în fluxul indicat de I<stream>, obținându-le din locația " |
| 477 |
"dată de I<ptr>." |
| 478 |
|
| 479 |
#. type: Plain text |
| 480 |
#: debian-trixie fedora-44 fedora-rawhide |
| 481 |
#, no-wrap |
| 482 |
msgid "" |
| 483 |
"$ B<./a.out>\n" |
| 484 |
"ELF magic: 0x7f454c46\n" |
| 485 |
"Class: 0x02\n" |
| 486 |
msgstr "" |
| 487 |
"$ B<./a.out>\n" |
| 488 |
"ELF magic: 0x7f454c46\n" |
| 489 |
"Class: 0x02\n" |
| 490 |
|
| 491 |
#. type: Plain text |
| 492 |
#: debian-trixie fedora-44 fedora-rawhide |
| 493 |
#, no-wrap |
| 494 |
msgid "" |
| 495 |
"#include E<lt>stdio.hE<gt>\n" |
| 496 |
"#include E<lt>stdlib.hE<gt>\n" |
| 497 |
"\\&\n" |
| 498 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 499 |
"\\&\n" |
| 500 |
"int\n" |
| 501 |
"main(void)\n" |
| 502 |
"{\n" |
| 503 |
" FILE *fp;\n" |
| 504 |
" size_t ret;\n" |
| 505 |
" unsigned char buffer[4];\n" |
| 506 |
"\\&\n" |
| 507 |
" fp = fopen(\"/bin/sh\", \"rb\");\n" |
| 508 |
" if (!fp) {\n" |
| 509 |
" perror(\"fopen\");\n" |
| 510 |
" return EXIT_FAILURE;\n" |
| 511 |
" }\n" |
| 512 |
"\\&\n" |
| 513 |
" ret = fread(buffer, sizeof(*buffer), ARRAY_SIZE(buffer), fp);\n" |
| 514 |
" if (ret != ARRAY_SIZE(buffer)) {\n" |
| 515 |
" fprintf(stderr, \"fread() failed: %zu\\[rs]n\", ret);\n" |
| 516 |
" exit(EXIT_FAILURE);\n" |
| 517 |
" }\n" |
| 518 |
"\\&\n" |
| 519 |
" printf(\"ELF magic: %#04x%02x%02x%02x\\[rs]n\", buffer[0], buffer[1],\n" |
| 520 |
" buffer[2], buffer[3]);\n" |
| 521 |
"\\&\n" |
| 522 |
" ret = fread(buffer, 1, 1, fp);\n" |
| 523 |
" if (ret != 1) {\n" |
| 524 |
" fprintf(stderr, \"fread() failed: %zu\\[rs]n\", ret);\n" |
| 525 |
" exit(EXIT_FAILURE);\n" |
| 526 |
" }\n" |
| 527 |
"\\&\n" |
| 528 |
" printf(\"Class: %#04x\\[rs]n\", buffer[0]);\n" |
| 529 |
"\\&\n" |
| 530 |
" fclose(fp);\n" |
| 531 |
"\\&\n" |
| 532 |
" exit(EXIT_SUCCESS);\n" |
| 533 |
"}\n" |
| 534 |
msgstr "" |
| 535 |
"#include E<lt>stdio.hE<gt>\n" |
| 536 |
"#include E<lt>stdlib.hE<gt>\n" |
| 537 |
"\\&\n" |
| 538 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 539 |
"\\&\n" |
| 540 |
"int\n" |
| 541 |
"main(void)\n" |
| 542 |
"{\n" |
| 543 |
" FILE *fp;\n" |
| 544 |
" size_t ret;\n" |
| 545 |
" unsigned char buffer[4];\n" |
| 546 |
"\\&\n" |
| 547 |
" fp = fopen(\"/bin/sh\", \"rb\");\n" |
| 548 |
" if (!fp) {\n" |
| 549 |
" perror(\"fopen\");\n" |
| 550 |
" return EXIT_FAILURE;\n" |
| 551 |
" }\n" |
| 552 |
"\\&\n" |
| 553 |
" ret = fread(buffer, sizeof(*buffer), ARRAY_SIZE(buffer), fp);\n" |
| 554 |
" if (ret != ARRAY_SIZE(buffer)) {\n" |
| 555 |
" fprintf(stderr, \"fread() a eșuat: %zu\\[rs]n\", ret);\n" |
| 556 |
" exit(EXIT_FAILURE);\n" |
| 557 |
" }\n" |
| 558 |
"\\&\n" |
| 559 |
" printf(\"numărul magic ELF: %#04x%02x%02x%02x\\[rs]n\", buffer[0], buffer[1],\n" |
| 560 |
" buffer[2], buffer[3]);\n" |
| 561 |
"\\&\n" |
| 562 |
" ret = fread(buffer, 1, 1, fp);\n" |
| 563 |
" if (ret != 1) {\n" |
| 564 |
" fprintf(stderr, \"fread() a eșuat: %zu\\[rs]n\", ret);\n" |
| 565 |
" exit(EXIT_FAILURE);\n" |
| 566 |
" }\n" |
| 567 |
"\\&\n" |
| 568 |
" printf(\"Clasa: %#04x\\[rs]n\", buffer[0]);\n" |
| 569 |
"\\&\n" |
| 570 |
" fclose(fp);\n" |
| 571 |
"\\&\n" |
| 572 |
" exit(EXIT_SUCCESS);\n" |
| 573 |
"}\n" |
| 574 |
|
| 575 |
#. type: TH |
| 576 |
#: fedora-44 fedora-rawhide |
| 577 |
#, no-wrap |
| 578 |
msgid "2024-11-17" |
| 579 |
msgstr "17 noiembrie 2024" |
| 580 |
|
| 581 |
#. type: TH |
| 582 |
#: fedora-44 fedora-rawhide |
| 583 |
#, no-wrap |
| 584 |
msgid "Linux man-pages 6.13" |
| 585 |
msgstr "Pagini de manual de Linux 6.13" |
| 586 |
|
| 587 |
#. type: Plain text |
| 588 |
#: fedora-44 fedora-rawhide |
| 589 |
#, no-wrap |
| 590 |
msgid "" |
| 591 |
"B<size_t fread(void >I<ptr>B<[restrict .>I<size>B< * .>I<n>B<],>\n" |
| 592 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 593 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 594 |
"B<size_t fwrite(const void >I<ptr>B<[restrict .>I<size>B< * .>I<n>B<],>\n" |
| 595 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 596 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 597 |
msgstr "" |
| 598 |
"B<size_t fread(void >I<ptr>B<[restrict .>I<size>B< * .>I<n>B<],>\n" |
| 599 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 600 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 601 |
"B<size_t fwrite(const void >I<ptr>B<[restrict .>I<size>B< * .>I<n>B<],>\n" |
| 602 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 603 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 604 |
|
| 605 |
#. type: TH |
| 606 |
#: mageia-cauldron |
| 607 |
#, no-wrap |
| 608 |
msgid "Linux man-pages 6.17" |
| 609 |
msgstr "Pagini de manual de Linux 6.17" |
| 610 |
|
| 611 |
#. type: TH |
| 612 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 613 |
#, no-wrap |
| 614 |
msgid "Linux man-pages (unreleased)" |
| 615 |
msgstr "Pagini de manual Linux (nepublicate)" |