| 1 |
# Spanish translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Gerardo Aburruzaga García <[email protected]>, 1998. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:24+0200\n" |
| 9 |
"PO-Revision-Date: 1998-01-20 09:59+0200\n" |
| 10 |
"Last-Translator: Gerardo Aburruzaga García <[email protected]>\n" |
| 11 |
"Language-Team: Spanish <[email protected]>\n" |
| 12 |
"Language: es\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=2; plural=(n != 1);\n" |
| 17 |
"X-Generator: Lokalize 20.04.1\n" |
| 18 |
|
| 19 |
#. type: TH |
| 20 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 21 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 22 |
#, no-wrap |
| 23 |
msgid "fread" |
| 24 |
msgstr "fread" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-10" |
| 31 |
msgstr "10 Febrero 2026" |
| 32 |
|
| 33 |
#. type: TH |
| 34 |
#: archlinux debian-unstable |
| 35 |
#, fuzzy, no-wrap |
| 36 |
#| msgid "Linux man-pages 6.17" |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "Páginas de Manual de Linux 6.17" |
| 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 "NOMBRE" |
| 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 - entrada/salida binaria de flujos de datos" |
| 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 Estándar C (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 |
#, fuzzy, no-wrap |
| 84 |
#| msgid "" |
| 85 |
#| "B<size_t fwrite(const void *>I<ptr>B<, size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 86 |
#| "B< FILE *>I<stream>B<);>\n" |
| 87 |
msgid "" |
| 88 |
"B<size_t fread(>size_t size, size_t n;\n" |
| 89 |
"B< void >I<ptr>B<[restrict >I<size>B< * >I<n>B<],>\n" |
| 90 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 91 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 92 |
"B<size_t fwrite(>size_t size, size_t n;\n" |
| 93 |
"B< const void >I<ptr>B<[restrict >I<size>B< * >I<n>B<],>\n" |
| 94 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 95 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 96 |
msgstr "" |
| 97 |
"B<size_t fwrite(const void *>I<ptr>B<, size_t >I<tam>B<, size_t >I<nmiemb>B<,>\n" |
| 98 |
"B< FILE *>I<flujo>B<);>\n" |
| 99 |
|
| 100 |
#. type: SH |
| 101 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 102 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 103 |
#, no-wrap |
| 104 |
msgid "DESCRIPTION" |
| 105 |
msgstr "DESCRIPCIÓN" |
| 106 |
|
| 107 |
#. type: Plain text |
| 108 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 109 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 110 |
#, fuzzy |
| 111 |
#| msgid "" |
| 112 |
#| "The function B<fread>() reads I<nmemb> items of data, each I<size> bytes " |
| 113 |
#| "long, from the stream pointed to by I<stream>, storing them at the " |
| 114 |
#| "location given by I<ptr>." |
| 115 |
msgid "" |
| 116 |
"The function B<fread>() reads I<n> items of data, each I<size> bytes long, " |
| 117 |
"from the stream pointed to by I<stream>, storing them at the location given " |
| 118 |
"by I<ptr>." |
| 119 |
msgstr "" |
| 120 |
"La función B<fread>() lee I<nmiemb> elementos de datos, cada uno de I<tam> " |
| 121 |
"bytes de largo, del flujo de datos apuntado por I<flujo>, almacenándolos en " |
| 122 |
"el sitio apuntado por I<ptr>." |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 126 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
#, fuzzy |
| 128 |
#| msgid "" |
| 129 |
#| "The function B<fwrite>() writes I<nmemb> items of data, each I<size> " |
| 130 |
#| "bytes long, to the stream pointed to by I<stream>, obtaining them from " |
| 131 |
#| "the location given by I<ptr>." |
| 132 |
msgid "" |
| 133 |
"The function B<fwrite>() writes I<n> items of data, each I<size> bytes " |
| 134 |
"long, to the stream pointed to by I<stream>, obtaining them from the " |
| 135 |
"location given by I<ptr>." |
| 136 |
msgstr "" |
| 137 |
"La función B<fwrite>() escribe I<nmiemb> elementos de datos, cada uno de " |
| 138 |
"I<tam> bytes de largo, al flujo de datos apuntado por I<flujo>, " |
| 139 |
"obteniéndolos del sitio apuntado por I<ptr>." |
| 140 |
|
| 141 |
#. type: Plain text |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
msgid "For nonlocking counterparts, see B<unlocked_stdio>(3)." |
| 145 |
msgstr "Para las versiones no-bloqueantes, véase B<unlocked_stdio>(3)." |
| 146 |
|
| 147 |
#. type: SH |
| 148 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 149 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 150 |
#, no-wrap |
| 151 |
msgid "RETURN VALUE" |
| 152 |
msgstr "VALOR DEVUELTO" |
| 153 |
|
| 154 |
#. type: Plain text |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
#, fuzzy |
| 158 |
#| msgid "" |
| 159 |
#| "B<fread> and B<fwrite> return the number of items successfully read or " |
| 160 |
#| "written (i.e., not the number of characters). If an error occurs, or the " |
| 161 |
#| "end-of-file is reached, the return value is a short item count (or zero)." |
| 162 |
msgid "" |
| 163 |
"On success, B<fread>() and B<fwrite>() return the number of items read or " |
| 164 |
"written. This number equals the number of bytes transferred only when " |
| 165 |
"I<size> is 1. If an error occurs, or the end of the file is reached, the " |
| 166 |
"return value is a short item count (or zero)." |
| 167 |
msgstr "" |
| 168 |
"B<fread> y B<fwrite> devuelven el número de elementos (no de caracteres) " |
| 169 |
"leídos o escritos correctamente. Si ocurre un error o se llega al fin-de-" |
| 170 |
"fichero, el valor devuelto es un número menor del esperado (o cero)." |
| 171 |
|
| 172 |
#. type: Plain text |
| 173 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 174 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 175 |
msgid "" |
| 176 |
"The file position indicator for the stream is advanced by the number of " |
| 177 |
"bytes successfully read or written." |
| 178 |
msgstr "" |
| 179 |
|
| 180 |
#. type: Plain text |
| 181 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 182 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 183 |
msgid "" |
| 184 |
"B<fread>() does not distinguish between end-of-file and error, and callers " |
| 185 |
"must use B<feof>(3) and B<ferror>(3) to determine which occurred." |
| 186 |
msgstr "" |
| 187 |
"B<fread>() no distingue entre fin-de-fichero y error, así que quien llame a " |
| 188 |
"esta función debe emplear B<feof>(3) y B<ferror>(3) para determinar qué ha " |
| 189 |
"ocurrido." |
| 190 |
|
| 191 |
#. type: SH |
| 192 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 193 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 194 |
#, no-wrap |
| 195 |
msgid "ATTRIBUTES" |
| 196 |
msgstr "ATRIBUTOS" |
| 197 |
|
| 198 |
#. type: Plain text |
| 199 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 200 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 201 |
msgid "" |
| 202 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 203 |
msgstr "" |
| 204 |
"Para obtener una explicación de los términos usados en esta sección, véase " |
| 205 |
"B<attributes>(7)." |
| 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 "Interface" |
| 212 |
msgstr "Interfaz" |
| 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 "Attribute" |
| 219 |
msgstr "Atributo" |
| 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 "Value" |
| 226 |
msgstr "Valor" |
| 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 ".na\n" |
| 233 |
msgstr ".na\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 ".nh\n" |
| 240 |
msgstr ".nh\n" |
| 241 |
|
| 242 |
#. type: tbl table |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
#, no-wrap |
| 246 |
msgid "" |
| 247 |
"B<fread>(),\n" |
| 248 |
"B<fwrite>()" |
| 249 |
msgstr "" |
| 250 |
"B<fread>(),\n" |
| 251 |
"B<fwrite>()" |
| 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 "Thread safety" |
| 258 |
msgstr "Seguridad del hilo" |
| 259 |
|
| 260 |
#. type: tbl table |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "MT-Safe" |
| 265 |
msgstr "Multi-hilo seguro" |
| 266 |
|
| 267 |
#. type: SH |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
#, no-wrap |
| 271 |
msgid "STANDARDS" |
| 272 |
msgstr "ESTÁNDARES" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "C11, POSIX.1-2008." |
| 278 |
msgstr "C11, POSIX.1-2008." |
| 279 |
|
| 280 |
#. type: SH |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, no-wrap |
| 284 |
msgid "HISTORY" |
| 285 |
msgstr "HISTORIAL" |
| 286 |
|
| 287 |
#. type: Plain text |
| 288 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 289 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 290 |
msgid "POSIX.1-2001, C89." |
| 291 |
msgstr "POSIX.1-2001, C89." |
| 292 |
|
| 293 |
#. type: SH |
| 294 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 295 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 296 |
#, no-wrap |
| 297 |
msgid "EXAMPLES" |
| 298 |
msgstr "EJEMPLOS" |
| 299 |
|
| 300 |
#. type: Plain text |
| 301 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 302 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 303 |
msgid "" |
| 304 |
"The program below demonstrates the use of B<fread>() by parsing /bin/sh ELF " |
| 305 |
"executable in binary mode and printing its magic and class:" |
| 306 |
msgstr "" |
| 307 |
|
| 308 |
#. type: Plain text |
| 309 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 310 |
#: opensuse-tumbleweed |
| 311 |
#, fuzzy, no-wrap |
| 312 |
#| msgid "" |
| 313 |
#| "$ B<./a.out>\n" |
| 314 |
#| "ELF magic: 0x7f454c46\n" |
| 315 |
#| "Class: 0x02\n" |
| 316 |
msgid "" |
| 317 |
"$B< ./a.out>;\n" |
| 318 |
"ELF magic: 0x7f454c46\n" |
| 319 |
"Class: 0x02\n" |
| 320 |
msgstr "" |
| 321 |
"$ B<./a.out>\n" |
| 322 |
"ELF magic: 0x7f454c46\n" |
| 323 |
"Class: 0x02\n" |
| 324 |
|
| 325 |
#. type: SS |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "Program source" |
| 330 |
msgstr "Código fuente" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 334 |
#: opensuse-tumbleweed |
| 335 |
#, no-wrap |
| 336 |
msgid "" |
| 337 |
"#include E<lt>stdcountof.hE<gt>\n" |
| 338 |
"#include E<lt>stdio.hE<gt>\n" |
| 339 |
"#include E<lt>stdlib.hE<gt>\n" |
| 340 |
"\\&\n" |
| 341 |
"int\n" |
| 342 |
"main(void)\n" |
| 343 |
"{\n" |
| 344 |
" FILE *fp;\n" |
| 345 |
" size_t ret;\n" |
| 346 |
" unsigned char buffer[4];\n" |
| 347 |
"\\&\n" |
| 348 |
" fp = fopen(\"/bin/sh\", \"rb\");\n" |
| 349 |
" if (!fp) {\n" |
| 350 |
" perror(\"fopen\");\n" |
| 351 |
" return EXIT_FAILURE;\n" |
| 352 |
" }\n" |
| 353 |
"\\&\n" |
| 354 |
" ret = fread(buffer, sizeof(*buffer), countof(buffer), fp);\n" |
| 355 |
" if (ret != countof(buffer)) {\n" |
| 356 |
" fprintf(stderr, \"fread() failed: %zu\\[rs]n\", ret);\n" |
| 357 |
" exit(EXIT_FAILURE);\n" |
| 358 |
" }\n" |
| 359 |
"\\&\n" |
| 360 |
" printf(\"ELF magic: %#04x%02x%02x%02x\\[rs]n\", buffer[0], buffer[1],\n" |
| 361 |
" buffer[2], buffer[3]);\n" |
| 362 |
"\\&\n" |
| 363 |
" ret = fread(buffer, 1, 1, fp);\n" |
| 364 |
" if (ret != 1) {\n" |
| 365 |
" fprintf(stderr, \"fread() failed: %zu\\[rs]n\", ret);\n" |
| 366 |
" exit(EXIT_FAILURE);\n" |
| 367 |
" }\n" |
| 368 |
"\\&\n" |
| 369 |
" printf(\"Class: %#04x\\[rs]n\", buffer[0]);\n" |
| 370 |
"\\&\n" |
| 371 |
" fclose(fp);\n" |
| 372 |
"\\&\n" |
| 373 |
" exit(EXIT_SUCCESS);\n" |
| 374 |
"}\n" |
| 375 |
msgstr "" |
| 376 |
|
| 377 |
#. SRC END |
| 378 |
#. type: SH |
| 379 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 380 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 381 |
#, no-wrap |
| 382 |
msgid "SEE ALSO" |
| 383 |
msgstr "VÉASE TAMBIÉN" |
| 384 |
|
| 385 |
#. type: Plain text |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
msgid "B<read>(2), B<write>(2), B<feof>(3), B<ferror>(3), B<unlocked_stdio>(3)" |
| 389 |
msgstr "" |
| 390 |
"B<read>(2), B<write>(2), B<feof>(3), B<ferror>(3), B<unlocked_stdio>(3)" |
| 391 |
|
| 392 |
#. type: TH |
| 393 |
#: debian-trixie |
| 394 |
#, no-wrap |
| 395 |
msgid "2024-06-15" |
| 396 |
msgstr "15 Junio 2024" |
| 397 |
|
| 398 |
#. type: TH |
| 399 |
#: debian-trixie |
| 400 |
#, no-wrap |
| 401 |
msgid "Linux man-pages 6.9.1" |
| 402 |
msgstr "Páginas de Manual de Linux 6.9.1" |
| 403 |
|
| 404 |
#. type: Plain text |
| 405 |
#: debian-trixie |
| 406 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 407 |
msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)" |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: debian-trixie |
| 411 |
#, fuzzy, no-wrap |
| 412 |
#| msgid "" |
| 413 |
#| "B<size_t fwrite(const void *>I<ptr>B<, size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 414 |
#| "B< FILE *>I<stream>B<);>\n" |
| 415 |
msgid "" |
| 416 |
"B<size_t fread(void >I<ptr>B<[restrict .>I<size>B< * .>I<nmemb>B<],>\n" |
| 417 |
"B< size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 418 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 419 |
"B<size_t fwrite(const void >I<ptr>B<[restrict .>I<size>B< * .>I<nmemb>B<],>\n" |
| 420 |
"B< size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 421 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 422 |
msgstr "" |
| 423 |
"B<size_t fwrite(const void *>I<ptr>B<, size_t >I<tam>B<, size_t >I<nmiemb>B<,>\n" |
| 424 |
"B< FILE *>I<flujo>B<);>\n" |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: debian-trixie |
| 428 |
msgid "" |
| 429 |
"The function B<fread>() reads I<nmemb> items of data, each I<size> bytes " |
| 430 |
"long, from the stream pointed to by I<stream>, storing them at the location " |
| 431 |
"given by I<ptr>." |
| 432 |
msgstr "" |
| 433 |
"La función B<fread>() lee I<nmiemb> elementos de datos, cada uno de I<tam> " |
| 434 |
"bytes de largo, del flujo de datos apuntado por I<flujo>, almacenándolos en " |
| 435 |
"el sitio apuntado por I<ptr>." |
| 436 |
|
| 437 |
#. type: Plain text |
| 438 |
#: debian-trixie |
| 439 |
msgid "" |
| 440 |
"The function B<fwrite>() writes I<nmemb> items of data, each I<size> bytes " |
| 441 |
"long, to the stream pointed to by I<stream>, obtaining them from the " |
| 442 |
"location given by I<ptr>." |
| 443 |
msgstr "" |
| 444 |
"La función B<fwrite>() escribe I<nmiemb> elementos de datos, cada uno de " |
| 445 |
"I<tam> bytes de largo, al flujo de datos apuntado por I<flujo>, " |
| 446 |
"obteniéndolos del sitio apuntado por I<ptr>." |
| 447 |
|
| 448 |
#. type: Plain text |
| 449 |
#: debian-trixie fedora-44 fedora-rawhide |
| 450 |
#, no-wrap |
| 451 |
msgid "" |
| 452 |
"$ B<./a.out>\n" |
| 453 |
"ELF magic: 0x7f454c46\n" |
| 454 |
"Class: 0x02\n" |
| 455 |
msgstr "" |
| 456 |
"$ B<./a.out>\n" |
| 457 |
"ELF magic: 0x7f454c46\n" |
| 458 |
"Class: 0x02\n" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: debian-trixie fedora-44 fedora-rawhide |
| 462 |
#, no-wrap |
| 463 |
msgid "" |
| 464 |
"#include E<lt>stdio.hE<gt>\n" |
| 465 |
"#include E<lt>stdlib.hE<gt>\n" |
| 466 |
"\\&\n" |
| 467 |
"#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))\n" |
| 468 |
"\\&\n" |
| 469 |
"int\n" |
| 470 |
"main(void)\n" |
| 471 |
"{\n" |
| 472 |
" FILE *fp;\n" |
| 473 |
" size_t ret;\n" |
| 474 |
" unsigned char buffer[4];\n" |
| 475 |
"\\&\n" |
| 476 |
" fp = fopen(\"/bin/sh\", \"rb\");\n" |
| 477 |
" if (!fp) {\n" |
| 478 |
" perror(\"fopen\");\n" |
| 479 |
" return EXIT_FAILURE;\n" |
| 480 |
" }\n" |
| 481 |
"\\&\n" |
| 482 |
" ret = fread(buffer, sizeof(*buffer), ARRAY_SIZE(buffer), fp);\n" |
| 483 |
" if (ret != ARRAY_SIZE(buffer)) {\n" |
| 484 |
" fprintf(stderr, \"fread() failed: %zu\\[rs]n\", ret);\n" |
| 485 |
" exit(EXIT_FAILURE);\n" |
| 486 |
" }\n" |
| 487 |
"\\&\n" |
| 488 |
" printf(\"ELF magic: %#04x%02x%02x%02x\\[rs]n\", buffer[0], buffer[1],\n" |
| 489 |
" buffer[2], buffer[3]);\n" |
| 490 |
"\\&\n" |
| 491 |
" ret = fread(buffer, 1, 1, fp);\n" |
| 492 |
" if (ret != 1) {\n" |
| 493 |
" fprintf(stderr, \"fread() failed: %zu\\[rs]n\", ret);\n" |
| 494 |
" exit(EXIT_FAILURE);\n" |
| 495 |
" }\n" |
| 496 |
"\\&\n" |
| 497 |
" printf(\"Class: %#04x\\[rs]n\", buffer[0]);\n" |
| 498 |
"\\&\n" |
| 499 |
" fclose(fp);\n" |
| 500 |
"\\&\n" |
| 501 |
" exit(EXIT_SUCCESS);\n" |
| 502 |
"}\n" |
| 503 |
msgstr "" |
| 504 |
|
| 505 |
#. type: TH |
| 506 |
#: fedora-44 fedora-rawhide |
| 507 |
#, no-wrap |
| 508 |
msgid "2024-11-17" |
| 509 |
msgstr "17 Noviembre 2024" |
| 510 |
|
| 511 |
#. type: TH |
| 512 |
#: fedora-44 fedora-rawhide |
| 513 |
#, no-wrap |
| 514 |
msgid "Linux man-pages 6.13" |
| 515 |
msgstr "Páginas de Manual de Linux 6.13" |
| 516 |
|
| 517 |
#. type: Plain text |
| 518 |
#: fedora-44 fedora-rawhide |
| 519 |
#, fuzzy, no-wrap |
| 520 |
#| msgid "" |
| 521 |
#| "B<size_t fwrite(const void *>I<ptr>B<, size_t >I<size>B<, size_t >I<nmemb>B<,>\n" |
| 522 |
#| "B< FILE *>I<stream>B<);>\n" |
| 523 |
msgid "" |
| 524 |
"B<size_t fread(void >I<ptr>B<[restrict .>I<size>B< * .>I<n>B<],>\n" |
| 525 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 526 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 527 |
"B<size_t fwrite(const void >I<ptr>B<[restrict .>I<size>B< * .>I<n>B<],>\n" |
| 528 |
"B< size_t >I<size>B<, size_t >I<n>B<,>\n" |
| 529 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 530 |
msgstr "" |
| 531 |
"B<size_t fwrite(const void *>I<ptr>B<, size_t >I<tam>B<, size_t >I<nmiemb>B<,>\n" |
| 532 |
"B< FILE *>I<flujo>B<);>\n" |
| 533 |
|
| 534 |
#. type: TH |
| 535 |
#: mageia-cauldron |
| 536 |
#, no-wrap |
| 537 |
msgid "Linux man-pages 6.17" |
| 538 |
msgstr "Páginas de Manual de Linux 6.17" |
| 539 |
|
| 540 |
#. type: TH |
| 541 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 542 |
#, no-wrap |
| 543 |
msgid "Linux man-pages (unreleased)" |
| 544 |
msgstr "Páginas de Manual de Linux (no publicadas)" |