# Spanish translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # Gerardo Aburruzaga García , 1998. msgid "" msgstr "" "Project-Id-Version: manpages-l10n\n" "POT-Creation-Date: 2024-06-01 05:53+0200\n" "PO-Revision-Date: 2021-01-29 18:00+0100\n" "Last-Translator: Gerardo Aburruzaga García \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" "X-Generator: Lokalize 20.04.1\n" #. type: TH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B()" msgid "getutent" msgstr "B()" #. 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 "" "getutent, getutid, getutline, pututline, setutent, endutent, utmpname - " "access utmp file entries" msgstr "" "getutent, getutid, getutline, pututline, setutent, endutent, utmpname - " "acceden a las entradas del fichero utmp" #. 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 Eutmp.hE>\n" msgstr "B<#include Eutmp.hE>\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| "B\n" #| "B\n" #| "B\n" #| "B\n" #| "B\n" #| "B\n" msgid "" "B\n" "BIB<);>\n" "BIB<);>\n" msgstr "" "B\n" "B\n" "B\n" "B\n" "B\n" "B\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "BIB<);>\n" msgstr "BIB<);>" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B" msgid "" "B\n" "B\n" msgstr "B" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "BIB<);>" msgid "BIB<);>\n" msgstr "BIB<);>" #. 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 msgid "" "New applications should use the POSIX.1-specified \"utmpx\" versions of " "these functions; see STANDARDS." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() sets the name of the utmp-format file for the other utmp " "functions to access. If B() is not used to set the filename " "before the other functions are used, they assume B<_PATH_UTMP>, as defined " "in Ipaths.hE>." msgstr "" "B() establece qué nombre tiene el fichero en formato utmp al que " "van a acceder las otras funciones descritas aquí. Si B() no se " "llama para establecer el nombre de fichero antes de que se usen las otras " "funciones, se asume el nombre B<_PATH_UTMP>, como se define en Ipaths." "hE>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() rewinds the file pointer to the beginning of the utmp file. " "It is generally a good idea to call it before any of the other functions." msgstr "" "B() rebobina el indicador de fichero al principio del fichero " "utmp. Generalmente es una buena idea llamar a esta función antes que " "cualquiera de las siguientes." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() closes the utmp file. It should be called when the user code " "is done accessing the file with the other functions." msgstr "" "B() cierra el fichero utmp. Debe llamarse cuando el código de " "usuario ha terminado de acceder al fichero con las otras funciones." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "B() reads a line from the current file position in the utmp " #| "file. It returns a pointer to a structure containing the fields of the " #| "line." msgid "" "B() reads a line from the current file position in the utmp " "file. It returns a pointer to a structure containing the fields of the " "line. The definition of this structure is shown in B(5)." msgstr "" "B() lee una línea desde donde está actualmente el indicador de " "posición del fichero en el de formato utmp. Devuelve un puntero a una " "estructura que contiene los campos correspondientes a la línea." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() searches forward from the current file position in the utmp " "file based upon I. If Iut_type> is one of B, " "B, B, or B, B() will find the first " "entry whose I field matches Iut_type>. If Iut_type> is one of B, B, B, " "or B, B() will find the first entry whose I " "field matches Iut_id>." msgstr "" "B() busca hacia adelante desde la posición actual en el fichero " "utmp según I. Si Iut_type> es B, B, " "B, u B, B() encontrará la primera entrada cuyo " "campo I concuerde con Iut_type>. Si Iut_type> es " "uno de B, B, B, o " "B, B() encontrará la primera entrada cuyo campo " "I coincida con Iut_id>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() searches forward from the current file position in the utmp " "file. It scans entries whose I is B or " "B and returns the first one whose I field matches " "Iut_line>." msgstr "" "B() busca hacia adelante desde la posición actual en el fichero " "utmp. Rastrea las entradas cuyo campo I sea B o " "B y devuelve la primera cuyo campo I coincida con " "Iut_line>." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() writes the I structure I into the utmp file. It " "uses B() to search for the proper place in the file to insert the " "new entry. If it cannot find an appropriate slot for I, B() " "will append the new entry to the end of the file." msgstr "" "B() escribe la estructura I I en el fichero utmp. " "Utiliza B() para buscar el sitio correcto en el fichero donde " "insertar la nueva entrada. Si no puede encontrar un sitio apropiado para " "I, B() añadirá la nueva entrada al final 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 msgid "" "B(), B(), and B() return a pointer to a " "I on success, and NULL on failure (which includes the \"record " "not found\" case). This I is allocated in static storage, and " "may be overwritten by subsequent calls." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "On success B() returns I; on failure, it returns NULL." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B() returns 0 if the new name was successfully stored, or -1 on " "failure." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "On failure, these functions I set to indicate the error." 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 "Out of memory." msgstr "Sin memoria." #. 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 "Record not found." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "B(), B(), and the B() functions can also fail " "for the reasons described in B(2)." msgstr "" #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "FILES" msgstr "ARCHIVOS" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "database of currently logged-in users" msgstr "datos de los usuarios que están en el sistema" #. type: TP #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "database of past user logins" msgstr "base de datos de anteriores inicios de sesión de usuario" #. 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()" msgstr "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-Unsafe init race:utent\n" "race:utentbuf sig:ALRM timer" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B(), B(), B():" msgid "" "B(),\n" "B()" msgstr "B(), B(), B():" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "MT-Unsafe init race:utent\n" "sig:ALRM timer" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "MT-Unsafe race:utent\n" "sig:ALRM timer" msgstr "" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "B(), B(), B():" msgid "" "B(),\n" "B(),\n" "B()" msgstr "B(), B(), B():" #. type: tbl table #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "MT-Unsafe race:utent" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "In the above table, I in I signifies that if any of the " "functions B(), B(), B(), B(), " "B(), B(), or B() are used in parallel in " "different threads of a program, then data races could occur." msgstr "" #. 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 "None." msgstr "" #. 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "XPG2, SVr4." msgstr "XPG2, SVr4." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "In XPG2 and SVID2 the function I is documented to return " #| "void, and that is what it does on many systems (AIX, HPUX, Linux libc5). " #| "HPUX introduces a new function I<_pututline()> with the prototype given " #| "above for I (also found in Linux libc5)." msgid "" "In XPG2 and SVID 2 the function B() is documented to return " "void, and that is what it does on many systems (AIX, HP-UX). HP-UX " "introduces a new function B<_pututline>() with the prototype given above " "for B()." msgstr "" "En XPG2 y SVID2 se dice que la función I devuelve void, y así " "es en muchos sistemas (AIX, HPUX, Linux libc5). HPUX introduce una nueva " "función I<_pututline()> con el prototipo dado arriba para I " "(también encontrada en Linux libc5)." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "All these functions are obsolete now on non-Linux systems. POSIX.1-2001 and " "POSIX.1-2008, following SUSv1, does not have any of these functions, but " "instead uses" msgstr "" "Todas estas funciones están obsoletas hoy día en sistemas no-Linux. " "POSIX.1-2001 y POSIX.1-2008, siguiendo a SUSv1, no tiene ninguna de estas " "funciones, pero en su lugar usa" #. 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 Eutmpx.hE>\n" msgstr "B<#include Eutmpx.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 "" "B\n" "B\n" "B\n" "B\n" "B\n" "B\n" msgstr "" "B\n" "B\n" "B\n" "B\n" "B\n" "B\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "These functions are provided by glibc, and perform the same task as their " "equivalents without the \"x\", but use I, defined on Linux to " "be the same as I. For completeness, glibc also provides " "B(), although this function is not specified by POSIX.1." msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "The I structure is a superset of the I structure, with " #| "additional fields, and larger versions of the existing fields. The " #| "corresponding files are often I and I." msgid "" "On some other systems, the I structure is a superset of the I " "structure, with additional fields, and larger versions of the existing " "fields, and parallel files are maintained, often I and I." msgstr "" "La estructura I es un superconjunto de la estructura I, con " "campos adicionales, y versiones extendidas de los campos existentes. Los " "ficheros correspondientes son a menudo I y I." #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy #| msgid "" #| "Linux glibc on the other hand does not use I since its I " #| "structure is already large enough. The functions I etc. are " #| "aliases for I etc." msgid "" "Linux glibc on the other hand does not use a parallel I file since " "its I structure is already large enough. The \"x\" functions listed " "above are just aliases for their counterparts without the \"x\" (e.g., " "B() is an alias for B())." msgstr "" "Linux glibc por otra parte no usa I puesto que su estructura I " "es ya lo suficientemente grande. Las funciones I etc. son " "sinónimos para I etc." #. type: SH #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "NOTAS" #. type: SS #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "glibc notes" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "The above functions are not thread-safe. glibc adds reentrant versions" msgstr "" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, struct utmp **>IB<);>\n" "BIB<,>\n" "B< struct utmp *>IB<, struct utmp **>IB<);>\n" "BIB<,>\n" "B< struct utmp *>IB<, struct utmp **>IB<);>\n" msgstr "" "BIB<, struct utmp **>IB<);>\n" "BIB<,>\n" "B< struct utmp *>IB<, struct utmp **>IB<);>\n" "BIB<,>\n" "B< struct utmp *>IB<, struct utmp **>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(), B():" msgstr "B(), B(), B():" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| " _GNU_SOURCE\n" #| " || /* since glibc 2.19: */ _DEFAULT_SOURCE\n" #| " || /* glibc E= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" msgid "" " _GNU_SOURCE\n" " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" msgstr "" " _GNU_SOURCE\n" " || /* desde glibc 2.19: */ _DEFAULT_SOURCE\n" " || /* glibc E= 2.19: */ _SVID_SOURCE || _BSD_SOURCE\n" #. type: Plain text #: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "These functions are GNU extensions, analogs of the functions of the same " "name without the _r suffix. The I argument gives these functions a " "place to store their result. On success, they return 0, and a pointer to " "the result is written in I<*ubufp>. On error, these functions return -1. " "There are no utmpx equivalents of the above functions. (POSIX.1 does not " "specify such functions.)" msgstr "" #. 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-bookworm debian-unstable fedora-40 fedora-rawhide #: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed msgid "" "The following example adds and removes a utmp record, assuming it is run " "from within a pseudo terminal. For usage in a real application, you should " "check the return values of B(3) and B(3)." msgstr "" "El siguiente ejemplo añade y quita un registro utmp, suponiendo que se " "ejecuta desde una pseudo-terminal. Para un uso correcto en una aplicación " "más realística, se deberían comprobar los valores devueltos por " "B(3) y B(3)." #. type: Plain text #: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron #: opensuse-tumbleweed #, fuzzy, no-wrap #| msgid "" #| " entry.ut_type = USER_PROCESS;\n" #| " entry.ut_pid = getpid();\n" #| " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" #| " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" #| " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" #| " time(&entry.ut_time);\n" #| " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" #| " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" #| " entry.ut_addr = 0;\n" #| " setutent();\n" #| " pututline(&entry);\n" msgid "" "#include Epwd.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Etime.hE\n" "#include Eunistd.hE\n" "#include Eutmp.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct utmp entry;\n" "\\&\n" " system(\"echo before adding entry:;who\");\n" "\\&\n" " entry.ut_type = USER_PROCESS;\n" " entry.ut_pid = getpid();\n" " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" " entry.ut_time = time(NULL);\n" " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" " entry.ut_addr = 0;\n" " setutent();\n" " pututline(&entry);\n" "\\&\n" " system(\"echo after adding entry:;who\");\n" "\\&\n" " entry.ut_type = DEAD_PROCESS;\n" " memset(entry.ut_line, 0, UT_LINESIZE);\n" " entry.ut_time = 0;\n" " memset(entry.ut_user, 0, UT_NAMESIZE);\n" " setutent();\n" " pututline(&entry);\n" "\\&\n" " system(\"echo after removing entry:;who\");\n" "\\&\n" " endutent();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " entry.ut_type = USER_PROCESS;\n" " entry.ut_pid = getpid();\n" " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" " time(&entry.ut_time);\n" " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" " entry.ut_addr = 0;\n" " setutent();\n" " pututline(&entry);\n" #. 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(3), B(5)" msgstr "B(3), B(5)" #. 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 opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "#include Estring.hE\n" #| "#include Estdlib.hE\n" #| "#include Epwd.hE\n" #| "#include Eunistd.hE\n" #| "#include Eutmp.hE\n" #| "#include Etime.hE\n" msgid "" "#include Epwd.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "#include Etime.hE\n" "#include Eunistd.hE\n" "#include Eutmp.hE\n" msgstr "" "#include Estring.hE\n" "#include Estdlib.hE\n" "#include Epwd.hE\n" "#include Eunistd.hE\n" "#include Eutmp.hE\n" "#include Etime.hE\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, fuzzy, no-wrap #| msgid "" #| "int\n" #| "main(int argc, char *argv[])\n" #| "{\n" #| " struct utmp entry;\n" msgid "" "int\n" "main(void)\n" "{\n" " struct utmp entry;\n" msgstr "" "int\n" "main(int argc, char *argv[])\n" "{\n" " struct utmp entry;\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " system(\"echo before adding entry:;who\");\n" msgstr " system(\"echo before adding entry:;who\");\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " entry.ut_type = USER_PROCESS;\n" " entry.ut_pid = getpid();\n" " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" " time(&entry.ut_time);\n" " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" " entry.ut_addr = 0;\n" " setutent();\n" " pututline(&entry);\n" msgstr "" " entry.ut_type = USER_PROCESS;\n" " entry.ut_pid = getpid();\n" " strcpy(entry.ut_line, ttyname(STDIN_FILENO) + strlen(\"/dev/\"));\n" " /* only correct for ptys named /dev/tty[pqr][0-9a-z] */\n" " strcpy(entry.ut_id, ttyname(STDIN_FILENO) + strlen(\"/dev/tty\"));\n" " time(&entry.ut_time);\n" " strcpy(entry.ut_user, getpwuid(getuid())-Epw_name);\n" " memset(entry.ut_host, 0, UT_HOSTSIZE);\n" " entry.ut_addr = 0;\n" " setutent();\n" " pututline(&entry);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " system(\"echo after adding entry:;who\");\n" msgstr " system(\"echo after adding entry:;who\");\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " entry.ut_type = DEAD_PROCESS;\n" " memset(entry.ut_line, 0, UT_LINESIZE);\n" " entry.ut_time = 0;\n" " memset(entry.ut_user, 0, UT_NAMESIZE);\n" " setutent();\n" " pututline(&entry);\n" msgstr "" " entry.ut_type = DEAD_PROCESS;\n" " memset(entry.ut_line, 0, UT_LINESIZE);\n" " entry.ut_time = 0;\n" " memset(entry.ut_user, 0, UT_NAMESIZE);\n" " setutent();\n" " pututline(&entry);\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid " system(\"echo after removing entry:;who\");\n" msgstr " system(\"echo after removing entry:;who\");\n" #. type: Plain text #: debian-bookworm opensuse-leap-15-6 #, no-wrap msgid "" " endutent();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" " endutent();\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)"