Debian Codegraph @

po/ar/man3/pthread_atfork.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:35+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_atfork"
25 msgstr "pthread_atfork"
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 "pthread_atfork - register fork handlers"
51 msgstr "pthread_atfork - تسجيل معالجات fork"
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 "POSIX threads library (I<libpthread>,\\ I<-lpthread>)"
64 msgstr "مكتبة مسالك POSIX (I<libpthread>،\\ I<-lpthread>)"
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>pthread.hE<gt>>\n"
78 msgstr "B<#include E<lt>pthread.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 pthread_atfork(typeof(void (void)) *>I<prepare>B<,>\n"
86 "B< typeof(void (void)) *>I<parent>B<,>\n"
87 "B< typeof(void (void)) *>I<child>B<);>\n"
88 msgstr ""
89 "B<int pthread_atfork(typeof(void (void)) *>I<prepare>B<,>\n"
90 "B< typeof(void (void)) *>I<parent>B<,>\n"
91 "B< typeof(void (void)) *>I<child>B<);>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "الوصف"
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 ""
104 "The B<pthread_atfork>() function registers fork handlers that are to be "
105 "executed when B<fork>(2) is called by any thread in a process. The "
106 "handlers are executed in the context of the thread that calls B<fork>(2)."
107 msgstr ""
108 "تسجل الدالة B<pthread_atfork>() معالجات fork التي سيتم تنفيذها عند استدعاء "
109 "B<fork>(2) بواسطة أي خيط في عملية. تُنفذ المعالجات في سياق الخيط الذي يستدعي "
110 "B<fork>(2)."
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid "Three kinds of handler can be registered:"
116 msgstr "يمكن تسجيل ثلاثة أنواع من المعالجات:"
117
118 #. type: IP
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid "\\[bu]"
123 msgstr "\\[bu]"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "I<prepare> specifies a handler that is executed in the parent process before "
130 "B<fork>(2) processing starts."
131 msgstr "يحدد I<prepare> معالجًا يُنفذ في العملية الأم قبل بدء معالجة B<fork>(2)."
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid ""
137 "I<parent> specifies a handler that is executed in the parent process after "
138 "B<fork>(2) processing completes."
139 msgstr ""
140 "يحدد I<parent> معالجًا يُنفذ في العملية الأم بعد اكتمال معالجة B<fork>(2)."
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "I<child> specifies a handler that is executed in the child process after "
147 "B<fork>(2) processing completes."
148 msgstr ""
149 "يحدد I<child> معالجًا يُنفذ في العملية الابنة بعد اكتمال معالجة B<fork>(2)."
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 "Any of the three arguments may be NULL if no handler is needed in the "
156 "corresponding phase of B<fork>(2) processing."
157 msgstr ""
158 "يمكن أن تكون أي من الوسائط الثلاث NULL إذا لم يكن هناك حاجة لمعالج في "
159 "المرحلة المقابلة من معالجة B<fork>(2)."
160
161 #. type: SH
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "RETURN VALUE"
166 msgstr "قيمة الإرجاع"
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "On success, B<pthread_atfork>() returns zero. On error, it returns an "
173 "error number. B<pthread_atfork>() may be called multiple times by a "
174 "process to register additional handlers. The handlers for each phase are "
175 "called in a specified order: the I<prepare> handlers are called in reverse "
176 "order of registration; the I<parent> and I<child> handlers are called in the "
177 "order of registration."
178 msgstr ""
179 "عند النجاح، تُرجع B<pthread_atfork>() صفرًا. عند الخطأ، تُرجع رقم خطأ. يمكن "
180 "استدعاء B<pthread_atfork>() عدة مرات بواسطة عملية لتسجيل معالجات إضافية. "
181 "تُستدعى المعالجات لكل مرحلة بترتيب محدد: تُستدعى معالجات I<prepare> بترتيب "
182 "عكسي للتسجيل؛ تُستدعى معالجات I<parent> و I<child> بترتيب التسجيل."
183
184 #. type: SH
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 #, no-wrap
188 msgid "ERRORS"
189 msgstr "الأخطاء"
190
191 #. type: TP
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "B<ENOMEM>"
196 msgstr "B<ENOMEM>"
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 "Could not allocate memory to record the fork handler list entry."
202 msgstr "تعذر تخصيص ذاكرة لتسجيل إدخال قائمة معالج fork."
203
204 #. type: SH
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "STANDARDS"
209 msgstr "المعايير"
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid "POSIX.1-2008."
215 msgstr "POSIX.1-2008."
216
217 #. type: SH
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "HISTORY"
222 msgstr "التاريخ"
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid "POSIX.1-2001."
228 msgstr "POSIX.1-2001."
229
230 #. type: SH
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "NOTES"
235 msgstr "ملاحظات"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "When B<fork>(2) is called in a multithreaded process, only the calling "
242 "thread is duplicated in the child process. The original intention of "
243 "B<pthread_atfork>() was to allow the child process to be returned to a "
244 "consistent state. For example, at the time of the call to B<fork>(2), other "
245 "threads may have locked mutexes that are visible in the user-space memory "
246 "duplicated in the child. Such mutexes would never be unlocked, since the "
247 "threads that placed the locks are not duplicated in the child. The intent "
248 "of B<pthread_atfork>() was to provide a mechanism whereby the application "
249 "(or a library) could ensure that mutexes and other process and thread state "
250 "would be restored to a consistent state. In practice, this task is "
251 "generally too difficult to be practicable."
252 msgstr ""
253 "عند استدعاء B<fork>(2) في عملية متعددة الخيوط، يُنسخ فقط الخيط المستدعي في "
254 "العملية الابنة. كان الهدف الأصلي من B<pthread_atfork>() هو السماح بإعادة "
255 "العملية الابنة إلى حالة متسقة. على سبيل المثال، في وقت استدعاء B<fork>(2)، "
256 "قد تكون خيوط أخرى قد أغلقت كائنات المزامنة (mutexes) المرئية في ذاكرة مساحة "
257 "المستخدم المنسوخة في الابنة. لن تُفتح هذه المزامنة أبدًا، لأن الخيوط التي وضعت "
258 "الأقفال لا تُنسخ في الابنة. كان القصد من B<pthread_atfork>() توفير آلية يمكن "
259 "للتطبيق (أو المكتبة) من خلالها ضمان استعادة كائنات المزامنة وحالة العملية "
260 "والخيوط الأخرى إلى حالة متسقة. عمليًا، هذه المهمة صعبة جدًا بشكل عام لتكون "
261 "قابلة للتطبيق."
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 msgid ""
267 "After a B<fork>(2) in a multithreaded process returns in the child, the "
268 "child should call only async-signal-safe functions (see B<signal-"
269 "safety>(7)) until such time as it calls B<execve>(2) to execute a new "
270 "program."
271 msgstr ""
272 "بعد عودة B<fork>(2) في عملية متعددة الخيوط في الابنة، يجب على الابنة "
273 "استدعاء دوال آمنة للإشارات غير المتزامنة فقط (انظر B<signal-safety>(7)) حتى "
274 "تستدعي B<execve>(2) لتنفيذ برنامج جديد."
275
276 #. type: Plain text
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 msgid ""
280 "POSIX.1 specifies that B<pthread_atfork>() shall not fail with the error "
281 "B<EINTR>."
282 msgstr "يحدد POSIX.1 أن B<pthread_atfork>() يجب ألا تفشل مع الخطأ B<EINTR>."
283
284 #. type: SH
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "SEE ALSO"
289 msgstr "انظر أيضًا"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid "B<fork>(2), B<atexit>(3), B<pthreads>(7)"
295 msgstr "B<fork>(2), B<atexit>(3), B<pthreads>(7)"
296
297 #. type: TH
298 #: debian-trixie
299 #, no-wrap
300 msgid "2024-05-02"
301 msgstr "2 مايو 2024"
302
303 #. type: TH
304 #: debian-trixie
305 #, no-wrap
306 msgid "Linux man-pages 6.9.1"
307 msgstr "صفحات دليل لينكس 6.9.1"
308
309 #. type: Plain text
310 #: debian-trixie
311 msgid "POSIX threads library (I<libpthread>, I<-lpthread>)"
312 msgstr "مكتبة مسالك POSIX (I<libpthread>، I<-lpthread>)"
313
314 #. type: Plain text
315 #: debian-trixie
316 #, no-wrap
317 msgid ""
318 "B<int pthread_atfork(void (*>I<prepare>B<)(void), void (*>I<parent>B<)(void),>\n"
319 "B< void (*>I<child>B<)(void));>\n"
320 msgstr ""
321 "B<int pthread_atfork(void (*>I<prepare>B<)(void), void (*>I<parent>B<)(void),>\n"
322 "B< void (*>I<child>B<)(void));>\n"
323
324 #. type: TH
325 #: fedora-44 fedora-rawhide
326 #, no-wrap
327 msgid "2024-12-13"
328 msgstr "13 ديسمبر 2024"
329
330 #. type: TH
331 #: fedora-44 fedora-rawhide
332 #, no-wrap
333 msgid "Linux man-pages 6.13"
334 msgstr "صفحات دليل لينكس 6.13"
335
336 #. type: TH
337 #: mageia-cauldron
338 #, no-wrap
339 msgid "Linux man-pages 6.17"
340 msgstr "صفحات دليل لينكس 6.17"
341
342 #. type: TH
343 #: opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "Linux man-pages (unreleased)"
346 msgstr "صفحات دليل لينكس (لم تصدر بعد)"