Debian Codegraph @

po/es/man2/gethostname.2.po

raw
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 # Jordi Gili <[email protected]>, 1998.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 1998-04-29 19:53+0200\n"
10 "Last-Translator: Jordi Gili <[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 #, fuzzy, no-wrap
23 #| msgid "B<gethostname>():"
24 msgid "gethostname"
25 msgstr "B<gethostname>():"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 Febrero 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Páginas de Manual de Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOMBRE"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "gethostname, sethostname - get/set hostname"
52 msgstr "gethostname, sethostname - obtiene/asigna el nombre del host"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTECA"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SINOPSIS"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>unistd.hE<gt>>\n"
79 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
83 #: opensuse-leap-16-1 opensuse-tumbleweed
84 #, fuzzy, no-wrap
85 #| msgid "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>"
86 msgid ""
87 "B<int gethostname(char *>I<name>B<, size_t >I<size>B<);>\n"
88 "B<int sethostname(const char *>I<name>B<, size_t >I<size>B<);>\n"
89 msgstr "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
96 msgstr ""
97 "Requisitos de Macros de Prueba de Características para glibc (véase "
98 "B<feature_test_macros>(7)):"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid "B<gethostname>():"
104 msgstr "B<gethostname>():"
105
106 #. The above is something of a simplification
107 #. also before glibc 2.3 there was a bit churn
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 #, fuzzy, no-wrap
112 #| msgid ""
113 #| " _XOPEN_SOURCE E<gt>= 500\n"
114 #| " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
115 #| " || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
116 msgid ""
117 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
118 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
119 msgstr ""
120 " _XOPEN_SOURCE E<gt>= 500\n"
121 " || /* Desde glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
122 " || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid "B<sethostname>():"
128 msgstr "B<sethostname>():"
129
130 #. commit 266865c0e7b79d4196e2cc393693463f03c90bd8
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 #, no-wrap
135 msgid ""
136 " Since glibc 2.21:\n"
137 " _DEFAULT_SOURCE\n"
138 " In glibc 2.19 and 2.20:\n"
139 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
140 " Up to and including glibc 2.19:\n"
141 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
142 msgstr ""
143
144 #. type: SH
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, no-wrap
148 msgid "DESCRIPTION"
149 msgstr "DESCRIPCIÓN"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid ""
155 "These system calls are used to access or to change the system hostname. "
156 "More precisely, they operate on the hostname associated with the calling "
157 "process's UTS namespace."
158 msgstr ""
159
160 #. type: Plain text
161 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
162 #: opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "B<sethostname>() sets the hostname to the value given in the character "
165 "array I<name>. The I<size> argument specifies the number of bytes in "
166 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
167 msgstr ""
168
169 #. type: Plain text
170 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
171 #: opensuse-leap-16-1 opensuse-tumbleweed
172 msgid ""
173 "B<gethostname>() returns the null-terminated hostname in the character "
174 "array I<name>, which has a size of I<size> bytes. If the null-terminated "
175 "hostname is too large to fit, then the name is truncated, and no error is "
176 "returned (but see VERSIONS below). POSIX.1 says that if such truncation "
177 "occurs, then it is unspecified whether the returned buffer includes a "
178 "terminating null byte."
179 msgstr ""
180
181 #. type: SH
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "RETURN VALUE"
186 msgstr "VALOR DEVUELTO"
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 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
193 "to indicate the error."
194 msgstr ""
195 "En caso de éxito se devuelve cero. En caso de error se devuelve -1, y "
196 "I<errno> se configura para indicar el error."
197
198 #. type: SH
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "ERRORS"
203 msgstr "ERRORES"
204
205 #. type: TP
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 #, no-wrap
209 msgid "B<EFAULT>"
210 msgstr "B<EFAULT>"
211
212 #. type: Plain text
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 msgid "I<name> is an invalid address."
216 msgstr "I<name> es una dirección inválida."
217
218 #. type: TP
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "B<EINVAL>"
223 msgstr "B<EINVAL>"
224
225 #. Can't occur for gethostbyname() wrapper, since 'size' has an
226 #. unsigned type; can occur for the underlying system call.
227 #. type: Plain text
228 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
229 #: opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "I<size> is negative or, for B<sethostname>(), I<size> is larger than the "
232 "maximum allowed size."
233 msgstr ""
234
235 #. type: TP
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "B<ENAMETOOLONG>"
240 msgstr "B<ENAMETOOLONG>"
241
242 #. type: Plain text
243 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
244 #: opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "(glibc B<gethostname>()) I<size> is smaller than the actual size. (Before "
247 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
248 msgstr ""
249
250 #. type: TP
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "B<EPERM>"
255 msgstr "B<EPERM>"
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid ""
261 "For B<sethostname>(), the caller did not have the B<CAP_SYS_ADMIN> "
262 "capability in the user namespace associated with its UTS namespace (see "
263 "B<namespaces>(7))."
264 msgstr ""
265
266 #. type: SH
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "VERSIONS"
271 msgstr "VERSIONES"
272
273 #. type: Plain text
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, fuzzy
277 #| msgid ""
278 #| "SUSv2 guarantees that `Host names are limited to 255 bytes'. POSIX "
279 #| "1003.1-2001 guarantees that `Host names (not including the terminating "
280 #| "NUL) are limited to HOST_NAME_MAX bytes'."
281 msgid ""
282 "SUSv2 guarantees that \"Host names are limited to 255 bytes\". POSIX.1 "
283 "guarantees that \"Host names (not including the terminating null byte) are "
284 "limited to B<HOST_NAME_MAX> bytes\". On Linux, B<HOST_NAME_MAX> is defined "
285 "with the value 64, which has been the limit since Linux 1.0 (earlier kernels "
286 "imposed a limit of 8 bytes)."
287 msgstr ""
288 "SUSv2 garantiza que `Los nombres de host están limitados a 255 bytes'. "
289 "POSIX 1003.1-2001 garantiza que `Los nombres de host (sin incluir el "
290 "carácter NULL del final) están limitados a HOST_NAME_MAX bytes'."
291
292 #. type: SS
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid "C library/kernel differences"
297 msgstr "Diferencias núcleo / biblioteca C"
298
299 #. type: Plain text
300 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
301 #: opensuse-leap-16-1 opensuse-tumbleweed
302 msgid ""
303 "The GNU C library does not employ the B<gethostname>() system call; "
304 "instead, it implements B<gethostname>() as a library function that calls "
305 "B<uname>(2) and copies up to I<size> bytes from the returned I<nodename> "
306 "field into I<name>. Having performed the copy, the function then checks if "
307 "the length of the I<nodename> was greater than or equal to I<size>, and if "
308 "it is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
309 "this case, a terminating null byte is not included in the returned I<name>."
310 msgstr ""
311
312 #. type: SH
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "STANDARDS"
317 msgstr "ESTÁNDARES"
318
319 #. type: TP
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, fuzzy, no-wrap
323 #| msgid "B<gethostname>():"
324 msgid "B<gethostname>()"
325 msgstr "B<gethostname>():"
326
327 #. type: Plain text
328 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
329 #: opensuse-tumbleweed
330 msgid "POSIX.1-2024."
331 msgstr "POSIX.1-2024."
332
333 #. type: TP
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 #, fuzzy, no-wrap
337 #| msgid "B<sethostname>():"
338 msgid "B<sethostname>()"
339 msgstr "B<sethostname>():"
340
341 #. type: Plain text
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 msgid "None."
345 msgstr ""
346
347 #. type: SH
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "HISTORY"
352 msgstr "HISTORIAL"
353
354 #. type: Plain text
355 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
356 #: opensuse-tumbleweed
357 #, fuzzy
358 #| msgid "4.3BSD, SVr4, POSIX.1-1988."
359 msgid "4.2BSD, SVr4, POSIX.1-2001."
360 msgstr "4.3BSD, SVr4, POSIX.1-1988."
361
362 #. type: Plain text
363 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
364 #: opensuse-tumbleweed
365 #, fuzzy
366 #| msgid "4.3BSD, SVr4, POSIX.1-1988."
367 msgid "4.2BSD, SVr4."
368 msgstr "4.3BSD, SVr4, POSIX.1-1988."
369
370 #. At least glibc 2.0 and glibc 2.1, older versions not checked
371 #. type: Plain text
372 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
373 #: opensuse-leap-16-1 opensuse-tumbleweed
374 msgid ""
375 "Versions of glibc before glibc 2.2 handle the case where the length of the "
376 "I<nodename> was greater than or equal to I<size> differently: nothing is "
377 "copied into I<name> and the function returns -1 with I<errno> set to "
378 "B<ENAMETOOLONG>."
379 msgstr ""
380
381 #. type: SH
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid "SEE ALSO"
386 msgstr "VÉASE TAMBIÉN"
387
388 #. type: Plain text
389 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
390 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
391 msgid ""
392 "B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
393 "B<uts_namespaces>(7)"
394 msgstr ""
395 "B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
396 "B<uts_namespaces>(7)"
397
398 #. type: TH
399 #: debian-trixie
400 #, no-wrap
401 msgid "2024-05-02"
402 msgstr "2 Mayo 2024"
403
404 #. type: TH
405 #: debian-trixie
406 #, no-wrap
407 msgid "Linux man-pages 6.9.1"
408 msgstr "Páginas de Manual de Linux 6.9.1"
409
410 #. type: Plain text
411 #: debian-trixie
412 msgid "Standard C library (I<libc>, I<-lc>)"
413 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
414
415 #. type: Plain text
416 #: debian-trixie
417 #, fuzzy, no-wrap
418 #| msgid "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>"
419 msgid ""
420 "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n"
421 "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n"
422 msgstr "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>"
423
424 #. type: Plain text
425 #: debian-trixie
426 msgid ""
427 "B<sethostname>() sets the hostname to the value given in the character "
428 "array I<name>. The I<len> argument specifies the number of bytes in "
429 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
430 msgstr ""
431
432 #. type: Plain text
433 #: debian-trixie
434 msgid ""
435 "B<gethostname>() returns the null-terminated hostname in the character "
436 "array I<name>, which has a length of I<len> bytes. If the null-terminated "
437 "hostname is too large to fit, then the name is truncated, and no error is "
438 "returned (but see NOTES below). POSIX.1 says that if such truncation "
439 "occurs, then it is unspecified whether the returned buffer includes a "
440 "terminating null byte."
441 msgstr ""
442
443 #. Can't occur for gethostbyname() wrapper, since 'len' has an
444 #. unsigned type; can occur for the underlying system call.
445 #. type: Plain text
446 #: debian-trixie
447 msgid ""
448 "I<len> is negative or, for B<sethostname>(), I<len> is larger than the "
449 "maximum allowed size."
450 msgstr ""
451
452 #. type: Plain text
453 #: debian-trixie
454 msgid ""
455 "(glibc B<gethostname>()) I<len> is smaller than the actual size. (Before "
456 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
457 msgstr ""
458
459 #. type: Plain text
460 #: debian-trixie
461 msgid ""
462 "The GNU C library does not employ the B<gethostname>() system call; "
463 "instead, it implements B<gethostname>() as a library function that calls "
464 "B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> "
465 "field into I<name>. Having performed the copy, the function then checks if "
466 "the length of the I<nodename> was greater than or equal to I<len>, and if it "
467 "is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
468 "this case, a terminating null byte is not included in the returned I<name>."
469 msgstr ""
470
471 #. type: Plain text
472 #: debian-trixie fedora-44 fedora-rawhide
473 msgid "POSIX.1-2008."
474 msgstr "POSIX.1-2008."
475
476 #. type: Plain text
477 #: debian-trixie fedora-44 fedora-rawhide
478 #, fuzzy
479 #| msgid ""
480 #| "SVr4, 4.4BSD (this function first appeared in 4.2BSD). POSIX 1003.1-2001 "
481 #| "specifies B<gethostname> but not B<sethostname>."
482 msgid ""
483 "SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD). POSIX.1-2001 and "
484 "POSIX.1-2008 specify B<gethostname>() but not B<sethostname>()."
485 msgstr ""
486 "SVr4, 4.4BSD (esta función apareció por primera vez en 4.2BSD). POSIX "
487 "1003.1-2001 especifica B<gethostname> pero no B<sethostname>."
488
489 #. At least glibc 2.0 and glibc 2.1, older versions not checked
490 #. type: Plain text
491 #: debian-trixie
492 msgid ""
493 "Versions of glibc before glibc 2.2 handle the case where the length of the "
494 "I<nodename> was greater than or equal to I<len> differently: nothing is "
495 "copied into I<name> and the function returns -1 with I<errno> set to "
496 "B<ENAMETOOLONG>."
497 msgstr ""
498
499 #. type: TH
500 #: fedora-44 fedora-rawhide
501 #, no-wrap
502 msgid "2024-11-17"
503 msgstr "17 Noviembre 2024"
504
505 #. type: TH
506 #: fedora-44 fedora-rawhide
507 #, no-wrap
508 msgid "Linux man-pages 6.13"
509 msgstr "Páginas de Manual de Linux 6.13"
510
511 #. type: TH
512 #: mageia-cauldron
513 #, no-wrap
514 msgid "Linux man-pages 6.17"
515 msgstr "Páginas de Manual de Linux 6.17"
516
517 #. type: TH
518 #: opensuse-leap-16-1 opensuse-tumbleweed
519 #, no-wrap
520 msgid "Linux man-pages (unreleased)"
521 msgstr "Páginas de Manual de Linux (no publicadas)"