Debian Codegraph @

po/ar/man7/sem_overview.7.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:42+0200\n"
9 "PO-Revision-Date: 2026-05-13 18:07+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 "sem_overview"
25 msgstr "sem_overview"
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 "sem_overview - overview of POSIX semaphores"
51 msgstr "sem_overview - نظرة عامة على الإشارات (semaphores) في POSIX"
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 "DESCRIPTION"
58 msgstr "الوصف"
59
60 #. type: Plain text
61 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
62 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
63 msgid ""
64 "POSIX semaphores allow processes and threads to synchronize their actions."
65 msgstr "تسمح إشارات POSIX للعمليات والمسارات (threads) بمزامنة إجراءاتها."
66
67 #. type: Plain text
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 msgid ""
71 "A semaphore is an integer whose value is never allowed to fall below zero. "
72 "Two operations can be performed on semaphores: increment the semaphore value "
73 "by one (B<sem_post>(3)); and decrement the semaphore value by one "
74 "(B<sem_wait>(3)). If the value of a semaphore is currently zero, then a "
75 "B<sem_wait>(3) operation will block until the value becomes greater than "
76 "zero."
77 msgstr ""
78 "الإشارة (semaphore) هي عدد صحيح لا يُسمح أبدًا لقيمته بالانخفاض تحت الصفر. "
79 "يمكن تنفيذ عمليتين على الإشارات: زيادة قيمة الإشارة بمقدار واحد "
80 "(B<sem_post>(3))؛ وتقليل قيمة الإشارة بمقدار واحد (B<sem_wait>(3)). إذا كانت "
81 "قيمة الإشارة حاليًا صفرًا، فإن عملية B<sem_wait>(3) ستحظر (block) حتى تصبح "
82 "القيمة أكبر من الصفر."
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 msgid ""
88 "POSIX semaphores come in two forms: named semaphores and unnamed semaphores."
89 msgstr ""
90 "تأتي إشارات POSIX بشكلين: إشارات مسماة (named semaphores) وإشارات غير مسماة "
91 "(unnamed semaphores)."
92
93 #. type: TP
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "B<Named semaphores>"
98 msgstr "B<الإشارات المسماة>"
99
100 #. glibc allows the initial slash to be omitted, and makes
101 #. multiple initial slashes equivalent to a single slash.
102 #. This differs from the implementation of POSIX message queues.
103 #. glibc allows subdirectory components in the name, in which
104 #. case the subdirectory tree must exist under /dev/shm, and
105 #. the fist subdirectory component must exist as the name
106 #. sem.name, and all of the subdirectory components must allow the
107 #. required permissions if a user wants to create a semaphore
108 #. object in a subdirectory.
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid ""
113 "A named semaphore is identified by a name of the form I</somename>; that is, "
114 "a null-terminated string of up to B<NAME_MAX>I<-4> (i.e., 251) characters "
115 "consisting of an initial slash, followed by one or more characters, none of "
116 "which are slashes. Two processes can operate on the same named semaphore by "
117 "passing the same name to B<sem_open>(3)."
118 msgstr ""
119 "يتم تعريف الإشارة المسماة باسم من النموذج I</somename>؛ أي سلسلة منتهية "
120 "بقيمة خالية (null-terminated) يصل طولها إلى B<NAME_MAX>I<-4> (أي 251) حرفًا "
121 "تتكون من شرطة مائلة أولية، متبوعة بحرف واحد أو أكثر، لا يحتوي أي منها على "
122 "شرطات مائلة. يمكن لعمليتين (processes) العمل على نفس الإشارة المسماة عن طريق "
123 "تمرير نفس الاسم إلى B<sem_open>(3)."
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 "The B<sem_open>(3) function creates a new named semaphore or opens an "
130 "existing named semaphore. After the semaphore has been opened, it can be "
131 "operated on using B<sem_post>(3) and B<sem_wait>(3). When a process has "
132 "finished using the semaphore, it can use B<sem_close>(3) to close the "
133 "semaphore. When all processes have finished using the semaphore, it can be "
134 "removed from the system using B<sem_unlink>(3)."
135 msgstr ""
136 "تنشئ دالة B<sem_open>(3) إشارة مسماة جديدة أو تفتح إشارة مسماة موجودة. بعد "
137 "فتح الإشارة، يمكن العمل عليها باستخدام B<sem_post>(3) وB<sem_wait>(3). عندما "
138 "تنتهي عملية من استخدام الإشارة، يمكنها استخدام B<sem_close>(3) لإغلاق "
139 "الإشارة. عندما تنتهي جميع العمليات من استخدام الإشارة، يمكن إزالتها من "
140 "النظام باستخدام B<sem_unlink>(3)."
141
142 #. type: TP
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 #, no-wrap
146 msgid "B<Unnamed semaphores (memory-based semaphores)>"
147 msgstr "B<الإشارات غير المسماة (إشارات قائمة على الذاكرة)>"
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "An unnamed semaphore does not have a name. Instead the semaphore is placed "
154 "in a region of memory that is shared between multiple threads (a I<thread-"
155 "shared semaphore>) or processes (a I<process-shared semaphore>). A thread-"
156 "shared semaphore is placed in an area of memory shared between the threads "
157 "of a process, for example, a global variable. A process-shared semaphore "
158 "must be placed in a shared memory region (e.g., a System V shared memory "
159 "segment created using B<shmget>(2), or a POSIX shared memory object built "
160 "created using B<shm_open>(3))."
161 msgstr ""
162 "الإشارة غير المسماة ليس لها اسم. بدلاً من ذلك، توضع الإشارة في منطقة ذاكرة "
163 "مشتركة بين مسارات متعددة (إشارة مشتركة بين المسارات I<thread-shared "
164 "semaphore>) أو عمليات (إشارة مشتركة بين العمليات I<process-shared "
165 "semaphore>). توضع الإشارة المشتركة بين المسارات في منطقة ذاكرة مشتركة بين "
166 "مسارات عملية، على سبيل المثال، متغير عام. يجب وضع الإشارة المشتركة بين "
167 "العمليات في منطقة ذاكرة مشتركة (مثل، قطعة ذاكرة مشتركة من System V تم "
168 "إنشاؤها باستخدام B<shmget>(2)، أو كائن ذاكرة مشتركة من POSIX تم بناؤه "
169 "باستخدام B<shm_open>(3))."
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid ""
175 "Before being used, an unnamed semaphore must be initialized using "
176 "B<sem_init>(3). It can then be operated on using B<sem_post>(3) and "
177 "B<sem_wait>(3). When the semaphore is no longer required, and before the "
178 "memory in which it is located is deallocated, the semaphore should be "
179 "destroyed using B<sem_destroy>(3)."
180 msgstr ""
181 "قبل الاستخدام، يجب تهيئة الإشارة غير المسماة باستخدام B<sem_init>(3). يمكن "
182 "بعد ذلك العمل عليها باستخدام B<sem_post>(3) وB<sem_wait>(3). عندما لا تكون "
183 "الإشارة مطلوبة بعد الآن، وقبل إلغاء تخصيص الذاكرة التي توجد فيها، يجب تدمير "
184 "الإشارة باستخدام B<sem_destroy>(3)."
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "The remainder of this section describes some specific details of the Linux "
191 "implementation of POSIX semaphores."
192 msgstr "يصف باقي هذا القسم بعض التفاصيل المحددة لتنفيذ Linux لإشارات POSIX."
193
194 #. type: SS
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 #, no-wrap
198 msgid "Versions"
199 msgstr "الإصدارات"
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "Before Linux 2.6, Linux supported only unnamed, thread-shared semaphores. "
206 "On a system with Linux 2.6 and a glibc that provides the NPTL threading "
207 "implementation, a complete implementation of POSIX semaphores is provided."
208 msgstr ""
209 "قبل Linux 2.6، كان Linux يدعم فقط الإشارات غير المسماة والمشتركة بين "
210 "المسارات. على نظام يعمل بنواة Linux 2.6 ومكتبة glibc التي توفر تنفيذ NPTL "
211 "للمسارات، يتم توفير تنفيذ كامل لإشارات POSIX."
212
213 #. type: SS
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 #, no-wrap
217 msgid "Persistence"
218 msgstr "الاستمرارية"
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "POSIX named semaphores have kernel persistence: if not removed by "
225 "B<sem_unlink>(3), a semaphore will exist until the system is shut down."
226 msgstr ""
227 "تمتلك إشارات POSIX المسماة استمرارية في النواة (kernel persistence): إذا لم "
228 "تتم إزالتها بواسطة B<sem_unlink>(3)، فستظل الإشارة موجودة حتى يتم إيقاف "
229 "تشغيل النظام."
230
231 #. type: SS
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, no-wrap
235 msgid "Linking"
236 msgstr "الربط (Linking)"
237
238 #. type: Plain text
239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
240 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
241 msgid ""
242 "Programs using the POSIX semaphores API must be compiled with I<cc -pthread> "
243 "to link against the real-time library, I<librt>."
244 msgstr ""
245 "يجب ترجمة البرامج التي تستخدم واجهة برمجة تطبيقات إشارات POSIX باستخدام I<cc "
246 "-pthread> للربط مع مكتبة الوقت الفعلي (real-time library)، I<librt>."
247
248 #. type: SS
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 #, no-wrap
252 msgid "Accessing named semaphores via the filesystem"
253 msgstr "الوصول إلى الإشارات المسماة عبر نظام الملفات"
254
255 #. type: Plain text
256 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
257 #: opensuse-tumbleweed
258 msgid ""
259 "On Linux, named semaphores are created in a virtual filesystem, normally "
260 "mounted under I</dev/shm>, with names of the form I<sem.>somename. (This is "
261 "the reason that semaphore names are limited to B<NAME_MAX>I<-4> rather than "
262 "B<NAME_MAX> characters.)"
263 msgstr ""
264 "في Linux، يتم إنشاء الإشارات المسماة في نظام ملفات افتراضي، يُوصل عادةً تحت I</"
265 "dev/shm>، بأسماء من النموذج I<sem.>somename. (هذا هو السبب في أن أسماء "
266 "الإشارات محدودة بـ B<NAME_MAX>I<-4> بدلاً من B<NAME_MAX> حرفًا.)"
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "Since Linux 2.6.19, ACLs can be placed on files under this directory, to "
273 "control object permissions on a per-user and per-group basis."
274 msgstr ""
275 "منذ Linux 2.6.19، يمكن وضع قوائم التحكم في الوصول (ACLs) على الملفات تحت هذا "
276 "الدليل، للتحكم في أذونات الكائنات على أساس كل مستخدم وكل مجموعة."
277
278 #. type: SH
279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
280 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
281 #, no-wrap
282 msgid "NOTES"
283 msgstr "ملاحظات"
284
285 #. type: Plain text
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 msgid ""
289 "System V semaphores (B<semget>(2), B<semop>(2), etc.) are an older semaphore "
290 "API. POSIX semaphores provide a simpler, and better designed interface than "
291 "System V semaphores; on the other hand POSIX semaphores are less widely "
292 "available (especially on older systems) than System V semaphores."
293 msgstr ""
294 "إشارات System V (B<semget>(2)، B<semop>(2)، إلخ) هي واجهة برمجة تطبيقات "
295 "إشارات أقدم. توفر إشارات POSIX واجهة أبسط وأفضل تصميمًا من إشارات System V؛ "
296 "من ناحية أخرى، فإن إشارات POSIX أقل توفرًا على نطاق واسع (خاصة على الأنظمة "
297 "الأقدم) من إشارات System V."
298
299 #. type: SH
300 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
301 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
302 #, no-wrap
303 msgid "EXAMPLES"
304 msgstr "أمثلة"
305
306 #. type: Plain text
307 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
308 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
309 msgid ""
310 "An example of the use of various POSIX semaphore functions is shown in "
311 "B<sem_wait>(3)."
312 msgstr "يظهر مثال لاستخدام دوال إشارات POSIX المختلفة في B<sem_wait>(3)."
313
314 #. type: SH
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "SEE ALSO"
319 msgstr "انظر أيضًا"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid ""
325 "B<sem_close>(3), B<sem_destroy>(3), B<sem_getvalue>(3), B<sem_init>(3), "
326 "B<sem_open>(3), B<sem_post>(3), B<sem_unlink>(3), B<sem_wait>(3), "
327 "B<pthreads>(7), B<shm_overview>(7)"
328 msgstr ""
329 "B<sem_close>(3)، B<sem_destroy>(3)، B<sem_getvalue>(3)، B<sem_init>(3)، "
330 "B<sem_open>(3)، B<sem_post>(3)، B<sem_unlink>(3)، B<sem_wait>(3)، "
331 "B<pthreads>(7)، B<shm_overview>(7)"
332
333 #. type: TH
334 #: debian-trixie fedora-44 fedora-rawhide
335 #, no-wrap
336 msgid "2024-05-02"
337 msgstr "2 مايو 2024"
338
339 #. type: TH
340 #: debian-trixie
341 #, no-wrap
342 msgid "Linux man-pages 6.9.1"
343 msgstr "صفحات دليل لينكس 6.9.1"
344
345 #. type: Plain text
346 #: debian-trixie fedora-44 fedora-rawhide
347 msgid ""
348 "On Linux, named semaphores are created in a virtual filesystem, normally "
349 "mounted under I</dev/shm>, with names of the form B<sem.>I<somename>. (This "
350 "is the reason that semaphore names are limited to B<NAME_MAX>I<-4> rather "
351 "than B<NAME_MAX> characters.)"
352 msgstr ""
353 "في Linux، يتم إنشاء الإشارات المسماة في نظام ملفات افتراضي، يُوصل عادةً تحت I</"
354 "dev/shm>، بأسماء من النموذج B<sem.>I<somename>. (هذا هو السبب في أن أسماء "
355 "الإشارات محدودة بـ B<NAME_MAX>I<-4> بدلاً من B<NAME_MAX> حرفًا.)"
356
357 #. type: TH
358 #: fedora-44 fedora-rawhide
359 #, no-wrap
360 msgid "Linux man-pages 6.13"
361 msgstr "صفحات دليل لينكس 6.13"
362
363 #. type: TH
364 #: mageia-cauldron
365 #, no-wrap
366 msgid "Linux man-pages 6.17"
367 msgstr "صفحات دليل لينكس 6.17"
368
369 #. type: TH
370 #: opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "Linux man-pages (unreleased)"
373 msgstr "صفحات دليل لينكس (لم تصدر بعد)"