Debian Codegraph @

po/ar/man2/msgop.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:32+0200\n"
9 "PO-Revision-Date: 2026-05-18 17:54+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 "MSGOP"
25 msgstr "MSGOP"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-11"
32 msgstr "11 فبراير 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 "msgrcv, msgsnd - System V message queue operations"
51 msgstr "msgrcv, msgsnd - عمليات طابور رسائل System V"
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>sys/msg.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/msg.hE<gt>>\n"
79
80 #. type: Plain text
81 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
82 #: opensuse-tumbleweed
83 #, no-wrap
84 msgid ""
85 "B<ssize_t msgrcv(>size_t msgsz;\n"
86 "B< int >I<msqid>B<, void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
87 "B< int >I<msgflg>B<);>\n"
88 msgstr ""
89 "B<ssize_t msgrcv(>size_t msgsz;\n"
90 "B< int >I<msqid>B<, void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
91 "B< int >I<msgflg>B<);>\n"
92
93 #. type: Plain text
94 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
95 #: opensuse-tumbleweed
96 #, no-wrap
97 msgid ""
98 "B<int msgsnd(>size_t msgsz;\n"
99 "B< int >I<msqid>B<, const void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
100 "B< int >I<msgflg>B<);>\n"
101 msgstr ""
102 "B<int msgsnd(>size_t msgsz;\n"
103 "B< int >I<msqid>B<, const void >I<msgp>B<[>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
104 "B< int >I<msgflg>B<);>\n"
105
106 #. type: SH
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid "DESCRIPTION"
111 msgstr "الوصف"
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 B<msgsnd>() and B<msgrcv>() system calls are used to send messages to, "
118 "and receive messages from, a System\\ V message queue. The calling process "
119 "must have write permission on the message queue in order to send a message, "
120 "and read permission to receive a message."
121 msgstr ""
122 "استدعاءات النظام B<msgsnd>() و B<msgrcv>() تُستخدم لإرسال الرسائل إلى طابور "
123 "رسائل System\\ V واستقبالها منه. يجب أن تمتلك العملية المستدعية صلاحية "
124 "الكتابة على طابور الرسائل لإرسال رسالة، وصلاحية القراءة لاستقبال رسالة."
125
126 #. type: Plain text
127 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
128 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
129 msgid ""
130 "The I<msgp> argument is a pointer to a caller-defined structure of the "
131 "following general form:"
132 msgstr ""
133 "الوسيط I<msgp> هو مؤشر إلى بنية معرفة من قبل المستدعي بالشكل العام التالي:"
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 #, no-wrap
139 msgid ""
140 "struct msgbuf {\n"
141 " long mtype; /* message type, must be E<gt> 0 */\n"
142 " char mtext[1]; /* message data */\n"
143 "};\n"
144 msgstr ""
145 "struct msgbuf {\n"
146 " long mtype; /* نوع الرسالة، يجب أن يكون E<gt> 0 */\n"
147 " char mtext[1]; /* بيانات الرسالة */\n"
148 "};\n"
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid ""
154 "The I<mtext> field is an array (or other structure) whose size is specified "
155 "by I<msgsz>, a nonnegative integer value. Messages of zero length (i.e., no "
156 "I<mtext> field) are permitted. The I<mtype> field must have a strictly "
157 "positive integer value. This value can be used by the receiving process for "
158 "message selection (see the description of B<msgrcv>() below)."
159 msgstr ""
160 "الحقل I<mtext> هو مصفوفة (أو بنية أخرى) يُحدد حجمها بواسطة I<msgsz>، وهي قيمة "
161 "عددية غير سالبة. يُسمح برسائل ذات طول صفري (أي لا يوجد حقل I<mtext>). يجب أن "
162 "يحتوي الحقل I<mtype> على قيمة عددية موجبة تمامًا. يمكن استخدام هذه القيمة من "
163 "قبل العملية المستقبلة لاختيار الرسالة (انظر وصف B<msgrcv>() أدناه)."
164
165 #. type: SS
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 #, no-wrap
169 msgid "msgsnd()"
170 msgstr "msgsnd()"
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "The B<msgsnd>() system call appends a copy of the message pointed to by "
177 "I<msgp> to the message queue whose identifier is specified by I<msqid>."
178 msgstr ""
179 "استدعاء النظام B<msgsnd>() يُلحق نسخة من الرسالة المشار إليها بواسطة I<msgp> "
180 "إلى طابور الرسائل الذي يُحدد معرفه بواسطة I<msqid>."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid ""
186 "If sufficient space is available in the queue, B<msgsnd>() succeeds "
187 "immediately. The queue capacity is governed by the I<msg_qbytes> field in "
188 "the associated data structure for the message queue. During queue creation "
189 "this field is initialized to B<MSGMNB> bytes, but this limit can be modified "
190 "using B<msgctl>(2). A message queue is considered to be full if either of "
191 "the following conditions is true:"
192 msgstr ""
193 "إذا توفرت مساحة كافية في الطابور، ينجح B<msgsnd>() فورًا. سعة الطابور تُحكم "
194 "بواسطة الحقل I<msg_qbytes> في بنية البيانات المرتبطة بطابور الرسائل. أثناء "
195 "إنشاء الطابور، يُهيأ هذا الحقل إلى B<MSGMNB> بايت، لكن يمكن تعديل هذا الحد "
196 "باستخدام B<msgctl>(2). يُعتبر طابور الرسائل ممتلئًا إذا تحقق أحد الشرطين "
197 "التاليين:"
198
199 #. type: IP
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 #, no-wrap
203 msgid "\\[bu]"
204 msgstr "\\[bu]"
205
206 #. type: Plain text
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 msgid ""
210 "Adding a new message to the queue would cause the total number of bytes in "
211 "the queue to exceed the queue's maximum size (the I<msg_qbytes> field)."
212 msgstr ""
213 "إضافة رسالة جديدة إلى الطابور ستؤدي إلى تجاوز العدد الإجمالي للبايتات في "
214 "الطابور للحجم الأقصى للطابور (الحقل I<msg_qbytes>)."
215
216 #. type: Plain text
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 msgid ""
220 "Adding another message to the queue would cause the total number of messages "
221 "in the queue to exceed the queue's maximum size (the I<msg_qbytes> field). "
222 "This check is necessary to prevent an unlimited number of zero-length "
223 "messages being placed on the queue. Although such messages contain no data, "
224 "they nevertheless consume (locked) kernel memory."
225 msgstr ""
226 "إضافة رسالة أخرى إلى الطابور ستؤدي إلى تجاوز العدد الإجمالي للرسائل في "
227 "الطابور للحجم الأقصى للطابور (الحقل I<msg_qbytes>). هذا الفحص ضروري لمنع وضع "
228 "عدد غير محدود من الرسائل ذات الطول الصفري في الطابور. على الرغم من أن هذه "
229 "الرسائل لا تحتوي على بيانات، إلا أنها تستهلك ذاكرة نواة (مقفلة)."
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "If insufficient space is available in the queue, then the default behavior "
236 "of B<msgsnd>() is to block until space becomes available. If B<IPC_NOWAIT> "
237 "is specified in I<msgflg>, then the call instead fails with the error "
238 "B<EAGAIN>."
239 msgstr ""
240 "إذا لم تتوفر مساحة كافية في الطابور، فإن السلوك المبدئي لـ B<msgsnd>() هو "
241 "الحظر حتى تتوفر مساحة. إذا تم تحديد B<IPC_NOWAIT> في I<msgflg>، فإن "
242 "الاستدعاء يفشل بدلاً من ذلك مع الخطأ B<EAGAIN>."
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid "A blocked B<msgsnd>() call may also fail if:"
248 msgstr "قد يفشل استدعاء B<msgsnd>() المحظور أيضًا إذا:"
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid ""
254 "the queue is removed, in which case the system call fails with I<errno> set "
255 "to B<EIDRM>; or"
256 msgstr ""
257 "تمت إزالة الطابور، وفي هذه الحالة يفشل استدعاء النظام مع تعيين I<errno> إلى "
258 "B<EIDRM>؛ أو"
259
260 #. type: Plain text
261 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
262 #: opensuse-tumbleweed
263 msgid ""
264 "a signal is caught, in which case the system call fails with I<errno> set to "
265 "B<EINTR>; see B<signal>(7). (B<msgsnd>() is never automatically restarted "
266 "after being interrupted by a signal handler, regardless of the setting of "
267 "the B<SA_RESTART> flag when establishing a signal handler.)"
268 msgstr ""
269 "تم التقاط إشارة، وفي هذه الحالة يفشل استدعاء النظام مع تعيين I<errno> إلى "
270 "B<EINTR>؛ انظر B<signal>(7). (لا يُعاد تشغيل B<msgsnd>() آليًا بعد مقاطعته "
271 "بواسطة معالج إشارة، بغض النظر عن إعداد العلم B<SA_RESTART> عند إنشاء معالج "
272 "الإشارة.)"
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "Upon successful completion the message queue data structure is updated as "
279 "follows:"
280 msgstr "عند الإكمال بنجاح، تُحدث بنية بيانات طابور الرسائل كما يلي:"
281
282 #. type: Plain text
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 msgid "I<msg_lspid> is set to the process ID of the calling process."
286 msgstr "I<msg_lspid> يُضبط إلى معرف العملية للعملية المستدعية."
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid "I<msg_qnum> is incremented by 1."
292 msgstr "I<msg_qnum> يُزاد بمقدار 1."
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid "I<msg_stime> is set to the current time."
298 msgstr "I<msg_stime> يُضبط إلى الوقت الحالي."
299
300 #. type: SS
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "msgrcv()"
305 msgstr "msgrcv()"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "The B<msgrcv>() system call removes a message from the queue specified by "
312 "I<msqid> and places it in the buffer pointed to by I<msgp>."
313 msgstr ""
314 "استدعاء النظام B<msgrcv>() يزيل رسالة من الطابور المحدد بواسطة I<msqid> "
315 "ويضعها في المخزن المؤقت المشار إليه بواسطة I<msgp>."
316
317 #. type: Plain text
318 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
319 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
320 msgid ""
321 "The argument I<msgsz> specifies the maximum size in bytes for the member "
322 "I<mtext> of the structure pointed to by the I<msgp> argument. If the "
323 "message text has length greater than I<msgsz>, then the behavior depends on "
324 "whether B<MSG_NOERROR> is specified in I<msgflg>. If B<MSG_NOERROR> is "
325 "specified, then the message text will be truncated (and the truncated part "
326 "will be lost); if B<MSG_NOERROR> is not specified, then the message isn't "
327 "removed from the queue and the system call fails returning -1 with I<errno> "
328 "set to B<E2BIG>."
329 msgstr ""
330 "الوسيط I<msgsz> يُحدد الحجم الأقصى بالبايتات للعضو I<mtext> من البنية المشار "
331 "إليها بواسطة الوسيط I<msgp>. إذا كان طول نص الرسالة أكبر من I<msgsz>، فإن "
332 "السلوك يعتمد على ما إذا كان B<MSG_NOERROR> محددًا في I<msgflg>. إذا تم تحديد "
333 "B<MSG_NOERROR>، فسيُقتطع نص الرسالة (وسيُفقد الجزء المقتطع)؛ إذا لم يُحدد "
334 "B<MSG_NOERROR>، فلن تُزال الرسالة من الطابور ويفشل استدعاء النظام بإرجاع -1 "
335 "مع تعيين I<errno> إلى B<E2BIG>."
336
337 #. type: Plain text
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 msgid ""
341 "Unless B<MSG_COPY> is specified in I<msgflg> (see below), the I<msgtyp> "
342 "argument specifies the type of message requested, as follows:"
343 msgstr ""
344 "ما لم يُحدد B<MSG_COPY> في I<msgflg> (انظر أدناه)، فإن الوسيط I<msgtyp> يُحدد "
345 "نوع الرسالة المطلوبة، كما يلي:"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid "If I<msgtyp> is 0, then the first message in the queue is read."
351 msgstr "إذا كان I<msgtyp> يساوي 0، فتُقرأ أول رسالة في الطابور."
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 msgid ""
357 "If I<msgtyp> is greater than 0, then the first message in the queue of type "
358 "I<msgtyp> is read, unless B<MSG_EXCEPT> was specified in I<msgflg>, in which "
359 "case the first message in the queue of type not equal to I<msgtyp> will be "
360 "read."
361 msgstr ""
362 "إذا كان I<msgtyp> أكبر من 0، فتُقرأ أول رسالة في الطابور من النوع I<msgtyp>، "
363 "ما لم يُحدد B<MSG_EXCEPT> في I<msgflg>، وفي هذه الحالة تُقرأ أول رسالة في "
364 "الطابور من نوع لا يساوي I<msgtyp>."
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid ""
370 "If I<msgtyp> is less than 0, then the first message in the queue with the "
371 "lowest type less than or equal to the absolute value of I<msgtyp> will be "
372 "read."
373 msgstr ""
374 "إذا كان I<msgtyp> أقل من 0، فتُقرأ أول رسالة في الطابور ذات النوع الأدنى "
375 "الأصغر من أو المساوي للقيمة المطلقة لـ I<msgtyp>."
376
377 #. type: Plain text
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 msgid ""
381 "The I<msgflg> argument is a bit mask constructed by ORing together zero or "
382 "more of the following flags:"
383 msgstr ""
384 "الوسيط I<msgflg> هو قناع بتات يُبنى بواسطة OR معًا صفرًا أو أكثر من الأعلام "
385 "التالية:"
386
387 #. type: TP
388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
389 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
390 #, no-wrap
391 msgid "B<IPC_NOWAIT>"
392 msgstr "B<IPC_NOWAIT>"
393
394 #. type: Plain text
395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
396 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
397 msgid ""
398 "Return immediately if no message of the requested type is in the queue. The "
399 "system call fails with I<errno> set to B<ENOMSG>."
400 msgstr ""
401 "أرجع فورًا إذا لم تكن هناك رسالة من النوع المطلوب في الطابور. يفشل استدعاء "
402 "النظام مع تعيين I<errno> إلى B<ENOMSG>."
403
404 #. type: TP
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "B<MSG_COPY> (since Linux 3.8)"
409 msgstr "B<MSG_COPY> (منذ لينكس 3.8)"
410
411 #. commit 4a674f34ba04a002244edaf891b5da7fc1473ae8
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "Nondestructively fetch a copy of the message at the ordinal position in the "
417 "queue specified by I<msgtyp> (messages are considered to be numbered "
418 "starting at 0)."
419 msgstr ""
420 "اجلب نسخة غير مدمرة من الرسالة في الموضع الترتيبي في الطابور المحدد بواسطة "
421 "I<msgtyp> (تُعتبر الرسائل مرقمة بدءًا من 0)."
422
423 #. type: Plain text
424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
425 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
426 msgid ""
427 "This flag must be specified in conjunction with B<IPC_NOWAIT>, with the "
428 "result that, if there is no message available at the given position, the "
429 "call fails immediately with the error B<ENOMSG>. Because they alter the "
430 "meaning of I<msgtyp> in orthogonal ways, B<MSG_COPY> and B<MSG_EXCEPT> may "
431 "not both be specified in I<msgflg>."
432 msgstr ""
433 "يجب تحديد هذه العلامة بالتزامن مع B<IPC_NOWAIT>، مما يؤدي إلى أنه إذا لم تكن "
434 "هناك رسالة متاحة في الموضع المحدد، يفشل الاستدعاء فورًا مع الخطأ B<ENOMSG>. "
435 "نظرًا لأنهما يغيران معنى I<msgtyp> بطرق متعامدة، لا يمكن تحديد كل من "
436 "B<MSG_COPY> وB<MSG_EXCEPT> في I<msgflg>."
437
438 #. type: Plain text
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 msgid ""
442 "The B<MSG_COPY> flag was added for the implementation of the kernel "
443 "checkpoint-restore facility and is available only if the kernel was built "
444 "with the B<CONFIG_CHECKPOINT_RESTORE> option."
445 msgstr ""
446 "أُضيفت العلامة B<MSG_COPY> لتنفيذ مرفق استعادة نقطة التفتيش للنواة وهي متاحة "
447 "فقط إذا بُنيت النواة مع الخيار B<CONFIG_CHECKPOINT_RESTORE>."
448
449 #. type: TP
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "B<MSG_EXCEPT>"
454 msgstr "B<MSG_EXCEPT>"
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 msgid ""
460 "Used with I<msgtyp> greater than 0 to read the first message in the queue "
461 "with message type that differs from I<msgtyp>."
462 msgstr ""
463 "تُستخدم مع I<msgtyp> أكبر من 0 لقراءة أول رسالة في الطابور بنوع رسالة يختلف "
464 "عن I<msgtyp>."
465
466 #. type: TP
467 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
468 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
469 #, no-wrap
470 msgid "B<MSG_NOERROR>"
471 msgstr "B<MSG_NOERROR>"
472
473 #. type: Plain text
474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
475 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
476 msgid "To truncate the message text if longer than I<msgsz> bytes."
477 msgstr "لاقتطاع نص الرسالة إذا كان أطول من I<msgsz> بايت."
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 msgid ""
483 "If no message of the requested type is available and B<IPC_NOWAIT> isn't "
484 "specified in I<msgflg>, the calling process is blocked until one of the "
485 "following conditions occurs:"
486 msgstr ""
487 "إذا لم تكن هناك رسالة من النوع المطلوب متاحة ولم يُحدد B<IPC_NOWAIT> في "
488 "I<msgflg>، فتُحجب العملية المستدعية حتى يحدث أحد الشروط التالية:"
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 msgid "A message of the desired type is placed in the queue."
494 msgstr "تُوضع رسالة من النوع المطلوب في الطابور."
495
496 #. type: Plain text
497 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
498 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
499 msgid ""
500 "The message queue is removed from the system. In this case, the system call "
501 "fails with I<errno> set to B<EIDRM>."
502 msgstr ""
503 "تُزال طابور الرسائل من النظام. في هذه الحالة، يفشل استدعاء النظام مع تعيين "
504 "I<errno> إلى B<EIDRM>."
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid ""
510 "The calling process catches a signal. In this case, the system call fails "
511 "with I<errno> set to B<EINTR>. (B<msgrcv>() is never automatically "
512 "restarted after being interrupted by a signal handler, regardless of the "
513 "setting of the B<SA_RESTART> flag when establishing a signal handler.)"
514 msgstr ""
515 "تلتقط العملية المستدعية إشارة. في هذه الحالة، يفشل استدعاء النظام مع تعيين "
516 "I<errno> إلى B<EINTR>. (لا يُعاد تشغيل B<msgrcv>() آليًا بعد مقاطعته بواسطة "
517 "معالج إشارة، بغض النظر عن إعداد العلامة B<SA_RESTART> عند إنشاء معالج إشارة.)"
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 msgid "I<msg_lrpid> is set to the process ID of the calling process."
523 msgstr "يُعيّن I<msg_lrpid> إلى معرف العملية للعملية المستدعية."
524
525 #. type: Plain text
526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
527 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
528 msgid "I<msg_qnum> is decremented by 1."
529 msgstr "يُقلّص I<msg_qnum> بمقدار 1."
530
531 #. type: Plain text
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 msgid "I<msg_rtime> is set to the current time."
535 msgstr "يُعيّن I<msg_rtime> إلى الوقت الحالي."
536
537 #. type: SH
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "RETURN VALUE"
542 msgstr "قيمة الإرجاع"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "On success, B<msgsnd>() returns 0 and B<msgrcv>() returns the number of "
549 "bytes actually copied into the I<mtext> array. On failure, both functions "
550 "return -1, and set I<errno> to indicate the error."
551 msgstr ""
552 "عند النجاح، تُرجع B<msgsnd>() 0 وتُرجع B<msgrcv>() عدد البايتات المنسوخة فعليًا "
553 "في مصفوفة I<mtext>. عند الفشل، تُرجع كلتا الدالتين -1، وتُعيّنان I<errno> "
554 "للإشارة إلى الخطأ."
555
556 #. type: SH
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 #, no-wrap
560 msgid "ERRORS"
561 msgstr "الأخطاء"
562
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid "B<msgsnd>() can fail with the following errors:"
567 msgstr "يمكن أن تفشل B<msgsnd>() مع الأخطاء التالية:"
568
569 #. type: TP
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 #, no-wrap
573 msgid "B<EACCES>"
574 msgstr "B<EACCES>"
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 msgid ""
580 "The calling process does not have write permission on the message queue, and "
581 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
582 "governs its IPC namespace."
583 msgstr ""
584 "لا تملك العملية المستدعية إذن الكتابة على طابور الرسائل، ولا تملك القدرة "
585 "B<CAP_IPC_OWNER> في مساحة اسم المستخدم التي تحكم مساحة اسم IPC الخاصة بها."
586
587 #. type: TP
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 #, no-wrap
591 msgid "B<EAGAIN>"
592 msgstr "B<EAGAIN>"
593
594 #. type: Plain text
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 msgid ""
598 "The message can't be sent due to the I<msg_qbytes> limit for the queue and "
599 "B<IPC_NOWAIT> was specified in I<msgflg>."
600 msgstr ""
601 "لا يمكن إرسال الرسالة بسبب حد I<msg_qbytes> للطابور وتم تحديد B<IPC_NOWAIT> "
602 "في I<msgflg>."
603
604 #. type: TP
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "B<EFAULT>"
609 msgstr "B<EFAULT>"
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid "The address pointed to by I<msgp> isn't accessible."
615 msgstr "العنوان المشار إليه بواسطة I<msgp> غير قابل للوصول."
616
617 #. type: TP
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid "B<EIDRM>"
622 msgstr "B<EIDRM>"
623
624 #. type: Plain text
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 msgid "The message queue was removed."
628 msgstr "حُذف طابور الرسائل."
629
630 #. type: TP
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 #, no-wrap
634 msgid "B<EINTR>"
635 msgstr "B<EINTR>"
636
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid ""
641 "Sleeping on a full message queue condition, the process caught a signal."
642 msgstr "أثناء النوم على حالة طابور رسائل ممتلئ، التقطت العملية إشارة."
643
644 #. type: TP
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid "B<EINVAL>"
649 msgstr "B<EINVAL>"
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid ""
655 "Invalid I<msqid> value, or nonpositive I<mtype> value, or invalid I<msgsz> "
656 "value (less than 0 or greater than the system value B<MSGMAX>)."
657 msgstr ""
658 "قيمة I<msqid> غير صالحة، أو قيمة I<mtype> غير موجبة، أو قيمة I<msgsz> غير "
659 "صالحة (أقل من 0 أو أكبر من قيمة النظام B<MSGMAX>)."
660
661 #. type: TP
662 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
663 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
664 #, no-wrap
665 msgid "B<ENOMEM>"
666 msgstr "B<ENOMEM>"
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "The system does not have enough memory to make a copy of the message pointed "
673 "to by I<msgp>."
674 msgstr ""
675 "لا يملك النظام ذاكرة كافية لعمل نسخة من الرسالة المشار إليها بواسطة I<msgp>."
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid "B<msgrcv>() can fail with the following errors:"
681 msgstr "يمكن أن تفشل B<msgrcv>() مع الأخطاء التالية:"
682
683 #. type: TP
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "B<E2BIG>"
688 msgstr "B<E2BIG>"
689
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 msgid ""
694 "The message text length is greater than I<msgsz> and B<MSG_NOERROR> isn't "
695 "specified in I<msgflg>."
696 msgstr "طول نص الرسالة أكبر من I<msgsz> ولم يُحدد B<MSG_NOERROR> في I<msgflg>."
697
698 #. type: Plain text
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 msgid ""
702 "The calling process does not have read permission on the message queue, and "
703 "does not have the B<CAP_IPC_OWNER> capability in the user namespace that "
704 "governs its IPC namespace."
705 msgstr ""
706 "لا تملك العملية المستدعية إذن القراءة على طابور الرسائل، ولا تملك القدرة "
707 "B<CAP_IPC_OWNER> في مساحة اسم المستخدم التي تحكم مساحة اسم IPC الخاصة بها."
708
709 #. type: Plain text
710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
711 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
712 msgid ""
713 "While the process was sleeping to receive a message, the message queue was "
714 "removed."
715 msgstr "بينما كانت العملية نائمة لاستقبال رسالة، أُزيل طابور الرسائل."
716
717 #. type: Plain text
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 msgid ""
721 "While the process was sleeping to receive a message, the process caught a "
722 "signal; see B<signal>(7)."
723 msgstr ""
724 "بينما كانت العملية نائمة لاستقبال رسالة، التقطت العملية إشارة؛ انظر "
725 "B<signal>(7)."
726
727 #. type: Plain text
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 msgid "I<msqid> was invalid, or I<msgsz> was less than 0."
731 msgstr "كان I<msqid> غير صالح، أو كان I<msgsz> أقل من 0."
732
733 #. type: TP
734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
736 #, no-wrap
737 msgid "B<EINVAL> (since Linux 3.14)"
738 msgstr "B<EINVAL> (منذ لينكس 3.14)"
739
740 #. type: Plain text
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 msgid "I<msgflg> specified B<MSG_COPY>, but not B<IPC_NOWAIT>."
744 msgstr "I<msgflg> حدد B<MSG_COPY>، ولكن ليس B<IPC_NOWAIT>."
745
746 #. type: Plain text
747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
748 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
749 msgid "I<msgflg> specified both B<MSG_COPY> and B<MSG_EXCEPT>."
750 msgstr "I<msgflg> حدد كلاً من B<MSG_COPY> و B<MSG_EXCEPT>."
751
752 #. type: TP
753 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
754 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
755 #, no-wrap
756 msgid "B<ENOMSG>"
757 msgstr "B<ENOMSG>"
758
759 #. type: Plain text
760 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
761 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
762 msgid ""
763 "B<IPC_NOWAIT> was specified in I<msgflg> and no message of the requested "
764 "type existed on the message queue."
765 msgstr ""
766 "B<IPC_NOWAIT> تم تحديده في I<msgflg> ولم توجد رسالة من النوع المطلوب في "
767 "طابور الرسائل."
768
769 #. type: Plain text
770 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
771 #: opensuse-tumbleweed
772 msgid ""
773 "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue "
774 "contains fewer than I<msgtyp> messages."
775 msgstr ""
776 "B<IPC_NOWAIT> و B<MSG_COPY> تم تحديدهما في I<msgflg> ويحتوي الطابور على أقل "
777 "من I<msgtyp> رسالة."
778
779 #. type: TP
780 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
781 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
782 #, no-wrap
783 msgid "B<ENOSYS> (since Linux 3.8)"
784 msgstr "B<ENOSYS> (منذ لينكس 3.8)"
785
786 #. type: Plain text
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 msgid ""
790 "Both B<MSG_COPY> and B<IPC_NOWAIT> were specified in I<msgflg>, and this "
791 "kernel was configured without B<CONFIG_CHECKPOINT_RESTORE>."
792 msgstr ""
793 "كلا من B<MSG_COPY> و B<IPC_NOWAIT> تم تحديدهما في I<msgflg>، وتم تكوين هذه "
794 "النواة بدون B<CONFIG_CHECKPOINT_RESTORE>."
795
796 #. type: SH
797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
799 #, no-wrap
800 msgid "STANDARDS"
801 msgstr "المعايير"
802
803 #. type: Plain text
804 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
805 #: opensuse-tumbleweed
806 msgid "POSIX.1-2024 XSI."
807 msgstr "POSIX.1-2024 XSI."
808
809 #. MSG_COPY since glibc 2.18
810 #. type: Plain text
811 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
812 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
813 msgid ""
814 "The B<MSG_EXCEPT> and B<MSG_COPY> flags are Linux-specific; their "
815 "definitions can be obtained by defining the B<_GNU_SOURCE> feature test "
816 "macro."
817 msgstr ""
818 "العلمان B<MSG_EXCEPT> و B<MSG_COPY> خاصان بلينكس؛ يمكن الحصول على تعريفاتهما "
819 "بتعريف ماكرو اختبار الميزة B<_GNU_SOURCE>."
820
821 #. type: SH
822 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
823 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
824 #, no-wrap
825 msgid "HISTORY"
826 msgstr "التاريخ"
827
828 #. type: Plain text
829 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
830 #: opensuse-tumbleweed
831 msgid "SVr4, SUSv1, POSIX.1-2001 XSI."
832 msgstr "SVr4, SUSv1, POSIX.1-2001 XSI."
833
834 #. type: Plain text
835 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
836 #: opensuse-tumbleweed
837 msgid ""
838 "The I<msgp> argument is declared as I<struct\\ msgbuf\\ *> in glibc 2.0 and "
839 "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by "
840 "SUSv2 and SUSv3."
841 msgstr ""
842 "الوسيطة I<msgp> مُعلنة كـ I<struct\\ msgbuf\\ *> في glibc 2.0 و 2.1. وهي "
843 "مُعلنة كـ I<void\\ *> في glibc 2.2 وما بعده، كما هو مطلوب بواسطة SUSv2 و "
844 "SUSv3."
845
846 #. type: SH
847 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
848 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
849 #, no-wrap
850 msgid "NOTES"
851 msgstr "ملاحظات"
852
853 #. type: Plain text
854 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
855 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
856 msgid ""
857 "The following limits on message queue resources affect the B<msgsnd>() call:"
858 msgstr "الحدود التالية على موارد طابور الرسائل تؤثر على استدعاء B<msgsnd>():"
859
860 #. type: TP
861 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
862 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
863 #, no-wrap
864 msgid "B<MSGMAX>"
865 msgstr "B<MSGMAX>"
866
867 #. type: Plain text
868 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
869 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
870 msgid ""
871 "Maximum size of a message text, in bytes (default value: 8192 bytes). On "
872 "Linux, this limit can be read and modified via I</proc/sys/kernel/msgmax>."
873 msgstr ""
874 "الحد الأقصى لحجم نص الرسالة، بالبايت (القيمة المبدئية: 8192 بايت). في لينكس، "
875 "يمكن قراءة هذا الحد وتعديله عبر I</proc/sys/kernel/msgmax>."
876
877 #. type: TP
878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
879 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
880 #, no-wrap
881 msgid "B<MSGMNB>"
882 msgstr "B<MSGMNB>"
883
884 #. type: Plain text
885 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
886 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
887 msgid ""
888 "Maximum number of bytes that can be held in a message queue (default value: "
889 "16384 bytes). On Linux, this limit can be read and modified via I</proc/sys/"
890 "kernel/msgmnb>. A privileged process (Linux: a process with the "
891 "B<CAP_SYS_RESOURCE> capability) can increase the size of a message queue "
892 "beyond B<MSGMNB> using the B<msgctl>(2) B<IPC_SET> operation."
893 msgstr ""
894 "الحد الأقصى لعدد البايتات التي يمكن الاحتفاظ بها في طابور رسائل (القيمة "
895 "المبدئية: 16384 بايت). في لينكس، يمكن قراءة هذا الحد وتعديله عبر I</proc/sys/"
896 "kernel/msgmnb>. يمكن لعملية متميزة (لينكس: عملية مع إمكانية "
897 "B<CAP_SYS_RESOURCE>) زيادة حجم طابور الرسائل بما يتجاوز B<MSGMNB> باستخدام "
898 "عملية B<msgctl>(2) B<IPC_SET>."
899
900 #. type: Plain text
901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
903 msgid ""
904 "The implementation has no intrinsic system-wide limits on the number of "
905 "message headers (B<MSGTQL>) and the number of bytes in the message pool "
906 "(B<MSGPOOL>)."
907 msgstr ""
908 "التنفيذ ليس له حدود نظامية جوهرية على عدد رؤوس الرسائل (B<MSGTQL>) وعدد "
909 "البايتات في مجمع الرسائل (B<MSGPOOL>)."
910
911 #. type: SH
912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
913 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
914 #, no-wrap
915 msgid "BUGS"
916 msgstr "العلل"
917
918 #. http://marc.info/?l=linux-kernel&m=139048542803605&w=2
919 #. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
920 #. type: Plain text
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
923 msgid ""
924 "In Linux 3.13 and earlier, if B<msgrcv>() was called with the B<MSG_COPY> "
925 "flag, but without B<IPC_NOWAIT>, and the message queue contained less than "
926 "I<msgtyp> messages, then the call would block until the next message is "
927 "written to the queue. At that point, the call would return a copy of the "
928 "message, I<regardless> of whether that message was at the ordinal position "
929 "I<msgtyp>. This bug is fixed in Linux 3.14."
930 msgstr ""
931 "في لينكس 3.13 وما قبله، إذا تم استدعاء B<msgrcv>() مع العلم B<MSG_COPY>، "
932 "ولكن بدون B<IPC_NOWAIT>، واحتوى طابور الرسائل على أقل من I<msgtyp> رسالة، "
933 "فإن الاستدعاء سينتظر حتى تتم كتابة الرسالة التالية في الطابور. عند تلك "
934 "النقطة، سيعيد الاستدعاء نسخة من الرسالة، I<بغض النظر> عما إذا كانت تلك "
935 "الرسالة في الموضع الترتيبي I<msgtyp>. تم إصلاح هذا الخلل في لينكس 3.14."
936
937 #. http://marc.info/?l=linux-kernel&m=139048542803605&w=2
938 #. commit 4f87dac386cc43d5525da7a939d4b4e7edbea22c
939 #. type: Plain text
940 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
941 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
942 msgid ""
943 "Specifying both B<MSG_COPY> and B<MSC_EXCEPT> in I<msgflg> is a logical "
944 "error (since these flags impose different interpretations on I<msgtyp>). In "
945 "Linux 3.13 and earlier, this error was not diagnosed by B<msgrcv>(). This "
946 "bug is fixed in Linux 3.14."
947 msgstr ""
948 "تحديد كلا من B<MSG_COPY> و B<MSC_EXCEPT> في I<msgflg> هو خطأ منطقي (حيث أن "
949 "هذه الأعلام تفرض تفسيرات مختلفة على I<msgtyp>). في لينكس 3.13 وما قبله، لم "
950 "يتم تشخيص هذا الخطأ بواسطة B<msgrcv>(). تم إصلاح هذا الخلل في لينكس 3.14."
951
952 #. type: SH
953 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
954 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
955 #, no-wrap
956 msgid "EXAMPLES"
957 msgstr "أمثلة"
958
959 #. type: Plain text
960 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
961 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
962 msgid "The program below demonstrates the use of B<msgsnd>() and B<msgrcv>()."
963 msgstr "البرنامج أدناه يوضح استخدام B<msgsnd>() و B<msgrcv>()."
964
965 #. type: Plain text
966 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
967 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
968 msgid ""
969 "The example program is first run with the B<-s> option to send a message and "
970 "then run again with the B<-r> option to receive a message."
971 msgstr ""
972 "يتم تشغيل البرنامج المثال أولاً مع الخيار B<-s> لإرسال رسالة ثم تشغيله مرة "
973 "أخرى مع الخيار B<-r> لاستقبال رسالة."
974
975 #. type: Plain text
976 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
977 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
978 msgid "The following shell session shows a sample run of the program:"
979 msgstr "تظهر جلسة الصدفة التالية تشغيلًا نموذجيًا للبرنامج:"
980
981 #. type: Plain text
982 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
983 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
984 #, no-wrap
985 msgid ""
986 "$B< ./a.out -s>\n"
987 "sent: a message at Wed Mar 4 16:25:45 2015\n"
988 msgstr ""
989 "$B< ./a.out -s>\n"
990 "sent: a message at Wed Mar 4 16:25:45 2015\n"
991
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 #, no-wrap
996 msgid ""
997 "$B< ./a.out -r>\n"
998 "message received: a message at Wed Mar 4 16:25:45 2015\n"
999 msgstr ""
1000 "$B< ./a.out -r>\n"
1001 "message received: a message at Wed Mar 4 16:25:45 2015\n"
1002
1003 #. type: SS
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 #, no-wrap
1007 msgid "Program source"
1008 msgstr "مصدر البرنامج"
1009
1010 #. type: Plain text
1011 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1012 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1013 #, no-wrap
1014 msgid ""
1015 "#include E<lt>errno.hE<gt>\n"
1016 "#include E<lt>stdio.hE<gt>\n"
1017 "#include E<lt>stdlib.hE<gt>\n"
1018 "#include E<lt>sys/ipc.hE<gt>\n"
1019 "#include E<lt>sys/msg.hE<gt>\n"
1020 "#include E<lt>time.hE<gt>\n"
1021 "#include E<lt>unistd.hE<gt>\n"
1022 "\\&\n"
1023 "struct msgbuf {\n"
1024 " long mtype;\n"
1025 " char mtext[80];\n"
1026 "};\n"
1027 "\\&\n"
1028 "static void\n"
1029 "usage(char *prog_name, char *msg)\n"
1030 "{\n"
1031 " if (msg != NULL)\n"
1032 " fputs(msg, stderr);\n"
1033 "\\&\n"
1034 " fprintf(stderr, \"Usage: %s [options]\\[rs]n\", prog_name);\n"
1035 " fprintf(stderr, \"Options are:\\[rs]n\");\n"
1036 " fprintf(stderr, \"-s send message using msgsnd()\\[rs]n\");\n"
1037 " fprintf(stderr, \"-r read message using msgrcv()\\[rs]n\");\n"
1038 " fprintf(stderr, \"-t message type (default is 1)\\[rs]n\");\n"
1039 " fprintf(stderr, \"-k message queue key (default is 1234)\\[rs]n\");\n"
1040 " exit(EXIT_FAILURE);\n"
1041 "}\n"
1042 "\\&\n"
1043 "static void\n"
1044 "send_msg(int qid, int msgtype)\n"
1045 "{\n"
1046 " time_t t;\n"
1047 " struct msgbuf msg;\n"
1048 "\\&\n"
1049 " msg.mtype = msgtype;\n"
1050 "\\&\n"
1051 " time(&t);\n"
1052 " snprintf(msg.mtext, sizeof(msg.mtext), \"a message at %s\",\n"
1053 " ctime(&t));\n"
1054 "\\&\n"
1055 " if (msgsnd(qid, &msg, sizeof(msg.mtext),\n"
1056 " IPC_NOWAIT) == -1)\n"
1057 " {\n"
1058 " perror(\"msgsnd error\");\n"
1059 " exit(EXIT_FAILURE);\n"
1060 " }\n"
1061 " printf(\"sent: %s\\[rs]n\", msg.mtext);\n"
1062 "}\n"
1063 "\\&\n"
1064 "static void\n"
1065 "get_msg(int qid, int msgtype)\n"
1066 "{\n"
1067 " struct msgbuf msg;\n"
1068 "\\&\n"
1069 " if (msgrcv(qid, &msg, sizeof(msg.mtext), msgtype,\n"
1070 " MSG_NOERROR | IPC_NOWAIT) == -1) {\n"
1071 " if (errno != ENOMSG) {\n"
1072 " perror(\"msgrcv\");\n"
1073 " exit(EXIT_FAILURE);\n"
1074 " }\n"
1075 " printf(\"No message available for msgrcv()\\[rs]n\");\n"
1076 " } else {\n"
1077 " printf(\"message received: %s\\[rs]n\", msg.mtext);\n"
1078 " }\n"
1079 "}\n"
1080 "\\&\n"
1081 "int\n"
1082 "main(int argc, char *argv[])\n"
1083 "{\n"
1084 " int qid, opt;\n"
1085 " int mode = 0; /* 1 = send, 2 = receive */\n"
1086 " int msgtype = 1;\n"
1087 " int msgkey = 1234;\n"
1088 "\\&\n"
1089 " while ((opt = getopt(argc, argv, \"srt:k:\")) != -1) {\n"
1090 " switch (opt) {\n"
1091 " case \\[aq]s\\[aq]:\n"
1092 " mode = 1;\n"
1093 " break;\n"
1094 " case \\[aq]r\\[aq]:\n"
1095 " mode = 2;\n"
1096 " break;\n"
1097 " case \\[aq]t\\[aq]:\n"
1098 " msgtype = atoi(optarg);\n"
1099 " if (msgtype E<lt>= 0)\n"
1100 " usage(argv[0], \"-t option must be greater than 0\\[rs]n\");\n"
1101 " break;\n"
1102 " case \\[aq]k\\[aq]:\n"
1103 " msgkey = atoi(optarg);\n"
1104 " break;\n"
1105 " default:\n"
1106 " usage(argv[0], \"Unrecognized option\\[rs]n\");\n"
1107 " }\n"
1108 " }\n"
1109 "\\&\n"
1110 " if (mode == 0)\n"
1111 " usage(argv[0], \"must use either -s or -r option\\[rs]n\");\n"
1112 "\\&\n"
1113 " qid = msgget(msgkey, IPC_CREAT | 0666);\n"
1114 "\\&\n"
1115 " if (qid == -1) {\n"
1116 " perror(\"msgget\");\n"
1117 " exit(EXIT_FAILURE);\n"
1118 " }\n"
1119 "\\&\n"
1120 " if (mode == 2)\n"
1121 " get_msg(qid, msgtype);\n"
1122 " else\n"
1123 " send_msg(qid, msgtype);\n"
1124 "\\&\n"
1125 " exit(EXIT_SUCCESS);\n"
1126 "}\n"
1127 msgstr ""
1128 "#include E<lt>errno.hE<gt>\n"
1129 "#include E<lt>stdio.hE<gt>\n"
1130 "#include E<lt>stdlib.hE<gt>\n"
1131 "#include E<lt>sys/ipc.hE<gt>\n"
1132 "#include E<lt>sys/msg.hE<gt>\n"
1133 "#include E<lt>time.hE<gt>\n"
1134 "#include E<lt>unistd.hE<gt>\n"
1135 "\\&\n"
1136 "struct msgbuf {\n"
1137 " long mtype;\n"
1138 " char mtext[80];\n"
1139 "};\n"
1140 "\\&\n"
1141 "static void\n"
1142 "usage(char *prog_name, char *msg)\n"
1143 "{\n"
1144 " if (msg != NULL)\n"
1145 " fputs(msg, stderr);\n"
1146 "\\&\n"
1147 " fprintf(stderr, \"Usage: %s [options]\\[rs]n\", prog_name);\n"
1148 " fprintf(stderr, \"Options are:\\[rs]n\");\n"
1149 " fprintf(stderr, \"-s send message using msgsnd()\\[rs]n\");\n"
1150 " fprintf(stderr, \"-r read message using msgrcv()\\[rs]n\");\n"
1151 " fprintf(stderr, \"-t message type (default is 1)\\[rs]n\");\n"
1152 " fprintf(stderr, \"-k message queue key (default is 1234)\\[rs]n\");\n"
1153 " exit(EXIT_FAILURE);\n"
1154 "}\n"
1155 "\\&\n"
1156 "static void\n"
1157 "send_msg(int qid, int msgtype)\n"
1158 "{\n"
1159 " time_t t;\n"
1160 " struct msgbuf msg;\n"
1161 "\\&\n"
1162 " msg.mtype = msgtype;\n"
1163 "\\&\n"
1164 " time(&t);\n"
1165 " snprintf(msg.mtext, sizeof(msg.mtext), \"a message at %s\",\n"
1166 " ctime(&t));\n"
1167 "\\&\n"
1168 " if (msgsnd(qid, &msg, sizeof(msg.mtext),\n"
1169 " IPC_NOWAIT) == -1)\n"
1170 " {\n"
1171 " perror(\"msgsnd error\");\n"
1172 " exit(EXIT_FAILURE);\n"
1173 " }\n"
1174 " printf(\"sent: %s\\[rs]n\", msg.mtext);\n"
1175 "}\n"
1176 "\\&\n"
1177 "static void\n"
1178 "get_msg(int qid, int msgtype)\n"
1179 "{\n"
1180 " struct msgbuf msg;\n"
1181 "\\&\n"
1182 " if (msgrcv(qid, &msg, sizeof(msg.mtext), msgtype,\n"
1183 " MSG_NOERROR | IPC_NOWAIT) == -1) {\n"
1184 " if (errno != ENOMSG) {\n"
1185 " perror(\"msgrcv\");\n"
1186 " exit(EXIT_FAILURE);\n"
1187 " }\n"
1188 " printf(\"No message available for msgrcv()\\[rs]n\");\n"
1189 " } else {\n"
1190 " printf(\"message received: %s\\[rs]n\", msg.mtext);\n"
1191 " }\n"
1192 "}\n"
1193 "\\&\n"
1194 "int\n"
1195 "main(int argc, char *argv[])\n"
1196 "{\n"
1197 " int qid, opt;\n"
1198 " int mode = 0; /* 1 = send, 2 = receive */\n"
1199 " int msgtype = 1;\n"
1200 " int msgkey = 1234;\n"
1201 "\\&\n"
1202 " while ((opt = getopt(argc, argv, \"srt:k:\")) != -1) {\n"
1203 " switch (opt) {\n"
1204 " case \\[aq]s\\[aq]:\n"
1205 " mode = 1;\n"
1206 " break;\n"
1207 " case \\[aq]r\\[aq]:\n"
1208 " mode = 2;\n"
1209 " break;\n"
1210 " case \\[aq]t\\[aq]:\n"
1211 " msgtype = atoi(optarg);\n"
1212 " if (msgtype E<lt>= 0)\n"
1213 " usage(argv[0], \"-t option must be greater than 0\\[rs]n\");\n"
1214 " break;\n"
1215 " case \\[aq]k\\[aq]:\n"
1216 " msgkey = atoi(optarg);\n"
1217 " break;\n"
1218 " default:\n"
1219 " usage(argv[0], \"Unrecognized option\\[rs]n\");\n"
1220 " }\n"
1221 " }\n"
1222 "\\&\n"
1223 " if (mode == 0)\n"
1224 " usage(argv[0], \"must use either -s or -r option\\[rs]n\");\n"
1225 "\\&\n"
1226 " qid = msgget(msgkey, IPC_CREAT | 0666);\n"
1227 "\\&\n"
1228 " if (qid == -1) {\n"
1229 " perror(\"msgget\");\n"
1230 " exit(EXIT_FAILURE);\n"
1231 " }\n"
1232 "\\&\n"
1233 " if (mode == 2)\n"
1234 " get_msg(qid, msgtype);\n"
1235 " else\n"
1236 " send_msg(qid, msgtype);\n"
1237 "\\&\n"
1238 " exit(EXIT_SUCCESS);\n"
1239 "}\n"
1240
1241 #. SRC END
1242 #. type: SH
1243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1245 #, no-wrap
1246 msgid "SEE ALSO"
1247 msgstr "انظر أيضًا"
1248
1249 #. type: Plain text
1250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1252 msgid ""
1253 "B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), "
1254 "B<sysvipc>(7)"
1255 msgstr ""
1256 "B<msgctl>(2), B<msgget>(2), B<capabilities>(7), B<mq_overview>(7), "
1257 "B<sysvipc>(7)"
1258
1259 #. type: TH
1260 #: debian-trixie
1261 #, no-wrap
1262 msgid "2024-06-15"
1263 msgstr "15 يونيو 2024"
1264
1265 #. type: TH
1266 #: debian-trixie
1267 #, no-wrap
1268 msgid "Linux man-pages 6.9.1"
1269 msgstr "صفحات دليل لينكس 6.9.1"
1270
1271 #. type: Plain text
1272 #: debian-trixie
1273 msgid "Standard C library (I<libc>, I<-lc>)"
1274 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
1275
1276 #. type: Plain text
1277 #: debian-trixie fedora-44 fedora-rawhide
1278 #, no-wrap
1279 msgid ""
1280 "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
1281 "B< int >I<msgflg>B<);>\n"
1282 msgstr ""
1283 "B<int msgsnd(int >I<msqid>B<, const void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<,>\n"
1284 "B< int >I<msgflg>B<);>\n"
1285
1286 #. type: Plain text
1287 #: debian-trixie fedora-44 fedora-rawhide
1288 #, no-wrap
1289 msgid ""
1290 "B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1291 "B< int >I<msgflg>B<);>\n"
1292 msgstr ""
1293 "B<ssize_t msgrcv(int >I<msqid>B<, void >I<msgp>B<[.>I<msgsz>B<], size_t >I<msgsz>B<, long >I<msgtyp>B<,>\n"
1294 "B< int >I<msgflg>B<);>\n"
1295
1296 #. type: Plain text
1297 #: debian-trixie fedora-44 fedora-rawhide
1298 msgid ""
1299 "a signal is caught, in which case the system call fails with I<errno> set to "
1300 "B<EINTR>;B<see> B<signal>(7). (B<msgsnd>() is never automatically "
1301 "restarted after being interrupted by a signal handler, regardless of the "
1302 "setting of the B<SA_RESTART> flag when establishing a signal handler.)"
1303 msgstr ""
1304 "عند التقاط إشارة، تفشل في هذه الحالة عملية استدعاء النظام مع تعيين I<errno> "
1305 "إلى B<EINTR>؛ انظر B<signal>(7). (لا تتم إعادة تشغيل B<msgsnd>() تلقائيًا "
1306 "أبدًا بعد مقاطعتها بواسطة معالج الإشارات، بغض النظر عن إعداد علامة "
1307 "B<SA_RESTART> عند إنشاء معالج الإشارات.)"
1308
1309 #. type: Plain text
1310 #: debian-trixie fedora-44 fedora-rawhide
1311 msgid ""
1312 "B<IPC_NOWAIT> and B<MSG_COPY> were specified in I<msgflg> and the queue "
1313 "contains less than I<msgtyp> messages."
1314 msgstr ""
1315 "حُددت B<IPC_NOWAIT> و B<MSG_COPY> في I<msgflg>، وتحتوي قائمة الانتظار على عدد "
1316 "رسائل أقل من I<msgtyp>."
1317
1318 #. type: Plain text
1319 #: debian-trixie fedora-44 fedora-rawhide
1320 msgid "POSIX.1-2008."
1321 msgstr "POSIX.1-2008."
1322
1323 #. type: Plain text
1324 #: debian-trixie fedora-44 fedora-rawhide
1325 msgid "POSIX.1-2001, SVr4."
1326 msgstr "POSIX.1-2001، SVr4."
1327
1328 #. type: Plain text
1329 #: debian-trixie fedora-44 fedora-rawhide
1330 msgid ""
1331 "The I<msgp> argument is declared as I<struct msgbuf\\ *> in glibc 2.0 and "
1332 "2.1. It is declared as I<void\\ *> in glibc 2.2 and later, as required by "
1333 "SUSv2 and SUSv3."
1334 msgstr ""
1335 "يعرف الوسيط I<msgp> على أنه I<struct msgbuf\\ *> في glibc 2.0 و2.1. ويعرف "
1336 "على أنه I<void\\ *> في glibc 2.2 والإصدارات الأحدث، وفقًا لمتطلبات SUSv2 "
1337 "وSUSv3."
1338
1339 #. type: TH
1340 #: fedora-44 fedora-rawhide
1341 #, no-wrap
1342 msgid "2024-07-23"
1343 msgstr "23 يوليو 2024"
1344
1345 #. type: TH
1346 #: fedora-44 fedora-rawhide
1347 #, no-wrap
1348 msgid "Linux man-pages 6.13"
1349 msgstr "صفحات دليل لينكس 6.13"
1350
1351 #. type: TH
1352 #: mageia-cauldron
1353 #, no-wrap
1354 msgid "Linux man-pages 6.17"
1355 msgstr "صفحات دليل لينكس 6.17"
1356
1357 #. type: TH
1358 #: opensuse-leap-16-1 opensuse-tumbleweed
1359 #, no-wrap
1360 msgid "Linux man-pages (unreleased)"
1361 msgstr "صفحات دليل لينكس (لم تصدر بعد)"