summaryrefslogtreecommitdiffstats
path: root/po/es/man2/gethostname.2.po
diff options
context:
space:
mode:
Diffstat (limited to 'po/es/man2/gethostname.2.po')
-rw-r--r--po/es/man2/gethostname.2.po428
1 files changed, 428 insertions, 0 deletions
diff --git a/po/es/man2/gethostname.2.po b/po/es/man2/gethostname.2.po
new file mode 100644
index 00000000..cf1e6c40
--- /dev/null
+++ b/po/es/man2/gethostname.2.po
@@ -0,0 +1,428 @@
+# Spanish translation of manpages
+# This file is distributed under the same license as the manpages-l10n package.
+# Copyright © of this file:
+# Jordi Gili <jordi@enterprise.udg.es>, 1998.
+msgid ""
+msgstr ""
+"Project-Id-Version: manpages-l10n\n"
+"POT-Creation-Date: 2024-03-01 16:57+0100\n"
+"PO-Revision-Date: 1998-04-29 19:53+0200\n"
+"Last-Translator: Jordi Gili <jordi@enterprise.udg.es>\n"
+"Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\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<gethostname>():"
+msgid "gethostname"
+msgstr "B<gethostname>():"
+
+#. type: TH
+#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "2023-10-31"
+msgstr "31 Octubre 2023"
+
+#. type: TH
+#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "Linux man-pages 6.06"
+msgstr "Páginas de manual de Linux 6.06"
+
+#. 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 "gethostname, sethostname - get/set hostname"
+msgstr "gethostname, sethostname - obtiene/asigna el nombre del host"
+
+#. 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<libc>, I<-lc>)"
+msgstr "Biblioteca Estándar C (I<libc>, 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 E<lt>unistd.hE<gt>>\n"
+msgstr "B<#include E<lt>unistd.hE<gt>>\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<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>"
+msgid ""
+"B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n"
+"B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n"
+msgstr "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>"
+
+#. 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<feature_test_macros>(7)):"
+msgstr ""
+"Requisitos de Macros de Prueba de Características para glibc (véase "
+"B<feature_test_macros>(7)):"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "B<gethostname>():"
+msgstr "B<gethostname>():"
+
+#. The above is something of a simplification
+#. also before glibc 2.3 there was a bit churn
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid ""
+#| " _XOPEN_SOURCE E<gt>= 500\n"
+#| " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
+#| " || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
+msgid ""
+" _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
+" || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
+msgstr ""
+" _XOPEN_SOURCE E<gt>= 500\n"
+" || /* Desde glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
+" || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "B<sethostname>():"
+msgstr "B<sethostname>():"
+
+#. commit 266865c0e7b79d4196e2cc393693463f03c90bd8
+#. 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.21:\n"
+" _DEFAULT_SOURCE\n"
+" In glibc 2.19 and 2.20:\n"
+" _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
+" Up to and including glibc 2.19:\n"
+" _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
+msgstr ""
+
+#. 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 ""
+"These system calls are used to access or to change the system hostname. "
+"More precisely, they operate on the hostname associated with the calling "
+"process's UTS namespace."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"B<sethostname>() sets the hostname to the value given in the character "
+"array I<name>. The I<len> argument specifies the number of bytes in "
+"I<name>. (Thus, I<name> does not require a terminating null byte.)"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"B<gethostname>() returns the null-terminated hostname in the character "
+"array I<name>, which has a length of I<len> bytes. If the null-terminated "
+"hostname is too large to fit, then the name is truncated, and no error is "
+"returned (but see NOTES below). POSIX.1 says that if such truncation "
+"occurs, then it is unspecified whether the returned buffer includes a "
+"terminating null byte."
+msgstr ""
+
+#. 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 ""
+"On success, zero is returned. On error, -1 is returned, and I<errno> is set "
+"to indicate the error."
+msgstr ""
+"En caso de éxito se devuelve cero. En caso de error se devuelve -1, y "
+"I<errno> se configura para indicar el error."
+
+#. 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<EFAULT>"
+msgstr "B<EFAULT>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "I<name> is an invalid address."
+msgstr "I<name> es una dirección inválida."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EINVAL>"
+msgstr "B<EINVAL>"
+
+#. Can't occur for gethostbyname() wrapper, since 'len' has an
+#. unsigned type; can occur for the underlying system call.
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"I<len> is negative or, for B<sethostname>(), I<len> is larger than the "
+"maximum allowed size."
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<ENAMETOOLONG>"
+msgstr "B<ENAMETOOLONG>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"(glibc B<gethostname>()) I<len> is smaller than the actual size. (Before "
+"glibc 2.1, glibc uses B<EINVAL> for this case.)"
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EPERM>"
+msgstr "B<EPERM>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"For B<sethostname>(), the caller did not have the B<CAP_SYS_ADMIN> "
+"capability in the user namespace associated with its UTS namespace (see "
+"B<namespaces>(7))."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "VERSIONS"
+msgstr "VERSIONES"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "SUSv2 guarantees that `Host names are limited to 255 bytes'. POSIX "
+#| "1003.1-2001 guarantees that `Host names (not including the terminating "
+#| "NUL) are limited to HOST_NAME_MAX bytes'."
+msgid ""
+"SUSv2 guarantees that \"Host names are limited to 255 bytes\". POSIX.1 "
+"guarantees that \"Host names (not including the terminating null byte) are "
+"limited to B<HOST_NAME_MAX> bytes\". On Linux, B<HOST_NAME_MAX> is defined "
+"with the value 64, which has been the limit since Linux 1.0 (earlier kernels "
+"imposed a limit of 8 bytes)."
+msgstr ""
+"SUSv2 garantiza que `Los nombres de host están limitados a 255 bytes'. "
+"POSIX 1003.1-2001 garantiza que `Los nombres de host (sin incluir el "
+"carácter NULL del final) están limitados a HOST_NAME_MAX bytes'."
+
+#. type: SS
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "C library/kernel differences"
+msgstr "Diferencias núcleo / biblioteca C"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The GNU C library does not employ the B<gethostname>() system call; "
+"instead, it implements B<gethostname>() as a library function that calls "
+"B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> "
+"field into I<name>. Having performed the copy, the function then checks if "
+"the length of the I<nodename> was greater than or equal to I<len>, and if it "
+"is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
+"this case, a terminating null byte is not included in the returned I<name>."
+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: TP
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid "B<gethostname>():"
+msgid "B<gethostname>()"
+msgstr "B<gethostname>():"
+
+#. 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: TP
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid "B<sethostname>():"
+msgid "B<sethostname>()"
+msgstr "B<sethostname>():"
+
+#. 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
+#, fuzzy
+#| msgid ""
+#| "SVr4, 4.4BSD (this function first appeared in 4.2BSD). POSIX 1003.1-2001 "
+#| "specifies B<gethostname> but not B<sethostname>."
+msgid ""
+"SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD). POSIX.1-2001 and "
+"POSIX.1-2008 specify B<gethostname>() but not B<sethostname>()."
+msgstr ""
+"SVr4, 4.4BSD (esta función apareció por primera vez en 4.2BSD). POSIX "
+"1003.1-2001 especifica B<gethostname> pero no B<sethostname>."
+
+#. At least glibc 2.0 and glibc 2.1, older versions not checked
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Versions of glibc before glibc 2.2 handle the case where the length of the "
+"I<nodename> was greater than or equal to I<len> differently: nothing is "
+"copied into I<name> and the function returns -1 with I<errno> set to "
+"B<ENAMETOOLONG>."
+msgstr ""
+
+#. 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<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
+"B<uts_namespaces>(7)"
+msgstr ""
+"B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
+"B<uts_namespaces>(7)"
+
+#. 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: SH
+#: debian-bookworm
+#, no-wrap
+msgid "NOTES"
+msgstr "NOTAS"
+
+#. type: TH
+#: debian-unstable opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "2023-03-30"
+msgstr "30 Marzo 2023"
+
+#. type: TH
+#: debian-unstable opensuse-tumbleweed
+#, no-wrap
+msgid "Linux man-pages 6.05.01"
+msgstr "Páginas de manual de Linux 6.05.01"
+
+#. type: TH
+#: opensuse-leap-15-6
+#, no-wrap
+msgid "Linux man-pages 6.04"
+msgstr "Linux man-pages 6.04"