# Spanish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Miguel Pérez Ibars , 2004. # Marcos Fouces , 2023. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2024-06-01 05:52+0200\n" "PO-Revision-Date: 2023-02-28 18:56+0100\n" "Last-Translator: Marcos Fouces \n" "Language-Team: Spanish \n" "Language: es\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "getline" msgstr "getline" #. type: TH #: archlinux debian-unstable opensuse-tumbleweed #, no-wrap msgid "2024-05-02" msgstr "2 Mayo 2024" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.8" msgstr "Páginas de Manual de Linux 6.8" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "NOMBRE" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "getline, getdelim - delimited string input" msgstr "getline, getdelim - entrada de cadena delimitada" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "BIBLIOTECA" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Standard C library (I, I<-lc>)" msgstr "Biblioteca Estándar C (I, I<-lc>)" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "SINOPSIS" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B<#include Estdio.hE>\n" msgstr "B<#include Estdio.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, size_t *restrict >IB<,>\n" "B< FILE *restrict >IB<);>\n" "BIB<, size_t *restrict >IB<,>\n" "B< int >IB<, FILE *restrict >IB<);>\n" msgstr "" "BIB<, size_t *restrict >IB<,>\n" "B< FILE *restrict >IB<);>\n" "BIB<, size_t *restrict >IB<,>\n" "B< int >IB<, FILE *restrict >IB<);>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "Requisitos de Macros de Prueba de Características para glibc (véase " "B(7)):" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B(), B():" msgstr "B(), B():" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" " Since glibc 2.10:\n" " _POSIX_C_SOURCE E= 200809L\n" " Before glibc 2.10:\n" " _GNU_SOURCE\n" msgstr "" " Desde glibc 2.10:\n" " _POSIX_C_SOURCE E= 200809L\n" " Antes de glibc 2.10:\n" " _GNU_SOURCE\n" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "DESCRIPCIÓN" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "B reads an entire line, storing the address of the buffer " #| "containing the text into I<*lineptr>. The buffer is null-terminated and " #| "includes the newline character, if a newline delimiter was found." msgid "" "B() reads an entire line from I, storing the address of " "the buffer containing the text into I<*lineptr>. The buffer is null-" "terminated and includes the newline character, if one was found." msgstr "" "B lee una línea entera, almacenando la dirección del buffer que " "contiene el texto en I<*lineptr>. Al final del buffer se coloca el valor " "null y además se incluye el carácter nueva línea si se encontró el " "delimitador nueva línea." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "If I<*lineptr> is set to NULL before the call, then B() will " "allocate a buffer for storing the line. This buffer should be freed by the " "user program even if B() failed." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "If I<*lineptr> is B, the B routine will allocate a " #| "buffer for containing the line, which must be freed by the user program. " #| "Alternatively, before calling B, I<*lineptr> can contain a " #| "pointer to a B-allocated buffer I<*n> bytes in size. If the " #| "buffer is not large enough to hold the line read in, B resizes " #| "the buffer to fit with B, updating I<*lineptr> and I<*n> as " #| "necessary. In either case, on a successful call, I<*lineptr> and I<*n> " #| "will be updated to reflect the buffer address and size respectively." msgid "" "Alternatively, before calling B(), I<*lineptr> can contain a " "pointer to a B(3)-allocated buffer I<*n> bytes in size. If the " "buffer is not large enough to hold the line, B() resizes it with " "B(3), updating I<*lineptr> and I<*n> as necessary." msgstr "" "Si I<*lineptr> es B, la rutina B reservará un buffer para " "contener la línea, que debe ser liberado por el programa de usuario. " "Alternativamente, antes de llamar a B, I<*lineptr> puede contener " "un puntero a un buffer reservado via B de tamaño I<*n> bytes. Si " "el buffer no es lo suficientemente grande para almacenar la línea leída, " "B redimensiona el buffer para que quepa con B, " "actualizando I<*lineptr> y I<*n> si es necesario. En cualquier caso, si la " "llamada tiene éxito, I<*lineptr> y I<*n> serán actualizados para reflejar la " "dirección del buffer y el tamaño respectivamente." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "In either case, on a successful call, I<*lineptr> and I<*n> will be updated " "to reflect the buffer address and allocated size respectively." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() works like B(), except that a line delimiter other " "than newline can be specified as the I argument. As with " "B(), a delimiter character is not added if one was not present in " "the input before end of file was reached." msgstr "" "B() funciona como B(), salvo que se puede especificar " "otro delimitador de línea distinto de nueva línea en el argumento " "I. Como con B(), no se añade un carácter delimitador si " "no hay ninguno presente en la entrada antes de que se alcanze el fin del " "fichero." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "VALOR DEVUELTO" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "On success, B and B return the number of " #| "characters read, including the delimiter character, but not including the " #| "terminating null character. This value can be used to handle embedded " #| "null characters in the line read." msgid "" "On success, B() and B() return the number of characters " "read, including the delimiter character, but not including the terminating " "null byte (\\[aq]\\e0\\[aq]). This value can be used to handle embedded " "null bytes in the line read." msgstr "" "En caso de éxito, B y B devuelven el número de " "caracteres leídos, incluyendo el carácter delimitador, pero sin incluir el " "carácter null del final. Este valor puede usarse para manejar los carácters " "null embebidos en la línea leída." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Both functions return -1 on failure to read a line (including end of file " #| "condition)." msgid "" "Both functions return -1 on failure to read a line (including end-of-file " "condition). In the event of a failure, I is set to indicate the " "error." msgstr "" "Ambas funciones devuelven -1 si fallan al leer una línea (incluyendo la " "condición de fin de fichero)." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "If I<*lineptr> was set to NULL before the call, then the buffer should be " "freed by the user program even on failure." msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "ERRORES" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Bad arguments (I or I is NULL, or I is not valid)." msgstr "" "Parámetros incorrectos (I o I son NULL, o I no es " "válido)." #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "Allocation or reallocation of the line buffer failed." msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "ATRIBUTOS" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" "Para obtener una explicación de los términos usados en esta sección, véase " "B(7)." #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "Interfaz" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "Atributo" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "Valor" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B()" msgstr "" "B(),\n" "B()" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "Seguridad del hilo" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "MT-Safe" msgstr "Multi-hilo seguro" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "ESTÁNDARES" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: SH #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "HISTORIAL" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "POSIX.1-2008." msgid "GNU, POSIX.1-2008." msgstr "POSIX.1-2008." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "EJEMPLOS" #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " FILE *stream;\n" " char *line = NULL;\n" " size_t len = 0;\n" " ssize_t nread;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s EfileE\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " stream = fopen(argv[1], \"r\");\n" " if (stream == NULL) {\n" " perror(\"fopen\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " while ((nread = getline(&line, &len, stream)) != -1) {\n" " printf(\"Retrieved line of length %zd:\\en\", nread);\n" " fwrite(line, nread, 1, stdout);\n" " }\n" "\\&\n" " free(line);\n" " fclose(stream);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" #. SRC END #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "VÉASE TAMBIÉN" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "B(2), B(3), B(3), B(3), B(3)" msgstr "B(2), B(3), B(3), B(3), B(3)" #. type: TH #: debian-bookworm #, no-wrap msgid "2023-02-05" msgstr "5 Febrero 2023" #. type: TH #: debian-bookworm #, no-wrap msgid "Linux man-pages 6.03" msgstr "Páginas de Manual de Linux 6.03" #. type: Plain text #: debian-bookworm #, fuzzy #| msgid "" #| "Both getline() and getdelim() are GNU extensions. They are available " #| "since libc 4.6.27." msgid "" "Both B() and B() were originally GNU extensions. They " "were standardized in POSIX.1-2008." msgstr "" "Tanto getline() como getdelim() son extensiones de GNU. Están disponibles " "desde libc 4.6.27." #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" msgstr "" "#define _GNU_SOURCE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" "int\n" "main(int argc, char *argv[])\n" "{\n" " FILE *stream;\n" " char *line = NULL;\n" " size_t len = 0;\n" " ssize_t nread;\n" msgstr "" "int\n" "main(int argc, char *argv[])\n" "{\n" " FILE *stream;\n" " char *line = NULL;\n" " size_t len = 0;\n" " ssize_t nread;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s EfileE\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" msgstr "" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s EfileE\\en\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " stream = fopen(argv[1], \"r\");\n" " if (stream == NULL) {\n" " perror(\"fopen\");\n" " exit(EXIT_FAILURE);\n" " }\n" msgstr "" " stream = fopen(argv[1], \"r\");\n" " if (stream == NULL) {\n" " perror(\"fopen\");\n" " exit(EXIT_FAILURE);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " while ((nread = getline(&line, &len, stream)) != -1) {\n" " printf(\"Retrieved line of length %zd:\\en\", nread);\n" " fwrite(line, nread, 1, stdout);\n" " }\n" msgstr "" " while ((nread = getline(&line, &len, stream)) != -1) {\n" " printf(\"Retrieved line of length %zd:\\en\", nread);\n" " fwrite(line, nread, 1, stdout);\n" " }\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " free(line);\n" " fclose(stream);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " free(line);\n" " fclose(stream);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-40 fedora-rawhide mageia-cauldron #, no-wrap msgid "2023-10-31" msgstr "31 Octubre 2023" #. type: TH #: fedora-40 mageia-cauldron #, no-wrap msgid "Linux man-pages 6.06" msgstr "Páginas de Manual de Linux 6.06" #. type: TH #: fedora-rawhide #, no-wrap msgid "Linux man-pages 6.7" msgstr "Páginas de Manual de Linux 6.7" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "2023-03-30" msgstr "30 Marzo 2023" #. type: TH #: opensuse-leap-15-6 #, no-wrap msgid "Linux man-pages 6.04" msgstr "Páginas de Manual de Linux 6.04" #. type: TH #: opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "Páginas de Manual de Linux (no publicadas)"