Debian Codegraph @

po/ar/man2/gethostname.2.po

raw
1 # Arabic translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # زايد السعيدي <[email protected]>, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.30.2\n"
8 "POT-Creation-Date: 2026-06-05 06:25+0200\n"
9 "PO-Revision-Date: 2026-05-18 17:17+0400\n"
10 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
11 "Language-Team: Arabic <[email protected]>\n"
12 "Language: ar\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=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
17 "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
18 "X-Generator: Lokalize 23.08.5\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 فبراير 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "صفحات دليل لينكس 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 "الاسم"
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 - الحصول/تعيين اسم المضيف"
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 "المكتبة"
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 "مكتبة سي المعيارية (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 "موجز"
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 "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 msgid "B<gethostname>():"
103 msgstr "B<gethostname>():"
104
105 #. The above is something of a simplification
106 #. also before glibc 2.3 there was a bit churn
107 #. type: Plain text
108 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
109 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
110 #, no-wrap
111 msgid ""
112 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
113 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
114 msgstr ""
115 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
116 " || /* glibc 2.19 والإصدارات الأقدم */ _BSD_SOURCE\n"
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid "B<sethostname>():"
122 msgstr "B<sethostname>():"
123
124 #. commit 266865c0e7b79d4196e2cc393693463f03c90bd8
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid ""
130 " Since glibc 2.21:\n"
131 " _DEFAULT_SOURCE\n"
132 " In glibc 2.19 and 2.20:\n"
133 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
134 " Up to and including glibc 2.19:\n"
135 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
136 msgstr ""
137 " منذ glibc 2.21:\n"
138 " _DEFAULT_SOURCE\n"
139 " في glibc 2.19 و 2.20:\n"
140 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
141 " حتى glibc 2.19 وما قبله:\n"
142 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n"
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 "الوصف"
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 "دقة، تعمل على اسم المضيف المرتبط بمساحة أسماء UTS الخاصة بالعملية المستدعية."
161
162 #. type: Plain text
163 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
164 #: opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "B<sethostname>() sets the hostname to the value given in the character "
167 "array I<name>. The I<size> argument specifies the number of bytes in "
168 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
169 msgstr ""
170 "يضبط B<sethostname>() اسم المضيف على القيمة المعطاة في مصفوفة الأحرف "
171 "I<name>. تحدد الوسيطة I<size> عدد البايتات في I<name>. (وبالتالي، لا تتطلب "
172 "I<name> بايت فارغ في النهاية.)"
173
174 #. type: Plain text
175 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
176 #: opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "B<gethostname>() returns the null-terminated hostname in the character "
179 "array I<name>, which has a size of I<size> bytes. If the null-terminated "
180 "hostname is too large to fit, then the name is truncated, and no error is "
181 "returned (but see VERSIONS below). POSIX.1 says that if such truncation "
182 "occurs, then it is unspecified whether the returned buffer includes a "
183 "terminating null byte."
184 msgstr ""
185 "يعيد B<gethostname>() اسم المضيف المنتهي بفارغ في مصفوفة الأحرف I<name>، "
186 "التي حجمها I<size> بايت. إذا كان اسم المضيف المنتهي بفارغ كبيرًا جدًا بحيث لا "
187 "يتسع، فسيتم اقتطاع الاسم، ولا يتم إرجاع أي خطأ (ولكن انظر الإصدارات أدناه). "
188 "ينص POSIX.1 على أنه في حالة حدوث مثل هذا الاقتطاع، فمن غير المحدد ما إذا "
189 "كانت المخزن المؤقت المرتجع يتضمن بايت فارغ في النهاية."
190
191 #. type: SH
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "RETURN VALUE"
196 msgstr "قيمة الإرجاع"
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid ""
202 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
203 "to indicate the error."
204 msgstr ""
205 "عند النجاح، يُعاد الصفر. وعند حدوث خطأ، يُعاد الرقم -1، ويُضبط I<errno> للإشارة "
206 "إلى الخطأ."
207
208 #. type: SH
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, no-wrap
212 msgid "ERRORS"
213 msgstr "الأخطاء"
214
215 #. type: TP
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 #, no-wrap
219 msgid "B<EFAULT>"
220 msgstr "B<EFAULT>"
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 msgid "I<name> is an invalid address."
226 msgstr "I<name> عنوان غير صالح."
227
228 #. type: TP
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "B<EINVAL>"
233 msgstr "B<EINVAL>"
234
235 #. Can't occur for gethostbyname() wrapper, since 'size' has an
236 #. unsigned type; can occur for the underlying system call.
237 #. type: Plain text
238 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
239 #: opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "I<size> is negative or, for B<sethostname>(), I<size> is larger than the "
242 "maximum allowed size."
243 msgstr ""
244 "I<size> سالب أو، بالنسبة لـ B<sethostname>()، I<size> أكبر من الحجم الأقصى "
245 "المسموح به."
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<ENAMETOOLONG>"
252 msgstr "B<ENAMETOOLONG>"
253
254 #. type: Plain text
255 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
256 #: opensuse-leap-16-1 opensuse-tumbleweed
257 msgid ""
258 "(glibc B<gethostname>()) I<size> is smaller than the actual size. (Before "
259 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
260 msgstr ""
261 "(glibc B<gethostname>()) I<size> أصغر من الحجم الفعلي. (قبل glibc 2.1، "
262 "يستخدم glibc B<EINVAL> لهذه الحالة.)"
263
264 #. type: TP
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 #, no-wrap
268 msgid "B<EPERM>"
269 msgstr "B<EPERM>"
270
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid ""
275 "For B<sethostname>(), the caller did not have the B<CAP_SYS_ADMIN> "
276 "capability in the user namespace associated with its UTS namespace (see "
277 "B<namespaces>(7))."
278 msgstr ""
279 "بالنسبة لـ B<sethostname>()، لم يكن لدى المستدعي إمكانية B<CAP_SYS_ADMIN> في "
280 "مساحة أسماء المستخدم المرتبطة بمساحة أسماء UTS الخاصة به (انظر "
281 "B<namespaces>(7))."
282
283 #. type: SH
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 #, no-wrap
287 msgid "VERSIONS"
288 msgstr "الإصدارات"
289
290 #. type: Plain text
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 msgid ""
294 "SUSv2 guarantees that \"Host names are limited to 255 bytes\". POSIX.1 "
295 "guarantees that \"Host names (not including the terminating null byte) are "
296 "limited to B<HOST_NAME_MAX> bytes\". On Linux, B<HOST_NAME_MAX> is defined "
297 "with the value 64, which has been the limit since Linux 1.0 (earlier kernels "
298 "imposed a limit of 8 bytes)."
299 msgstr ""
300 "يضمن SUSv2 أن \"أسماء المضيفين محدودة بـ 255 بايت\". يضمن POSIX.1 أن "
301 "\"أسماء المضيفين (بدون تضمين البايت الفارغ في النهاية) محدودة بـ "
302 "B<HOST_NAME_MAX> بايت\". على لينكس، يتم تعريف B<HOST_NAME_MAX> بالقيمة 64، "
303 "والتي كانت الحد منذ لينكس 1.0 (فرضت النوى الأقدم حدًا قدره 8 بايت)."
304
305 #. type: SS
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "C library/kernel differences"
310 msgstr "الاختلافات بين مكتبة C والنواة"
311
312 #. type: Plain text
313 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
314 #: opensuse-leap-16-1 opensuse-tumbleweed
315 msgid ""
316 "The GNU C library does not employ the B<gethostname>() system call; "
317 "instead, it implements B<gethostname>() as a library function that calls "
318 "B<uname>(2) and copies up to I<size> bytes from the returned I<nodename> "
319 "field into I<name>. Having performed the copy, the function then checks if "
320 "the length of the I<nodename> was greater than or equal to I<size>, and if "
321 "it is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
322 "this case, a terminating null byte is not included in the returned I<name>."
323 msgstr ""
324 "لا تستخدم مكتبة GNU C استدعاء النظام B<gethostname>()؛ بدلاً من ذلك، تنفذ "
325 "B<gethostname>() كدالة مكتبة تستدعي B<uname>(2) وتنسخ حتى I<size> بايت من "
326 "حقل I<nodename> المرتجع إلى I<name>. بعد إجراء النسخ، تتحقق الدالة بعد ذلك "
327 "مما إذا كان طول I<nodename> أكبر من أو يساوي I<size>، وإذا كان الأمر كذلك، "
328 "فتعيد الدالة -1 مع ضبط I<errno> على B<ENAMETOOLONG>؛ في هذه الحالة، لا يتم "
329 "تضمين بايت فارغ في النهاية في I<name> المرتجع."
330
331 #. type: SH
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "STANDARDS"
336 msgstr "المعايير"
337
338 #. type: TP
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "B<gethostname>()"
343 msgstr "B<gethostname>()"
344
345 #. type: Plain text
346 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
347 #: opensuse-tumbleweed
348 msgid "POSIX.1-2024."
349 msgstr "POSIX.1-2024."
350
351 #. type: TP
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 #, no-wrap
355 msgid "B<sethostname>()"
356 msgstr "B<sethostname>()"
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 msgid "None."
362 msgstr "لا شيء."
363
364 #. type: SH
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, no-wrap
368 msgid "HISTORY"
369 msgstr "التاريخ"
370
371 #. type: Plain text
372 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
373 #: opensuse-tumbleweed
374 msgid "4.2BSD, SVr4, POSIX.1-2001."
375 msgstr "4.2BSD, SVr4, POSIX.1-2001."
376
377 #. type: Plain text
378 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
379 #: opensuse-tumbleweed
380 msgid "4.2BSD, SVr4."
381 msgstr "4.2BSD, SVr4."
382
383 #. At least glibc 2.0 and glibc 2.1, older versions not checked
384 #. type: Plain text
385 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
386 #: opensuse-leap-16-1 opensuse-tumbleweed
387 msgid ""
388 "Versions of glibc before glibc 2.2 handle the case where the length of the "
389 "I<nodename> was greater than or equal to I<size> differently: nothing is "
390 "copied into I<name> and the function returns -1 with I<errno> set to "
391 "B<ENAMETOOLONG>."
392 msgstr ""
393 "تعالج إصدارات glibc قبل glibc 2.2 الحالة التي يكون فيها طول I<nodename> أكبر "
394 "من أو يساوي I<size> بشكل مختلف: لا يتم نسخ أي شيء إلى I<name> وتعيد الدالة "
395 "-1 مع ضبط I<errno> على B<ENAMETOOLONG>."
396
397 #. type: SH
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "SEE ALSO"
402 msgstr "انظر أيضًا"
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid ""
408 "B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
409 "B<uts_namespaces>(7)"
410 msgstr ""
411 "B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), "
412 "B<uts_namespaces>(7)"
413
414 #. type: TH
415 #: debian-trixie
416 #, no-wrap
417 msgid "2024-05-02"
418 msgstr "2 مايو 2024"
419
420 #. type: TH
421 #: debian-trixie
422 #, no-wrap
423 msgid "Linux man-pages 6.9.1"
424 msgstr "صفحات دليل لينكس 6.9.1"
425
426 #. type: Plain text
427 #: debian-trixie
428 msgid "Standard C library (I<libc>, I<-lc>)"
429 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
430
431 #. type: Plain text
432 #: debian-trixie
433 #, no-wrap
434 msgid ""
435 "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n"
436 "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n"
437 msgstr ""
438 "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n"
439 "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n"
440
441 #. type: Plain text
442 #: debian-trixie
443 msgid ""
444 "B<sethostname>() sets the hostname to the value given in the character "
445 "array I<name>. The I<len> argument specifies the number of bytes in "
446 "I<name>. (Thus, I<name> does not require a terminating null byte.)"
447 msgstr ""
448 "يضبط B<sethostname>() اسم المضيف على القيمة المعطاة في مصفوفة الأحرف "
449 "I<name>. تحدد الوسيطة I<len> عدد البايتات في I<name>. (وبالتالي، لا تتطلب "
450 "I<name> بايت فارغ في النهاية.)"
451
452 #. type: Plain text
453 #: debian-trixie
454 msgid ""
455 "B<gethostname>() returns the null-terminated hostname in the character "
456 "array I<name>, which has a length of I<len> bytes. If the null-terminated "
457 "hostname is too large to fit, then the name is truncated, and no error is "
458 "returned (but see NOTES below). POSIX.1 says that if such truncation "
459 "occurs, then it is unspecified whether the returned buffer includes a "
460 "terminating null byte."
461 msgstr ""
462 "يعيد B<gethostname>() اسم المضيف المنتهي بفارغ في مصفوفة الأحرف I<name>، "
463 "التي طولها I<len> بايت. إذا كان اسم المضيف المنتهي بفارغ كبيرًا جدًا بحيث لا "
464 "يتسع، فسيتم اقتطاع الاسم، ولا يتم إرجاع أي خطأ (ولكن انظر الملاحظات أدناه). "
465 "ينص POSIX.1 على أنه في حالة حدوث مثل هذا الاقتطاع، فمن غير المحدد ما إذا "
466 "كانت المخزن المؤقت المرتجع يتضمن بايت فارغ في النهاية."
467
468 #. Can't occur for gethostbyname() wrapper, since 'len' has an
469 #. unsigned type; can occur for the underlying system call.
470 #. type: Plain text
471 #: debian-trixie
472 msgid ""
473 "I<len> is negative or, for B<sethostname>(), I<len> is larger than the "
474 "maximum allowed size."
475 msgstr ""
476 "I<len> سالب أو، بالنسبة لـ B<sethostname>()، I<len> أكبر من الحجم الأقصى "
477 "المسموح به."
478
479 #. type: Plain text
480 #: debian-trixie
481 msgid ""
482 "(glibc B<gethostname>()) I<len> is smaller than the actual size. (Before "
483 "glibc 2.1, glibc uses B<EINVAL> for this case.)"
484 msgstr ""
485 "(glibc B<gethostname>()) I<len> أصغر من الحجم الفعلي. (قبل glibc 2.1، "
486 "يستخدم glibc B<EINVAL> لهذه الحالة.)"
487
488 #. type: Plain text
489 #: debian-trixie
490 msgid ""
491 "The GNU C library does not employ the B<gethostname>() system call; "
492 "instead, it implements B<gethostname>() as a library function that calls "
493 "B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> "
494 "field into I<name>. Having performed the copy, the function then checks if "
495 "the length of the I<nodename> was greater than or equal to I<len>, and if it "
496 "is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in "
497 "this case, a terminating null byte is not included in the returned I<name>."
498 msgstr ""
499 "لا تستخدم مكتبة GNU C استدعاء النظام B<gethostname>()؛ بدلاً من ذلك، تنفذ "
500 "B<gethostname>() كدالة مكتبة تستدعي B<uname>(2) وتنسخ حتى I<len> بايت من حقل "
501 "I<nodename> المرتجع إلى I<name>. بعد إجراء النسخ، تتحقق الدالة بعد ذلك مما "
502 "إذا كان طول I<nodename> أكبر من أو يساوي I<len>، وإذا كان الأمر كذلك، فتعيد "
503 "الدالة -1 مع ضبط I<errno> على B<ENAMETOOLONG>؛ في هذه الحالة، لا يتم تضمين "
504 "بايت فارغ في النهاية في I<name> المرتجع."
505
506 #. type: Plain text
507 #: debian-trixie fedora-44 fedora-rawhide
508 msgid "POSIX.1-2008."
509 msgstr "POSIX.1-2008."
510
511 #. type: Plain text
512 #: debian-trixie fedora-44 fedora-rawhide
513 msgid ""
514 "SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD). POSIX.1-2001 and "
515 "POSIX.1-2008 specify B<gethostname>() but not B<sethostname>()."
516 msgstr ""
517 "SVr4, 4.4BSD (ظهرت هذه الواجهات لأول مرة في 4.2BSD). يحدد POSIX.1-2001 و "
518 "POSIX.1-2008 B<gethostname>() ولكن ليس B<sethostname>()."
519
520 #. At least glibc 2.0 and glibc 2.1, older versions not checked
521 #. type: Plain text
522 #: debian-trixie
523 msgid ""
524 "Versions of glibc before glibc 2.2 handle the case where the length of the "
525 "I<nodename> was greater than or equal to I<len> differently: nothing is "
526 "copied into I<name> and the function returns -1 with I<errno> set to "
527 "B<ENAMETOOLONG>."
528 msgstr ""
529 "تعالج إصدارات glibc قبل glibc 2.2 الحالة التي يكون فيها طول I<nodename> أكبر "
530 "من أو يساوي I<len> بشكل مختلف: لا يتم نسخ أي شيء إلى I<name> وتعيد الدالة -1 "
531 "مع ضبط I<errno> على B<ENAMETOOLONG>."
532
533 #. type: TH
534 #: fedora-44 fedora-rawhide
535 #, no-wrap
536 msgid "2024-11-17"
537 msgstr "17 نوفمبر 2024"
538
539 #. type: TH
540 #: fedora-44 fedora-rawhide
541 #, no-wrap
542 msgid "Linux man-pages 6.13"
543 msgstr "صفحات دليل لينكس 6.13"
544
545 #. type: TH
546 #: mageia-cauldron
547 #, no-wrap
548 msgid "Linux man-pages 6.17"
549 msgstr "صفحات دليل لينكس 6.17"
550
551 #. type: TH
552 #: opensuse-leap-16-1 opensuse-tumbleweed
553 #, no-wrap
554 msgid "Linux man-pages (unreleased)"
555 msgstr "صفحات دليل لينكس (لم تصدر بعد)"