Debian Codegraph @

po/ar/man3/pthread_attr_setguardsize.3.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:38+0200\n"
9 "PO-Revision-Date: 2026-06-02 19:41+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 "pthread_attr_setguardsize"
25 msgstr "pthread_attr_setguardsize"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-05-17"
32 msgstr "17 مايو 2025"
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 ""
51 "pthread_attr_setguardsize, pthread_attr_getguardsize - set/get guard size "
52 "attribute in thread attributes object"
53 msgstr ""
54 "pthread_attr_setguardsize, pthread_attr_getguardsize - تعيين/الحصول على سمة "
55 "حجم الحارس في كائن سمات الخيط"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "المكتبة"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
68 msgstr "مكتبة مسالك POSIX (I<libpthread>،\\ I<-lpthread>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "موجز"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>pthread.hE<gt>>\n"
82 msgstr "B<#include E<lt>pthread.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid ""
89 "B<int pthread_attr_setguardsize(pthread_attr_t *>I<attr>B<, size_t >I<guardsize>B<);>\n"
90 "B<int pthread_attr_getguardsize(const pthread_attr_t *restrict >I<attr>B<,>\n"
91 "B< size_t *restrict >I<guardsize>B<);>\n"
92 msgstr ""
93 "B<int pthread_attr_setguardsize(pthread_attr_t *>I<attr>B<, size_t >I<guardsize>B<);>\n"
94 "B<int pthread_attr_getguardsize(const pthread_attr_t *restrict >I<attr>B<,>\n"
95 "B< size_t *restrict >I<guardsize>B<);>\n"
96
97 #. type: SH
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "DESCRIPTION"
102 msgstr "الوصف"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "The B<pthread_attr_setguardsize>() function sets the guard size attribute "
109 "of the thread attributes object referred to by I<attr> to the value "
110 "specified in I<guardsize>."
111 msgstr ""
112 "تضبط الدالة B<pthread_attr_setguardsize>() سمة حجم الحارس لكائن سمات الخيط "
113 "المشار إليه بواسطة I<attr> إلى القيمة المحددة في I<guardsize>."
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "If I<guardsize> is greater than 0, then for each new thread created using "
120 "I<attr> the system allocates an additional region of at least I<guardsize> "
121 "bytes at the end of the thread's stack to act as the guard area for the "
122 "stack (but see BUGS)."
123 msgstr ""
124 "إذا كان I<guardsize> أكبر من 0، فإنه لكل خيط جديد يُنشأ باستخدام I<attr> يخصص "
125 "النظام منطقة إضافية بحجم لا يقل عن I<guardsize> بايت في نهاية مكدس الخيط "
126 "لتكون منطقة حارس للمكدس (لكن انظر الأخطاء)."
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "If I<guardsize> is 0, then new threads created with I<attr> will not have a "
133 "guard area."
134 msgstr ""
135 "إذا كان I<guardsize> يساوي 0، فإن الخيوط الجديدة المنشأة باستخدام I<attr> لن "
136 "تحتوي على منطقة حارس."
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid "The default guard size is the same as the system page size."
142 msgstr "حجم الحارس المبدئي هو نفس حجم صفحة النظام."
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 msgid ""
148 "If the stack address attribute has been set in I<attr> (using "
149 "B<pthread_attr_setstack>(3) or B<pthread_attr_setstackaddr>(3)), meaning "
150 "that the caller is allocating the thread's stack, then the guard size "
151 "attribute is ignored (i.e., no guard area is created by the system): it is "
152 "the application's responsibility to handle stack overflow (perhaps by using "
153 "B<mprotect>(2) to manually define a guard area at the end of the stack that "
154 "it has allocated)."
155 msgstr ""
156 "إذا تم تعيين سمة عنوان المكدس في I<attr> (باستخدام "
157 "B<pthread_attr_setstack>(3) أو B<pthread_attr_setstackaddr>(3))، مما يعني أن "
158 "المستدعي يخصص مكدس الخيط، فإن سمة حجم الحارس تُتجاهل (أي لا تُنشأ منطقة حارس "
159 "بواسطة النظام): تقع مسؤولية معالجة تجاوز سعة المكدس على عاتق التطبيق (ربما "
160 "باستخدام B<mprotect>(2) لتعريف منطقة حارس يدويًا في نهاية المكدس الذي خصصه)."
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "The B<pthread_attr_getguardsize>() function returns the guard size "
167 "attribute of the thread attributes object referred to by I<attr> in the "
168 "buffer pointed to by I<guardsize>."
169 msgstr ""
170 "تُرجع الدالة B<pthread_attr_getguardsize>() سمة حجم الحارس لكائن سمات الخيط "
171 "المشار إليه بواسطة I<attr> في المخزن المؤقت المشار إليه بواسطة I<guardsize>."
172
173 #. type: SH
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 #, no-wrap
177 msgid "RETURN VALUE"
178 msgstr "قيمة الإرجاع"
179
180 #. type: Plain text
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 msgid ""
184 "On success, these functions return 0; on error, they return a nonzero error "
185 "number."
186 msgstr ""
187 "عند النجاح، تُعيد هذه الدوال القيمة 0؛ وعند الخطأ، تُعيد رقم خطأ غير صفري."
188
189 #. type: SH
190 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
191 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
192 #, no-wrap
193 msgid "ERRORS"
194 msgstr "الأخطاء"
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 msgid ""
200 "POSIX.1 documents an B<EINVAL> error if I<attr> or I<guardsize> is invalid. "
201 "On Linux these functions always succeed (but portable and future-proof "
202 "applications should nevertheless handle a possible error return)."
203 msgstr ""
204 "يوثق POSIX.1 خطأ B<EINVAL> إذا كان I<attr> أو I<guardsize> غير صالح. على "
205 "لينكس تنجح هذه الدوال دائمًا (لكن التطبيقات المحمولة والمقاومة للمستقبل يجب "
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 "ATTRIBUTES"
213 msgstr "السمات"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "For an explanation of the terms used in this section, see B<attributes>(7)."
220 msgstr ""
221 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
222
223 #. type: tbl table
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "Interface"
228 msgstr "الواجهة"
229
230 #. type: tbl table
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "Attribute"
235 msgstr "السمة"
236
237 #. type: tbl table
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Value"
242 msgstr "القيمة"
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid ".na\n"
249 msgstr ".na\n"
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid ".nh\n"
256 msgstr ".nh\n"
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid ""
263 "B<pthread_attr_setguardsize>(),\n"
264 "B<pthread_attr_getguardsize>()"
265 msgstr ""
266 "B<pthread_attr_setguardsize>()،\n"
267 "B<pthread_attr_getguardsize>()"
268
269 #. type: tbl table
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 #, no-wrap
273 msgid "Thread safety"
274 msgstr "سلامة الخيوط"
275
276 #. type: tbl table
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "MT-Safe"
281 msgstr "MT-Safe"
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 "STANDARDS"
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 "POSIX.1-2008."
294 msgstr "POSIX.1-2008."
295
296 #. type: SH
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "HISTORY"
301 msgstr "التاريخ"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid "glibc 2.1. POSIX.1-2001."
307 msgstr "glibc 2.1. POSIX.1-2001."
308
309 #. type: SH
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "NOTES"
314 msgstr "ملاحظات"
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid ""
320 "A guard area consists of virtual memory pages that are protected to prevent "
321 "read and write access. If a thread overflows its stack into the guard area, "
322 "then, on most hard architectures, it receives a B<SIGSEGV> signal, thus "
323 "notifying it of the overflow. Guard areas start on page boundaries, and the "
324 "guard size is internally rounded up to the system page size when creating a "
325 "thread. (Nevertheless, B<pthread_attr_getguardsize>() returns the guard "
326 "size that was set by B<pthread_attr_setguardsize>().)"
327 msgstr ""
328 "تتكون منطقة الحارس من صفحات ذاكرة افتراضية محمية لمنع الوصول للقراءة "
329 "والكتابة. إذا تجاوز خيط مكدسه إلى منطقة الحارس، فإنه، على معظم البنى الصلبة، "
330 "يستقبل إشارة B<SIGSEGV>، مما يخبره بالتجاوز. تبدأ مناطق الحارس على حدود "
331 "الصفحات، ويُقرّب حجم الحارس داخليًا إلى حجم صفحة النظام عند إنشاء خيط. (مع ذلك، "
332 "تُرجع B<pthread_attr_getguardsize>() حجم الحارس الذي تم تعيينه بواسطة "
333 "B<pthread_attr_setguardsize>().)"
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "Setting a guard size of 0 may be useful to save memory in an application "
340 "that creates many threads and knows that stack overflow can never occur."
341 msgstr ""
342 "قد يكون تعيين حجم حارس بقيمة 0 مفيدًا لتوفير الذاكرة في تطبيق ينشئ العديد من "
343 "الخيوط ويعلم أن تجاوز سعة المكدس لا يمكن أن يحدث أبدًا."
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid ""
349 "Choosing a guard size larger than the default size may be necessary for "
350 "detecting stack overflows if a thread allocates large data structures on the "
351 "stack."
352 msgstr ""
353 "قد يكون اختيار حجم حارس أكبر من الحجم المبدئي ضروريًا لاكتشاف تجاوزات سعة "
354 "المكدس إذا خصص خيط هياكل بيانات كبيرة على المكدس."
355
356 #. type: SH
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "BUGS"
361 msgstr "العلل"
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "As at glibc 2.8, the NPTL threading implementation includes the guard area "
368 "within the stack size allocation, rather than allocating extra space at the "
369 "end of the stack, as POSIX.1 requires. (This can result in an B<EINVAL> "
370 "error from B<pthread_create>(3) if the guard size value is too large, "
371 "leaving no space for the actual stack.)"
372 msgstr ""
373 "اعتبارًا من glibc 2.8، يتضمن تنفيذ الخيوط NPTL منطقة الحارس ضمن تخصيص حجم "
374 "المكدس، بدلاً من تخصيص مساحة إضافية في نهاية المكدس، كما يتطلب POSIX.1. (يمكن "
375 "أن يؤدي هذا إلى خطأ B<EINVAL> من B<pthread_create>(3) إذا كانت قيمة حجم "
376 "الحارس كبيرة جدًا، مما لا يترك مساحة للمكدس الفعلي.)"
377
378 #. glibc includes the guardsize within the allocated stack size,
379 #. which looks pretty clearly to be in violation of POSIX.
380 #. Filed bug, 22 Oct 2008:
381 #. https://www.sourceware.org/bugzilla/show_bug.cgi?id=6973
382 #. Older reports:
383 #. https//bugzilla.redhat.com/show_bug.cgi?id=435337
384 #. Reportedly, LinuxThreads did the right thing, allocating
385 #. extra space at the end of the stack:
386 #. http://sourceware.org/ml/libc-alpha/2008-05/msg00086.html
387 #. type: Plain text
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 msgid ""
391 "The obsolete LinuxThreads implementation did the right thing, allocating "
392 "extra space at the end of the stack for the guard area."
393 msgstr ""
394 "قام تنفيذ LinuxThreads القديم بالشيء الصحيح، بتخصيص مساحة إضافية في نهاية "
395 "المكدس لمنطقة الحارس."
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 "EXAMPLES"
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 "See B<pthread_getattr_np>(3)."
408 msgstr "انظر B<pthread_getattr_np>(3)."
409
410 #. type: SH
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "SEE ALSO"
415 msgstr "انظر أيضًا"
416
417 #. type: Plain text
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 msgid ""
421 "B<mmap>(2), B<mprotect>(2), B<pthread_attr_init>(3), "
422 "B<pthread_attr_setstack>(3), B<pthread_attr_setstacksize>(3), "
423 "B<pthread_create>(3), B<pthreads>(7)"
424 msgstr ""
425 "B<mmap>(2)، B<mprotect>(2)، B<pthread_attr_init>(3)، "
426 "B<pthread_attr_setstack>(3)، B<pthread_attr_setstacksize>(3)، "
427 "B<pthread_create>(3)، B<pthreads>(7)"
428
429 #. type: TH
430 #: debian-trixie
431 #, no-wrap
432 msgid "2024-05-02"
433 msgstr "2 مايو 2024"
434
435 #. type: TH
436 #: debian-trixie
437 #, no-wrap
438 msgid "Linux man-pages 6.9.1"
439 msgstr "صفحات دليل لينكس 6.9.1"
440
441 #. type: Plain text
442 #: debian-trixie
443 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
444 msgstr "مكتبة مسالك POSIX (I<libpthread>، I<-lpthread>)"
445
446 #. type: TH
447 #: fedora-44 fedora-rawhide
448 #, no-wrap
449 msgid "2024-07-23"
450 msgstr "23 يوليو 2024"
451
452 #. type: TH
453 #: fedora-44 fedora-rawhide
454 #, no-wrap
455 msgid "Linux man-pages 6.13"
456 msgstr "صفحات دليل لينكس 6.13"
457
458 #. type: TH
459 #: mageia-cauldron
460 #, no-wrap
461 msgid "Linux man-pages 6.17"
462 msgstr "صفحات دليل لينكس 6.17"
463
464 #. type: TH
465 #: opensuse-leap-16-1 opensuse-tumbleweed
466 #, no-wrap
467 msgid "Linux man-pages (unreleased)"
468 msgstr "صفحات دليل لينكس (لم تصدر بعد)"