Debian Codegraph @

po/ro/man2/gethostname.2.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2023, 2025.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.21.0\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2026-03-04 19:02+0100\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\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=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.8\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "gethostname"
25 msgstr "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 februarie 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Pagini de manual de Linux 6.18"
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 "NUME"
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 "gethostname, sethostname - get/set hostname"
51 msgstr "gethostname, sethostname - obține/stabilește numele gazdei"
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 C standard (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>unistd.hE<gt>>\n"
78 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
82 #: opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int gethostname(char *>I<name>B<, size_t >I<size>B<);>\n"
86 "B<int sethostname(const char *>I<name>B<, size_t >I<size>B<);>\n"
87 msgstr ""
88 "B<int gethostname(char *>I<name>B<, size_t >I<size>B<);>\n"
89 "B<int sethostname(const char *>I<name>B<, size_t >I<size>B<);>\n"
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 "Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc "
98 "(consultați 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 #, no-wrap
112 msgid ""
113 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
114 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
115 msgstr ""
116 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
117 " || /* glibc 2.19 și versiunile anterioare */ _BSD_SOURCE\n"
118
119 #. type: Plain text
120 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
121 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
122 msgid "B<sethostname>():"
123 msgstr "B<sethostname>():"
124
125 #. commit 266865c0e7b79d4196e2cc393693463f03c90bd8
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 #, no-wrap
130 msgid ""
131 " Since glibc 2.21:\n"
132 " _DEFAULT_SOURCE\n"
133 " In glibc 2.19 and 2.20:\n"
134 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
135 " Up to and including glibc 2.19:\n"
136 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
137 msgstr ""
138 " Începând cu glibc 2.21:\n"
139 " _DEFAULT_SOURCE\n"
140 " În glibc 2.19 și 2.20:\n"
141 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
142 " Până la și inclusiv glibc 2.19:\n"
143 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
144
145 #. type: SH
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid "DESCRIPTION"
150 msgstr "DESCRIERE"
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "These system calls are used to access or to change the system hostname. "
157 "More precisely, they operate on the hostname associated with the calling "
158 "process's UTS namespace."
159 msgstr ""
160 "Aceste apeluri de sistem sunt utilizate pentru a accesa sau pentru a "
161 "modifica numele de gazdă al sistemului. Mai exact, ele operează asupra "
162 "numelui de gazdă asociat cu spațiul de nume UTS al procesului apelant."
163
164 #. type: Plain text
165 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
166 #: opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "B<sethostname>() sets the hostname to the value given in the character "
169 "array I<name>. The I<size> argument specifies the number of bytes in "
170 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
171 msgstr ""
172 "B<sethostname>() stabilește numele de gazdă la valoarea dată în matricea de "
173 "caractere I<name>. Argumentul I<size> specifică numărul de octeți din "
174 "I<name>; (prin urmare, I<name> nu necesită un octet de terminare nul)."
175
176 #. type: Plain text
177 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
178 #: opensuse-leap-16-1 opensuse-tumbleweed
179 msgid ""
180 "B<gethostname>() returns the null-terminated hostname in the character "
181 "array I<name>, which has a size of I<size> bytes. If the null-terminated "
182 "hostname is too large to fit, then the name is truncated, and no error is "
183 "returned (but see VERSIONS below). POSIX.1 says that if such truncation "
184 "occurs, then it is unspecified whether the returned buffer includes a "
185 "terminating null byte."
186 msgstr ""
187 "B<gethostname>() returnează numele de gazdă cu un octet de terminare nul în "
188 "matricea de caractere I<name>, care are o dimensiune de I<size> octeți. În "
189 "cazul în care numele de gazdă cu un octet de terminare nul este prea mare "
190 "pentru a încăpea, numele este trunchiat și nu se returnează nicio eroare (a "
191 "se vedea însă rubrica NOTE de mai jos). POSIX.1 precizează că, dacă are loc "
192 "o astfel de trunchiere, nu se specifică dacă memoria tampon returnată "
193 "include sau nu un octet de terminare nul."
194
195 #. type: SH
196 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
197 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
198 #, no-wrap
199 msgid "RETURN VALUE"
200 msgstr "VALOAREA RETURNATĂ"
201
202 #. type: Plain text
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 msgid ""
206 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
207 "to indicate the error."
208 msgstr ""
209 "În caz de succes, se returnează zero. În caz de eroare, se returnează -1, "
210 "iar I<errno> este configurată pentru a indica eroarea."
211
212 #. type: SH
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "ERRORS"
217 msgstr "ERORI-IEȘIRE"
218
219 #. type: TP
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "B<EFAULT>"
224 msgstr "B<EFAULT>"
225
226 #. type: Plain text
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 msgid "I<name> is an invalid address."
230 msgstr "I<name> este o adresă nevalidă."
231
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<EINVAL>"
237 msgstr "B<EINVAL>"
238
239 #. Can't occur for gethostbyname() wrapper, since 'size' has an
240 #. unsigned type; can occur for the underlying system call.
241 #. type: Plain text
242 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
243 #: opensuse-leap-16-1 opensuse-tumbleweed
244 msgid ""
245 "I<size> is negative or, for B<sethostname>(), I<size> is larger than the "
246 "maximum allowed size."
247 msgstr ""
248 "argumentul I<size> este negativ sau, pentru B<sethostname>(), I<size> este "
249 "mai mare decât dimensiunea maximă permisă."
250
251 #. type: TP
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "B<ENAMETOOLONG>"
256 msgstr "B<ENAMETOOLONG>"
257
258 #. type: Plain text
259 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
260 #: opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "(glibc B<gethostname>()) I<size> is smaller than the actual size. (Before "
263 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
264 msgstr ""
265 "(glibc B<gethostname>()) argumentul I<size> este mai mic decât dimensiunea "
266 "reală; (înainte de glibc 2.1, glibc utiliza B<EINVAL> pentru acest caz)."
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<EPERM>"
273 msgstr "B<EPERM>"
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 ""
279 "For B<sethostname>(), the caller did not have the B<CAP_SYS_ADMIN> "
280 "capability in the user namespace associated with its UTS namespace (see "
281 "B<namespaces>(7))."
282 msgstr ""
283 "Pentru B<sethostname>(), apelantul nu avea capacitatea B<CAP_SYS_ADMIN> în "
284 "spațiul de nume de utilizator asociat cu spațiul său de nume UTS (a se vedea "
285 "B<namespaces>(7))."
286
287 #. type: SH
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "VERSIONS"
292 msgstr "VERSIUNI"
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "SUSv2 guarantees that \"Host names are limited to 255 bytes\". POSIX.1 "
299 "guarantees that \"Host names (not including the terminating null byte) are "
300 "limited to B<HOST_NAME_MAX> bytes\". On Linux, B<HOST_NAME_MAX> is defined "
301 "with the value 64, which has been the limit since Linux 1.0 (earlier kernels "
302 "imposed a limit of 8 bytes)."
303 msgstr ""
304 "SUSv2 garantează că „Numele de gazdă sunt limitate la 255 de octeți”. "
305 "POSIX.1 garantează că „Numele gazdelor (fără a include octetul nul de "
306 "terminare) sunt limitate la B<HOST_NAME_MAX> octeți”. În Linux, "
307 "B<HOST_NAME_MAX> este definit cu valoarea 64, care a fost limita de la Linux "
308 "1.0 (nucleele anterioare au impus o limită de 8 octeți)."
309
310 #. type: SS
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 #, no-wrap
314 msgid "C library/kernel differences"
315 msgstr "Diferențe între biblioteca C și nucleu"
316
317 #. type: Plain text
318 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
319 #: opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The GNU C library does not employ the B<gethostname>() system call; "
322 "instead, it implements B<gethostname>() as a library function that calls "
323 "B<uname>(2) and copies up to I<size> bytes from the returned I<nodename> "
324 "field into I<name>. Having performed the copy, the function then checks if "
325 "the length of the I<nodename> was greater than or equal to I<size>, and if "
326 "it is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
327 "this case, a terminating null byte is not included in the returned I<name>."
328 msgstr ""
329 "Biblioteca GNU C nu utilizează apelul de sistem B<gethostname>(); în schimb, "
330 "implementează B<gethostname>() ca o funcție de bibliotecă care apelează "
331 "B<uname>(2) și copiază până la I<size> octeți din câmpul I<nodename> "
332 "returnat în I<name>. După ce a efectuat copia, funcția verifică dacă "
333 "lungimea câmpului I<nodename> a fost mai mare sau egală cu I<size>, iar dacă "
334 "este așa, funcția returnează -1 cu I<errno> stabilită la B<ENAMETOOLONG>; în "
335 "acest caz, un octet de terminare nul nu este inclus în câmpul I<nodename> "
336 "returnat."
337
338 #. type: SH
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "STANDARDS"
343 msgstr "STANDARDE"
344
345 #. type: TP
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 #, no-wrap
349 msgid "B<gethostname>()"
350 msgstr "B<gethostname>()"
351
352 #. type: Plain text
353 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
354 #: opensuse-tumbleweed
355 msgid "POSIX.1-2024."
356 msgstr "POSIX.1-2024."
357
358 #. type: TP
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "B<sethostname>()"
363 msgstr "B<sethostname>()"
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 msgid "None."
369 msgstr "Niciunul."
370
371 #. type: SH
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "HISTORY"
376 msgstr "ISTORIC"
377
378 #. type: Plain text
379 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
380 #: opensuse-tumbleweed
381 msgid "4.2BSD, SVr4, POSIX.1-2001."
382 msgstr "4.2BSD, SVr4, POSIX.1-2001."
383
384 #. type: Plain text
385 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
386 #: opensuse-tumbleweed
387 msgid "4.2BSD, SVr4."
388 msgstr "4.2BSD, SVr4."
389
390 #. At least glibc 2.0 and glibc 2.1, older versions not checked
391 #. type: Plain text
392 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
393 #: opensuse-leap-16-1 opensuse-tumbleweed
394 msgid ""
395 "Versions of glibc before glibc 2.2 handle the case where the length of the "
396 "I<nodename> was greater than or equal to I<size> differently: nothing is "
397 "copied into I<name> and the function returns -1 with I<errno> set to "
398 "B<ENAMETOOLONG>."
399 msgstr ""
400 "Versiunile de glibc anterioare lui glibc 2.2 tratează diferit cazul în care "
401 "lungimea lui I<nodename> a fost mai mare sau egală cu I<size>: nu se copiază "
402 "nimic în I<name> și funcția returnează -1 cu I<errno> stabilită la "
403 "B<ENAMETOOLONG>."
404
405 #. type: SH
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "SEE ALSO"
410 msgstr "CONSULTAȚI ȘI"
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
417 "B<uts_namespaces>(7)"
418 msgstr ""
419 "B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
420 "B<uts_namespaces>(7)"
421
422 #. type: TH
423 #: debian-trixie
424 #, no-wrap
425 msgid "2024-05-02"
426 msgstr "2 mai 2024"
427
428 #. type: TH
429 #: debian-trixie
430 #, no-wrap
431 msgid "Linux man-pages 6.9.1"
432 msgstr "Pagini de manual de Linux 6.9.1"
433
434 #. type: Plain text
435 #: debian-trixie
436 msgid "Standard C library (I<libc>, I<-lc>)"
437 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
438
439 #. type: Plain text
440 #: debian-trixie
441 #, no-wrap
442 msgid ""
443 "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n"
444 "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n"
445 msgstr ""
446 "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n"
447 "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n"
448
449 #. type: Plain text
450 #: debian-trixie
451 msgid ""
452 "B<sethostname>() sets the hostname to the value given in the character "
453 "array I<name>. The I<len> argument specifies the number of bytes in "
454 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
455 msgstr ""
456 "B<sethostname>() stabilește numele de gazdă la valoarea dată în matricea de "
457 "caractere I<name>. Argumentul I<len> specifică numărul de octeți din "
458 "I<name>. (Prin urmare, I<name> nu necesită un octet de terminare nul)."
459
460 #. type: Plain text
461 #: debian-trixie
462 msgid ""
463 "B<gethostname>() returns the null-terminated hostname in the character "
464 "array I<name>, which has a length of I<len> bytes. If the null-terminated "
465 "hostname is too large to fit, then the name is truncated, and no error is "
466 "returned (but see NOTES below). POSIX.1 says that if such truncation "
467 "occurs, then it is unspecified whether the returned buffer includes a "
468 "terminating null byte."
469 msgstr ""
470 "B<gethostname>() returnează numele de gazdă cu un octet de terminare nul în "
471 "matricea de caractere I<name>, care are o lungime de I<len> octeți. În cazul "
472 "în care numele de gazdă cu un octet de terminare nul este prea mare pentru a "
473 "încăpea, numele este trunchiat și nu se returnează nicio eroare (a se vedea "
474 "însă rubrica NOTE de mai jos). POSIX.1 precizează că, dacă are loc o astfel "
475 "de trunchiere, nu se specifică dacă memoria tampon returnată include sau nu "
476 "un octet de terminare nul."
477
478 #. Can't occur for gethostbyname() wrapper, since 'len' has an
479 #. unsigned type; can occur for the underlying system call.
480 #. type: Plain text
481 #: debian-trixie
482 msgid ""
483 "I<len> is negative or, for B<sethostname>(), I<len> is larger than the "
484 "maximum allowed size."
485 msgstr ""
486 "argumentul I<len> este negativ sau, pentru B<sethostname>(), I<len> este mai "
487 "mare decât dimensiunea maximă permisă."
488
489 #. type: Plain text
490 #: debian-trixie
491 msgid ""
492 "(glibc B<gethostname>()) I<len> is smaller than the actual size. (Before "
493 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
494 msgstr ""
495 "(glibc B<gethostname>()) argumentul I<len> este mai mic decât dimensiunea "
496 "reală; (înainte de glibc 2.1, glibc utiliza B<EINVAL> pentru acest caz)."
497
498 #. type: Plain text
499 #: debian-trixie
500 msgid ""
501 "The GNU C library does not employ the B<gethostname>() system call; "
502 "instead, it implements B<gethostname>() as a library function that calls "
503 "B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> "
504 "field into I<name>. Having performed the copy, the function then checks if "
505 "the length of the I<nodename> was greater than or equal to I<len>, and if it "
506 "is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
507 "this case, a terminating null byte is not included in the returned I<name>."
508 msgstr ""
509 "Biblioteca GNU C nu utilizează apelul de sistem B<gethostname>(); în schimb, "
510 "implementează B<gethostname>() ca o funcție de bibliotecă care apelează "
511 "B<uname>(2) și copiază până la I<len> octeți din câmpul I<nodename> returnat "
512 "în I<name>. După ce a efectuat copia, funcția verifică dacă lungimea "
513 "câmpului I<nodename> a fost mai mare sau egală cu I<len>, iar dacă este așa, "
514 "funcția returnează -1 cu I<errno> stabilită la B<ENAMETOOLONG>; în acest "
515 "caz, un octet de terminare nul nu este inclus în câmpul I<nodename> returnat."
516
517 #. type: Plain text
518 #: debian-trixie fedora-44 fedora-rawhide
519 msgid "POSIX.1-2008."
520 msgstr "POSIX.1-2008."
521
522 #. type: Plain text
523 #: debian-trixie fedora-44 fedora-rawhide
524 msgid ""
525 "SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD). POSIX.1-2001 and "
526 "POSIX.1-2008 specify B<gethostname>() but not B<sethostname>()."
527 msgstr ""
528 "SVr4, 4.4BSD (aceste interfețe au apărut pentru prima dată în 4.2BSD). "
529 "POSIX.1-2001 și POSIX.1-2008 specifică B<gethostname>(), dar nu și "
530 "B<sethostname>()."
531
532 #. At least glibc 2.0 and glibc 2.1, older versions not checked
533 #. type: Plain text
534 #: debian-trixie
535 msgid ""
536 "Versions of glibc before glibc 2.2 handle the case where the length of the "
537 "I<nodename> was greater than or equal to I<len> differently: nothing is "
538 "copied into I<name> and the function returns -1 with I<errno> set to "
539 "B<ENAMETOOLONG>."
540 msgstr ""
541 "Versiunile de glibc anterioare lui glibc 2.2 tratează diferit cazul în care "
542 "lungimea lui I<nodename> a fost mai mare sau egală cu I<len>: nu se copiază "
543 "nimic în I<name> și funcția returnează -1 cu I<errno> stabilită la "
544 "B<ENAMETOOLONG>."
545
546 #. type: TH
547 #: fedora-44 fedora-rawhide
548 #, no-wrap
549 msgid "2024-11-17"
550 msgstr "17 noiembrie 2024"
551
552 #. type: TH
553 #: fedora-44 fedora-rawhide
554 #, no-wrap
555 msgid "Linux man-pages 6.13"
556 msgstr "Pagini de manual de Linux 6.13"
557
558 #. type: TH
559 #: mageia-cauldron
560 #, no-wrap
561 msgid "Linux man-pages 6.17"
562 msgstr "Pagini de manual de Linux 6.17"
563
564 #. type: TH
565 #: opensuse-leap-16-1 opensuse-tumbleweed
566 #, no-wrap
567 msgid "Linux man-pages (unreleased)"
568 msgstr "Pagini de manual Linux (nepublicate)"