Debian Codegraph @

po/ar/man3/getcontext.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:25+0200\n"
9 "PO-Revision-Date: 2026-06-01 17:37+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 "getcontext"
25 msgstr "getcontext"
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 "getcontext, setcontext - get or set the user context"
51 msgstr "getcontext, setcontext - الحصول على سياق المستخدم أو تعيينه"
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>ucontext.hE<gt>>\n"
78 msgstr "B<#include E<lt>ucontext.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
82 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<int getcontext(ucontext_t *>I<ucp>B<);>\n"
86 "B<int setcontext(const ucontext_t *>I<ucp>B<);>\n"
87 msgstr ""
88 "B<int getcontext(ucontext_t *>I<ucp>B<);>\n"
89 "B<int setcontext(const ucontext_t *>I<ucp>B<);>\n"
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr "الوصف"
97
98 #. type: Plain text
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 msgid ""
102 "In a System V-like environment, one has the two types I<mcontext_t> and "
103 "I<ucontext_t> defined in I<E<lt>ucontext.hE<gt>> and the four functions "
104 "B<getcontext>(), B<setcontext>(), B<makecontext>(3), and B<swapcontext>(3) "
105 "that allow user-level context switching between multiple threads of control "
106 "within a process."
107 msgstr ""
108 "في بيئة شبيهة بـ System V، يوجد نوعان I<mcontext_t> و I<ucontext_t> مُعرَّفان "
109 "في I<E<lt>ucontext.hE<gt>> وأربع دوال B<getcontext>() و B<setcontext>() و "
110 "B<makecontext>(3) و B<swapcontext>(3) التي تسمح بتبديل السياق على مستوى "
111 "المستخدم بين عدة مسارات تحكم داخل عملية."
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid ""
117 "The I<mcontext_t> type is machine-dependent and opaque. The I<ucontext_t> "
118 "type is a structure that has at least the following fields:"
119 msgstr ""
120 "النوع I<mcontext_t> يعتمد على الآلة وهو معتم. النوع I<ucontext_t> هو بنية "
121 "تحتوي على الأقل على الحقول التالية:"
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid ""
128 "typedef struct ucontext_t {\n"
129 " struct ucontext_t *uc_link;\n"
130 " sigset_t uc_sigmask;\n"
131 " stack_t uc_stack;\n"
132 " mcontext_t uc_mcontext;\n"
133 " ...\n"
134 "} ucontext_t;\n"
135 msgstr ""
136 "typedef struct ucontext_t {\n"
137 " struct ucontext_t *uc_link;\n"
138 " sigset_t uc_sigmask;\n"
139 " stack_t uc_stack;\n"
140 " mcontext_t uc_mcontext;\n"
141 " ...\n"
142 "} ucontext_t;\n"
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 "with I<sigset_t> and I<stack_t> defined in I<E<lt>signal.hE<gt>>. Here "
149 "I<uc_link> points to the context that will be resumed when the current "
150 "context terminates (in case the current context was created using "
151 "B<makecontext>(3)), I<uc_sigmask> is the set of signals blocked in this "
152 "context (see B<sigprocmask>(2)), I<uc_stack> is the stack used by this "
153 "context (see B<sigaltstack>(2)), and I<uc_mcontext> is the machine-specific "
154 "representation of the saved context, that includes the calling thread's "
155 "machine registers."
156 msgstr ""
157 "مع I<sigset_t> و I<stack_t> المُعرَّفين في I<E<lt>signal.hE<gt>>. هنا "
158 "I<uc_link> يشير إلى السياق الذي سيُستأنف عندما ينتهي السياق الحالي (في حال "
159 "كان السياق الحالي قد أُنشئ باستخدام B<makecontext>(3))، و I<uc_sigmask> هو "
160 "مجموعة الإشارات المحجوبة في هذا السياق (انظر B<sigprocmask>(2))، و "
161 "I<uc_stack> هو المكدس المستخدم بواسطة هذا السياق (انظر B<sigaltstack>(2))، و "
162 "I<uc_mcontext> هو التمثيل الخاص بالآلة للسياق المحفوظ، والذي يتضمن سجلات "
163 "الآلة لمسلك الاستدعاء."
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "The function B<getcontext>() initializes the structure pointed to by I<ucp> "
170 "to the currently active context."
171 msgstr ""
172 "الدالة B<getcontext>() تُهيئ البنية المشار إليها بواسطة I<ucp> إلى السياق "
173 "النشط حاليًا."
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 msgid ""
179 "The function B<setcontext>() restores the user context pointed to by "
180 "I<ucp>. A successful call does not return. The context should have been "
181 "obtained by a call of B<getcontext>(), or B<makecontext>(3), or received as "
182 "the third argument to a signal handler (see the discussion of the "
183 "B<SA_SIGINFO> flag in B<sigaction>(2))."
184 msgstr ""
185 "الدالة B<setcontext>() تستعيد سياق المستخدم المشار إليه بواسطة I<ucp>. "
186 "الاستدعاء الناجح لا يعود. يجب أن يكون السياق قد حُصل عليه باستدعاء "
187 "B<getcontext>() أو B<makecontext>(3) أو استُلم كوسيطة ثالثة لمعالج إشارة "
188 "(انظر مناقشة العلم B<SA_SIGINFO> في B<sigaction>(2))."
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 msgid ""
194 "If the context was obtained by a call of B<getcontext>(), program execution "
195 "continues as if this call just returned."
196 msgstr ""
197 "إذا حُصل على السياق باستدعاء B<getcontext>()، يستمر تنفيذ البرنامج كما لو أن "
198 "هذا الاستدعاء قد عاد للتو."
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "If the context was obtained by a call of B<makecontext>(3), program "
205 "execution continues by a call to the function I<func> specified as the "
206 "second argument of that call to B<makecontext>(3). When the function "
207 "I<func> returns, we continue with the I<uc_link> member of the structure "
208 "I<ucp> specified as the first argument of that call to B<makecontext>(3). "
209 "When this member is NULL, the thread exits."
210 msgstr ""
211 "إذا حُصل على السياق باستدعاء B<makecontext>(3)، يستمر تنفيذ البرنامج باستدعاء "
212 "الدالة I<func> المُحددة كوسيطة ثانية لذلك الاستدعاء لـ B<makecontext>(3). "
213 "عندما تعود الدالة I<func>، نستمر مع العضو I<uc_link> من البنية I<ucp> "
214 "المُحددة كوسيطة أولى لذلك الاستدعاء لـ B<makecontext>(3). عندما يكون هذا "
215 "العضو NULL، يخرج المسلك."
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "If the context was obtained by a call to a signal handler, then old standard "
222 "text says that \"program execution continues with the program instruction "
223 "following the instruction interrupted by the signal\". However, this "
224 "sentence was removed in SUSv2, and the present verdict is \"the result is "
225 "unspecified\"."
226 msgstr ""
227 "إذا حُصل على السياق باستدعاء معالج إشارة، فإن النص القياسي القديم يقول أن "
228 "\"تنفيذ البرنامج يستمر مع تعليمة البرنامج التالية للتعليمة التي قاطعتها "
229 "الإشارة\". ومع ذلك، أُزيلت هذه الجملة في SUSv2، والحكم الحالي هو \"النتيجة "
230 "غير محددة\"."
231
232 #. type: SH
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "RETURN VALUE"
237 msgstr "قيمة الإرجاع"
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid ""
243 "When successful, B<getcontext>() returns 0 and B<setcontext>() does not "
244 "return. On error, both return -1 and set I<errno> to indicate the error."
245 msgstr ""
246 "عند النجاح، تُرجع B<getcontext>() 0 و B<setcontext>() لا تعود. عند الخطأ، "
247 "يُرجع كلاهما -1 ويُعيّنان I<errno> للإشارة إلى الخطأ."
248
249 #. type: SH
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 #, no-wrap
253 msgid "ERRORS"
254 msgstr "الأخطاء"
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid "None defined."
260 msgstr "لا شيء مُعرَّف."
261
262 #. type: SH
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 #, no-wrap
266 msgid "ATTRIBUTES"
267 msgstr "السمات"
268
269 #. type: Plain text
270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
272 msgid ""
273 "For an explanation of the terms used in this section, see B<attributes>(7)."
274 msgstr ""
275 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
276
277 #. type: tbl table
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "Interface"
282 msgstr "الواجهة"
283
284 #. type: tbl table
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "Attribute"
289 msgstr "السمة"
290
291 #. type: tbl table
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid "Value"
296 msgstr "القيمة"
297
298 #. type: tbl table
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid ".na\n"
303 msgstr ".na\n"
304
305 #. type: tbl table
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid ".nh\n"
310 msgstr ".nh\n"
311
312 #. type: tbl table
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid ""
317 "B<getcontext>(),\n"
318 "B<setcontext>()"
319 msgstr ""
320 "B<getcontext>()،\n"
321 "B<setcontext>()"
322
323 #. type: tbl table
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "Thread safety"
328 msgstr "سلامة الخيوط"
329
330 #. type: tbl table
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 #, no-wrap
334 msgid "MT-Safe race:ucp"
335 msgstr "آمن للمسارات المتعددة (MT-Safe) سباق:ucp"
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "STANDARDS"
342 msgstr "المعايير"
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid "None."
348 msgstr "لا شيء."
349
350 #. type: SH
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "HISTORY"
355 msgstr "التاريخ"
356
357 #. type: Plain text
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 msgid "SUSv2, POSIX.1-2001."
361 msgstr "SUSv2، POSIX.1-2001."
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 "POSIX.1-2008 removes these functions, citing portability issues, and "
368 "recommending that applications be rewritten to use POSIX threads instead."
369 msgstr ""
370 "يزيل POSIX.1-2008 هذه الدوال، مستشهدًا بمشاكل قابلية النقل، ويوصي بإعادة "
371 "كتابة التطبيقات لاستخدام مسالك POSIX بدلاً من ذلك."
372
373 #. type: SH
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 #, no-wrap
377 msgid "NOTES"
378 msgstr "ملاحظات"
379
380 #. type: Plain text
381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
382 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
383 msgid ""
384 "The earliest incarnation of this mechanism was the B<setjmp>(3)/ "
385 "B<longjmp>(3) mechanism. Since that does not define the handling of the "
386 "signal context, the next stage was the B<sigsetjmp>(3)/ B<siglongjmp>(3) "
387 "pair. The present mechanism gives much more control. On the other hand, "
388 "there is no easy way to detect whether a return from B<getcontext>() is "
389 "from the first call, or via a B<setcontext>() call. The user has to invent "
390 "their own bookkeeping device, and a register variable won't do since "
391 "registers are restored."
392 msgstr ""
393 "كان التجسيد الأقدم لهذه الآلية هو آلية B<setjmp>(3)/ B<longjmp>(3). نظرًا لأن "
394 "ذلك لا يُعرِّف معالجة سياق الإشارة، كانت المرحلة التالية هي الزوج "
395 "B<sigsetjmp>(3)/ B<siglongjmp>(3). الآلية الحالية تعطي تحكمًا أكبر بكثير. من "
396 "ناحية أخرى، لا توجد طريقة سهلة لاكتشاف ما إذا كانت العودة من B<getcontext>() "
397 "هي من الاستدعاء الأول، أو عبر استدعاء B<setcontext>(). يجب على المستخدم "
398 "اختراع أداة حفظ سجلات خاصة به، والمتغير المسجل لن يفي بالغرض لأن السجلات "
399 "تُستعاد."
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid ""
405 "When a signal occurs, the current user context is saved and a new context is "
406 "created by the kernel for the signal handler. Do not leave the handler "
407 "using B<longjmp>(3): it is undefined what would happen with contexts. Use "
408 "B<siglongjmp>(3) or B<setcontext>() instead."
409 msgstr ""
410 "عند حدوث إشارة، يُحفظ سياق المستخدم الحالي ويُنشأ سياق جديد بواسطة النواة "
411 "لمعالج الإشارة. لا تترك المعالج باستخدام B<longjmp>(3): غير محدد ما سيحدث مع "
412 "السياقات. استخدم B<siglongjmp>(3) أو B<setcontext>() بدلاً من ذلك."
413
414 #. type: SH
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "SEE ALSO"
419 msgstr "انظر أيضًا"
420
421 #. type: Plain text
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 msgid ""
425 "B<sigaction>(2), B<sigaltstack>(2), B<sigprocmask>(2), B<longjmp>(3), "
426 "B<makecontext>(3), B<sigsetjmp>(3), B<signal>(7)"
427 msgstr ""
428 "B<sigaction>(2)، B<sigaltstack>(2)، B<sigprocmask>(2)، B<longjmp>(3)، "
429 "B<makecontext>(3)، B<sigsetjmp>(3)، B<signal>(7)"
430
431 #. type: TH
432 #: debian-trixie
433 #, no-wrap
434 msgid "2024-05-02"
435 msgstr "2 مايو 2024"
436
437 #. type: TH
438 #: debian-trixie
439 #, no-wrap
440 msgid "Linux man-pages 6.9.1"
441 msgstr "صفحات دليل لينكس 6.9.1"
442
443 #. type: Plain text
444 #: debian-trixie
445 msgid "Standard C library (I<libc>, I<-lc>)"
446 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
447
448 #. type: TH
449 #: fedora-44 fedora-rawhide
450 #, no-wrap
451 msgid "2024-07-23"
452 msgstr "23 يوليو 2024"
453
454 #. type: TH
455 #: fedora-44 fedora-rawhide
456 #, no-wrap
457 msgid "Linux man-pages 6.13"
458 msgstr "صفحات دليل لينكس 6.13"
459
460 #. type: TH
461 #: mageia-cauldron
462 #, no-wrap
463 msgid "Linux man-pages 6.17"
464 msgstr "صفحات دليل لينكس 6.17"
465
466 #. type: TH
467 #: opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "Linux man-pages (unreleased)"
470 msgstr "صفحات دليل لينكس (لم تصدر بعد)"