| 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 |
# Miguel Pérez Ibars <[email protected]>, 2004. |
| 5 |
# Marcos Fouces <[email protected]>, 2023. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 10 |
"PO-Revision-Date: 2023-02-28 18:56+0100\n" |
| 11 |
"Last-Translator: Marcos Fouces <[email protected]>\n" |
| 12 |
"Language-Team: Spanish <[email protected]>\n" |
| 13 |
"Language: es\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Plural-Forms: nplurals=2; plural=(n != 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 "getline" |
| 24 |
msgstr "getline" |
| 25 |
|
| 26 |
#. type: TH |
| 27 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 28 |
#: opensuse-tumbleweed |
| 29 |
#, no-wrap |
| 30 |
msgid "2026-02-08" |
| 31 |
msgstr "8 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 "getline, getdelim - delimited string input" |
| 51 |
msgstr "getline, getdelim - entrada de cadena delimitada" |
| 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-trixie debian-unstable fedora-44 fedora-rawhide |
| 82 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 83 |
#, no-wrap |
| 84 |
msgid "" |
| 85 |
"B<ssize_t getline(char **restrict >I<lineptr>B<, size_t *restrict >I<n>B<,>\n" |
| 86 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 87 |
"B<ssize_t getdelim(char **restrict >I<lineptr>B<, size_t *restrict >I<n>B<,>\n" |
| 88 |
"B< int >I<delim>B<, FILE *restrict >I<stream>B<);>\n" |
| 89 |
msgstr "" |
| 90 |
"B<ssize_t getline(char **restrict >I<lineptr>B<, size_t *restrict >I<n>B<,>\n" |
| 91 |
"B< FILE *restrict >I<stream>B<);>\n" |
| 92 |
"B<ssize_t getdelim(char **restrict >I<lineptr>B<, size_t *restrict >I<n>B<,>\n" |
| 93 |
"B< int >I<delim>B<, FILE *restrict >I<stream>B<);>\n" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
msgid "" |
| 99 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 100 |
msgstr "" |
| 101 |
"Requisitos de Macros de Prueba de Características para glibc (véase " |
| 102 |
"B<feature_test_macros>(7)):" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
msgid "B<getline>(), B<getdelim>():" |
| 108 |
msgstr "B<getline>(), B<getdelim>():" |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
#, no-wrap |
| 114 |
msgid "" |
| 115 |
" Since glibc 2.10:\n" |
| 116 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 117 |
" Before glibc 2.10:\n" |
| 118 |
" _GNU_SOURCE\n" |
| 119 |
msgstr "" |
| 120 |
" Desde glibc 2.10:\n" |
| 121 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 122 |
" Antes de glibc 2.10:\n" |
| 123 |
" _GNU_SOURCE\n" |
| 124 |
|
| 125 |
#. type: SH |
| 126 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 127 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 128 |
#, no-wrap |
| 129 |
msgid "DESCRIPTION" |
| 130 |
msgstr "DESCRIPCIÓN" |
| 131 |
|
| 132 |
#. type: Plain text |
| 133 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 134 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 135 |
#, fuzzy |
| 136 |
#| msgid "" |
| 137 |
#| "B<getline()> reads an entire line, storing the address of the buffer " |
| 138 |
#| "containing the text into I<*lineptr>. The buffer is null-terminated and " |
| 139 |
#| "includes the newline character, if a newline delimiter was found." |
| 140 |
msgid "" |
| 141 |
"B<getline>() reads an entire line from I<stream>, storing the address of " |
| 142 |
"the buffer containing the text into I<*lineptr>. The buffer is null-" |
| 143 |
"terminated and includes the newline character, if one was found." |
| 144 |
msgstr "" |
| 145 |
"B<getline()> lee una línea entera, almacenando la dirección del buffer que " |
| 146 |
"contiene el texto en I<*lineptr>. Al final del buffer se coloca el valor " |
| 147 |
"null y además se incluye el carácter nueva línea si se encontró el " |
| 148 |
"delimitador nueva línea." |
| 149 |
|
| 150 |
#. type: Plain text |
| 151 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 152 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 153 |
msgid "" |
| 154 |
"If I<*lineptr> is set to NULL before the call, then B<getline>() will " |
| 155 |
"allocate a buffer for storing the line. This buffer should be freed by the " |
| 156 |
"user program even if B<getline>() failed." |
| 157 |
msgstr "" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 161 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 162 |
#, fuzzy |
| 163 |
#| msgid "" |
| 164 |
#| "If I<*lineptr> is B<NULL>, the B<getline()> routine will allocate a " |
| 165 |
#| "buffer for containing the line, which must be freed by the user program. " |
| 166 |
#| "Alternatively, before calling B<getline()>, I<*lineptr> can contain a " |
| 167 |
#| "pointer to a B<malloc()>-allocated buffer I<*n> bytes in size. If the " |
| 168 |
#| "buffer is not large enough to hold the line read in, B<getline()> resizes " |
| 169 |
#| "the buffer to fit with B<realloc()>, updating I<*lineptr> and I<*n> as " |
| 170 |
#| "necessary. In either case, on a successful call, I<*lineptr> and I<*n> " |
| 171 |
#| "will be updated to reflect the buffer address and size respectively." |
| 172 |
msgid "" |
| 173 |
"Alternatively, before calling B<getline>(), I<*lineptr> can contain a " |
| 174 |
"pointer to a B<malloc>(3)-allocated buffer I<*n> bytes in size. If the " |
| 175 |
"buffer is not large enough to hold the line, B<getline>() resizes it with " |
| 176 |
"B<realloc>(3), updating I<*lineptr> and I<*n> as necessary." |
| 177 |
msgstr "" |
| 178 |
"Si I<*lineptr> es B<NULL>, la rutina B<getline()> reservará un buffer para " |
| 179 |
"contener la línea, que debe ser liberado por el programa de usuario. " |
| 180 |
"Alternativamente, antes de llamar a B<getline()>, I<*lineptr> puede contener " |
| 181 |
"un puntero a un buffer reservado via B<malloc()> de tamaño I<*n> bytes. Si " |
| 182 |
"el buffer no es lo suficientemente grande para almacenar la línea leída, " |
| 183 |
"B<getline()> redimensiona el buffer para que quepa con B<realloc()>, " |
| 184 |
"actualizando I<*lineptr> y I<*n> si es necesario. En cualquier caso, si la " |
| 185 |
"llamada tiene éxito, I<*lineptr> y I<*n> serán actualizados para reflejar la " |
| 186 |
"dirección del buffer y el tamaño respectivamente." |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
msgid "" |
| 192 |
"In either case, on a successful call, I<*lineptr> and I<*n> will be updated " |
| 193 |
"to reflect the buffer address and allocated size respectively." |
| 194 |
msgstr "" |
| 195 |
|
| 196 |
#. type: Plain text |
| 197 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 198 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 199 |
msgid "" |
| 200 |
"B<getdelim>() works like B<getline>(), except that a line delimiter other " |
| 201 |
"than newline can be specified as the I<delimiter> argument. As with " |
| 202 |
"B<getline>(), a delimiter character is not added if one was not present in " |
| 203 |
"the input before end of file was reached." |
| 204 |
msgstr "" |
| 205 |
"B<getdelim>() funciona como B<getline>(), salvo que se puede especificar " |
| 206 |
"otro delimitador de línea distinto de nueva línea en el argumento " |
| 207 |
"I<delimiter>. Como con B<getline>(), no se añade un carácter delimitador si " |
| 208 |
"no hay ninguno presente en la entrada antes de que se alcanze el fin del " |
| 209 |
"fichero." |
| 210 |
|
| 211 |
#. type: SH |
| 212 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 213 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
#, no-wrap |
| 215 |
msgid "RETURN VALUE" |
| 216 |
msgstr "VALOR DEVUELTO" |
| 217 |
|
| 218 |
#. type: Plain text |
| 219 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 220 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 221 |
#, fuzzy |
| 222 |
#| msgid "" |
| 223 |
#| "On success, B<getline()> and B<getdelim()> return the number of " |
| 224 |
#| "characters read, including the delimiter character, but not including the " |
| 225 |
#| "terminating null character. This value can be used to handle embedded " |
| 226 |
#| "null characters in the line read." |
| 227 |
msgid "" |
| 228 |
"On success, B<getline>() and B<getdelim>() return the number of characters " |
| 229 |
"read, including the delimiter character, but not including the terminating " |
| 230 |
"null byte (\\[aq]\\[rs]0\\[aq]). This value can be used to handle embedded " |
| 231 |
"null bytes in the line read." |
| 232 |
msgstr "" |
| 233 |
"En caso de éxito, B<getline()> y B<getdelim()> devuelven el número de " |
| 234 |
"caracteres leídos, incluyendo el carácter delimitador, pero sin incluir el " |
| 235 |
"carácter null del final. Este valor puede usarse para manejar los carácters " |
| 236 |
"null embebidos en la línea leída." |
| 237 |
|
| 238 |
#. type: Plain text |
| 239 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 240 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
#, fuzzy |
| 242 |
#| msgid "" |
| 243 |
#| "Both functions return -1 on failure to read a line (including end of file " |
| 244 |
#| "condition)." |
| 245 |
msgid "" |
| 246 |
"At end of file, both functions return -1 with the file stream end-of-file " |
| 247 |
"indicator set. On error, both functions return -1 with the file stream " |
| 248 |
"error indicator set, and I<errno> is set to indicate the error." |
| 249 |
msgstr "" |
| 250 |
"Ambas funciones devuelven -1 si fallan al leer una línea (incluyendo la " |
| 251 |
"condición de fin de fichero)." |
| 252 |
|
| 253 |
#. type: Plain text |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
msgid "" |
| 257 |
"If I<*lineptr> was set to NULL before the call, then the buffer should be " |
| 258 |
"freed by the user program even on failure." |
| 259 |
msgstr "" |
| 260 |
|
| 261 |
#. type: SH |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
#, no-wrap |
| 265 |
msgid "ERRORS" |
| 266 |
msgstr "ERRORES" |
| 267 |
|
| 268 |
#. type: TP |
| 269 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 270 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 271 |
#, no-wrap |
| 272 |
msgid "B<EINVAL>" |
| 273 |
msgstr "B<EINVAL>" |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
msgid "Bad arguments (I<n> or I<lineptr> is NULL, or I<stream> is not valid)." |
| 279 |
msgstr "" |
| 280 |
"Parámetros incorrectos (I<n> o I<lineptr> son NULL, o I<stream> no es " |
| 281 |
"válido)." |
| 282 |
|
| 283 |
#. type: TP |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
#, no-wrap |
| 287 |
msgid "B<ENOMEM>" |
| 288 |
msgstr "B<ENOMEM>" |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
msgid "Allocation or reallocation of the line buffer failed." |
| 294 |
msgstr "" |
| 295 |
|
| 296 |
#. type: SH |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
#, no-wrap |
| 300 |
msgid "ATTRIBUTES" |
| 301 |
msgstr "ATRIBUTOS" |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
msgid "" |
| 307 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 308 |
msgstr "" |
| 309 |
"Para obtener una explicación de los términos usados en esta sección, véase " |
| 310 |
"B<attributes>(7)." |
| 311 |
|
| 312 |
#. type: tbl table |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
#, no-wrap |
| 316 |
msgid "Interface" |
| 317 |
msgstr "Interfaz" |
| 318 |
|
| 319 |
#. type: tbl table |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
#, no-wrap |
| 323 |
msgid "Attribute" |
| 324 |
msgstr "Atributo" |
| 325 |
|
| 326 |
#. type: tbl table |
| 327 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 328 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 329 |
#, no-wrap |
| 330 |
msgid "Value" |
| 331 |
msgstr "Valor" |
| 332 |
|
| 333 |
#. type: tbl table |
| 334 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 335 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 336 |
#, no-wrap |
| 337 |
msgid ".na\n" |
| 338 |
msgstr ".na\n" |
| 339 |
|
| 340 |
#. type: tbl table |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid ".nh\n" |
| 345 |
msgstr ".nh\n" |
| 346 |
|
| 347 |
#. type: tbl table |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
#, no-wrap |
| 351 |
msgid "" |
| 352 |
"B<getline>(),\n" |
| 353 |
"B<getdelim>()" |
| 354 |
msgstr "" |
| 355 |
"B<getline>(),\n" |
| 356 |
"B<getdelim>()" |
| 357 |
|
| 358 |
#. type: tbl table |
| 359 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 360 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 361 |
#, no-wrap |
| 362 |
msgid "Thread safety" |
| 363 |
msgstr "Seguridad del hilo" |
| 364 |
|
| 365 |
#. type: tbl table |
| 366 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 367 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 368 |
#, no-wrap |
| 369 |
msgid "MT-Safe" |
| 370 |
msgstr "Multi-hilo seguro" |
| 371 |
|
| 372 |
#. type: SH |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
#, no-wrap |
| 376 |
msgid "STANDARDS" |
| 377 |
msgstr "ESTÁNDARES" |
| 378 |
|
| 379 |
#. type: Plain text |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
msgid "POSIX.1-2008." |
| 383 |
msgstr "POSIX.1-2008." |
| 384 |
|
| 385 |
#. type: SH |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
#, no-wrap |
| 389 |
msgid "HISTORY" |
| 390 |
msgstr "HISTORIAL" |
| 391 |
|
| 392 |
#. type: Plain text |
| 393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 395 |
#, fuzzy |
| 396 |
#| msgid "POSIX.1-2008." |
| 397 |
msgid "GNU, POSIX.1-2008." |
| 398 |
msgstr "POSIX.1-2008." |
| 399 |
|
| 400 |
#. type: SH |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
#, no-wrap |
| 404 |
msgid "EXAMPLES" |
| 405 |
msgstr "EJEMPLOS" |
| 406 |
|
| 407 |
#. type: Plain text |
| 408 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 409 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 410 |
#, no-wrap |
| 411 |
msgid "" |
| 412 |
"#define _GNU_SOURCE\n" |
| 413 |
"#include E<lt>stdio.hE<gt>\n" |
| 414 |
"#include E<lt>stdlib.hE<gt>\n" |
| 415 |
"\\&\n" |
| 416 |
"int\n" |
| 417 |
"main(int argc, char *argv[])\n" |
| 418 |
"{\n" |
| 419 |
" FILE *stream;\n" |
| 420 |
" char *line = NULL;\n" |
| 421 |
" size_t size = 0;\n" |
| 422 |
" ssize_t nread;\n" |
| 423 |
"\\&\n" |
| 424 |
" if (argc != 2) {\n" |
| 425 |
" fprintf(stderr, \"Usage: %s E<lt>fileE<gt>\\[rs]n\", argv[0]);\n" |
| 426 |
" exit(EXIT_FAILURE);\n" |
| 427 |
" }\n" |
| 428 |
"\\&\n" |
| 429 |
" stream = fopen(argv[1], \"r\");\n" |
| 430 |
" if (stream == NULL) {\n" |
| 431 |
" perror(\"fopen\");\n" |
| 432 |
" exit(EXIT_FAILURE);\n" |
| 433 |
" }\n" |
| 434 |
"\\&\n" |
| 435 |
" while ((nread = getline(&line, &size, stream)) != -1) {\n" |
| 436 |
" printf(\"Retrieved line of length %zd:\\[rs]n\", nread);\n" |
| 437 |
" fwrite(line, nread, 1, stdout);\n" |
| 438 |
" }\n" |
| 439 |
"\\&\n" |
| 440 |
" free(line);\n" |
| 441 |
" fclose(stream);\n" |
| 442 |
" exit(EXIT_SUCCESS);\n" |
| 443 |
"}\n" |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. SRC END |
| 447 |
#. type: SH |
| 448 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 449 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 450 |
#, no-wrap |
| 451 |
msgid "SEE ALSO" |
| 452 |
msgstr "VÉASE TAMBIÉN" |
| 453 |
|
| 454 |
#. type: Plain text |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
msgid "B<read>(2), B<fgets>(3), B<fopen>(3), B<fread>(3), B<scanf>(3)" |
| 458 |
msgstr "B<read>(2), B<fgets>(3), B<fopen>(3), B<fread>(3), B<scanf>(3)" |
| 459 |
|
| 460 |
#. type: TH |
| 461 |
#: debian-trixie |
| 462 |
#, no-wrap |
| 463 |
msgid "2024-06-15" |
| 464 |
msgstr "15 Junio 2024" |
| 465 |
|
| 466 |
#. type: TH |
| 467 |
#: debian-trixie |
| 468 |
#, no-wrap |
| 469 |
msgid "Linux man-pages 6.9.1" |
| 470 |
msgstr "Páginas de Manual de Linux 6.9.1" |
| 471 |
|
| 472 |
#. type: Plain text |
| 473 |
#: debian-trixie |
| 474 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 475 |
msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)" |
| 476 |
|
| 477 |
#. type: Plain text |
| 478 |
#: debian-trixie |
| 479 |
#, fuzzy |
| 480 |
#| msgid "" |
| 481 |
#| "Both functions return -1 on failure to read a line (including end of file " |
| 482 |
#| "condition)." |
| 483 |
msgid "" |
| 484 |
"Both functions return -1 on failure to read a line (including end-of-file " |
| 485 |
"condition). In the event of a failure, I<errno> is set to indicate the " |
| 486 |
"error." |
| 487 |
msgstr "" |
| 488 |
"Ambas funciones devuelven -1 si fallan al leer una línea (incluyendo la " |
| 489 |
"condición de fin de fichero)." |
| 490 |
|
| 491 |
#. type: Plain text |
| 492 |
#: debian-trixie |
| 493 |
#, no-wrap |
| 494 |
msgid "" |
| 495 |
"#define _GNU_SOURCE\n" |
| 496 |
"#include E<lt>stdio.hE<gt>\n" |
| 497 |
"#include E<lt>stdlib.hE<gt>\n" |
| 498 |
"\\&\n" |
| 499 |
"int\n" |
| 500 |
"main(int argc, char *argv[])\n" |
| 501 |
"{\n" |
| 502 |
" FILE *stream;\n" |
| 503 |
" char *line = NULL;\n" |
| 504 |
" size_t len = 0;\n" |
| 505 |
" ssize_t nread;\n" |
| 506 |
"\\&\n" |
| 507 |
" if (argc != 2) {\n" |
| 508 |
" fprintf(stderr, \"Usage: %s E<lt>fileE<gt>\\[rs]n\", argv[0]);\n" |
| 509 |
" exit(EXIT_FAILURE);\n" |
| 510 |
" }\n" |
| 511 |
"\\&\n" |
| 512 |
" stream = fopen(argv[1], \"r\");\n" |
| 513 |
" if (stream == NULL) {\n" |
| 514 |
" perror(\"fopen\");\n" |
| 515 |
" exit(EXIT_FAILURE);\n" |
| 516 |
" }\n" |
| 517 |
"\\&\n" |
| 518 |
" while ((nread = getline(&line, &len, stream)) != -1) {\n" |
| 519 |
" printf(\"Retrieved line of length %zd:\\[rs]n\", nread);\n" |
| 520 |
" fwrite(line, nread, 1, stdout);\n" |
| 521 |
" }\n" |
| 522 |
"\\&\n" |
| 523 |
" free(line);\n" |
| 524 |
" fclose(stream);\n" |
| 525 |
" exit(EXIT_SUCCESS);\n" |
| 526 |
"}\n" |
| 527 |
msgstr "" |
| 528 |
|
| 529 |
#. type: TH |
| 530 |
#: fedora-44 fedora-rawhide |
| 531 |
#, no-wrap |
| 532 |
msgid "2024-12-20" |
| 533 |
msgstr "20 Diciembre 2024" |
| 534 |
|
| 535 |
#. type: TH |
| 536 |
#: fedora-44 fedora-rawhide |
| 537 |
#, no-wrap |
| 538 |
msgid "Linux man-pages 6.13" |
| 539 |
msgstr "Páginas de Manual de Linux 6.13" |
| 540 |
|
| 541 |
#. type: TH |
| 542 |
#: mageia-cauldron |
| 543 |
#, no-wrap |
| 544 |
msgid "Linux man-pages 6.17" |
| 545 |
msgstr "Páginas de Manual de Linux 6.17" |
| 546 |
|
| 547 |
#. type: TH |
| 548 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 549 |
#, no-wrap |
| 550 |
msgid "Linux man-pages (unreleased)" |
| 551 |
msgstr "Páginas de Manual de Linux (no publicadas)" |