| 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:31+0200\n" |
| 9 |
"PO-Revision-Date: 2026-06-02 19:33+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 "mq_notify" |
| 25 |
msgstr "mq_notify" |
| 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 "mq_notify - register for notification when a message is available" |
| 51 |
msgstr "mq_notify - سجّل للاستعلام عندما تكون رسالة متاحة" |
| 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 "Real-time library (I<librt>,\\ I<-lrt>)" |
| 64 |
msgstr "مكتبة الوقت الحقيقي (I<librt>،\\ I<-lrt>)" |
| 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 "" |
| 78 |
"B<#include E<lt>mqueue.hE<gt>>\n" |
| 79 |
"B<#include E<lt>signal.hE<gt> >/* Definition of SIGEV_* constants */\n" |
| 80 |
msgstr "" |
| 81 |
"B<#include E<lt>mqueue.hE<gt>>\n" |
| 82 |
"B<#include E<lt>signal.hE<gt> >/* Definition of SIGEV_* constants */\n" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "B<int mq_notify(mqd_t >I<mqdes>B<, const struct sigevent *>I<sevp>B<);>\n" |
| 89 |
msgstr "B<int mq_notify(mqd_t >I<mqdes>B<, const struct sigevent *>I<sevp>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 |
"B<mq_notify>() allows the calling process to register or unregister for " |
| 103 |
"delivery of an asynchronous notification when a new message arrives on the " |
| 104 |
"empty message queue referred to by the message queue descriptor I<mqdes>." |
| 105 |
msgstr "" |
| 106 |
"تسمح الدالة B<mq_notify>() للعملية المستدعية بتسجيل أو إلغاء تسجيل استلام " |
| 107 |
"إعلام غير متزامن عند وصول رسالة جديدة إلى طابور الرسائل الفارغ المشار إليه " |
| 108 |
"بواصف طابور الرسائل I<mqdes>." |
| 109 |
|
| 110 |
#. type: Plain text |
| 111 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 112 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 113 |
msgid "" |
| 114 |
"The I<sevp> argument is a pointer to a I<sigevent> structure. For the " |
| 115 |
"definition and general details of this structure, see B<sigevent>(3type)." |
| 116 |
msgstr "" |
| 117 |
"المعامل I<sevp> هو مؤشر إلى بنية I<sigevent>. للتعريف والتفاصيل العامة لهذه " |
| 118 |
"البنية، انظر B<sigevent>(3type)." |
| 119 |
|
| 120 |
#. type: Plain text |
| 121 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 122 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 123 |
msgid "" |
| 124 |
"If I<sevp> is a non-null pointer, then B<mq_notify>() registers the calling " |
| 125 |
"process to receive message notification. The I<sigev_notify> field of the " |
| 126 |
"I<sigevent> structure to which I<sevp> points specifies how notification is " |
| 127 |
"to be performed. This field has one of the following values:" |
| 128 |
msgstr "" |
| 129 |
"إذا كان I<sevp> مؤشرًا غير فارغ، فإن B<mq_notify>() تسجل العملية المستدعية " |
| 130 |
"لتلقي إعلام الرسالة. يحدد حقل I<sigev_notify> من بنية I<sigevent> التي يشير " |
| 131 |
"إليها I<sevp> كيفية تنفيذ الإعلام. لهذا الحقل إحدى القيم التالية:" |
| 132 |
|
| 133 |
#. type: TP |
| 134 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 135 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 136 |
#, no-wrap |
| 137 |
msgid "B<SIGEV_NONE>" |
| 138 |
msgstr "B<SIGEV_NONE>" |
| 139 |
|
| 140 |
#. When is SIGEV_NONE useful? |
| 141 |
#. type: Plain text |
| 142 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 143 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 144 |
msgid "" |
| 145 |
"A \"null\" notification: the calling process is registered as the target for " |
| 146 |
"notification, but when a message arrives, no notification is sent." |
| 147 |
msgstr "" |
| 148 |
"إعلام \"فارغ\": تُسجل العملية المستدعية كهدف للإعلام، ولكن عند وصول رسالة، لا " |
| 149 |
"يُرسل أي إعلام." |
| 150 |
|
| 151 |
#. type: TP |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
#, no-wrap |
| 155 |
msgid "B<SIGEV_SIGNAL>" |
| 156 |
msgstr "B<SIGEV_SIGNAL>" |
| 157 |
|
| 158 |
#. I don't know of other implementations that set |
| 159 |
#. si_pid and si_uid -- MTK |
| 160 |
#. type: Plain text |
| 161 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 162 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 163 |
msgid "" |
| 164 |
"Notify the process by sending the signal specified in I<sigev_signo>. See " |
| 165 |
"B<sigevent>(3type) for general details. The I<si_code> field of the " |
| 166 |
"I<siginfo_t> structure will be set to B<SI_MESGQ>. In addition, I<si_pid> " |
| 167 |
"will be set to the PID of the process that sent the message, and I<si_uid> " |
| 168 |
"will be set to the real user ID of the sending process." |
| 169 |
msgstr "" |
| 170 |
"أعلم العملية بإرسال الإشارة المحددة في I<sigev_signo>. انظر " |
| 171 |
"B<sigevent>(3type) للتفاصيل العامة. سيُضبط حقل I<si_code> من بنية " |
| 172 |
"I<siginfo_t> إلى B<SI_MESGQ>. بالإضافة إلى ذلك، سيُضبط I<si_pid> إلى PID " |
| 173 |
"العملية التي أرسلت الرسالة، وسيُضبط I<si_uid> إلى معرف المستخدم الحقيقي " |
| 174 |
"للعملية المرسلة." |
| 175 |
|
| 176 |
#. type: TP |
| 177 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 178 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 179 |
#, no-wrap |
| 180 |
msgid "B<SIGEV_THREAD>" |
| 181 |
msgstr "B<SIGEV_THREAD>" |
| 182 |
|
| 183 |
#. type: Plain text |
| 184 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 185 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 186 |
msgid "" |
| 187 |
"Upon message delivery, invoke I<sigev_notify_function> as if it were the " |
| 188 |
"start function of a new thread. See B<sigevent>(3type) for details." |
| 189 |
msgstr "" |
| 190 |
"عند تسليم الرسالة، استدعِ I<sigev_notify_function> كما لو كانت دالة بدء خيط " |
| 191 |
"جديد. انظر B<sigevent>(3type) للتفاصيل." |
| 192 |
|
| 193 |
#. type: Plain text |
| 194 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 195 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 196 |
msgid "" |
| 197 |
"Only one process can be registered to receive notification from a message " |
| 198 |
"queue." |
| 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 |
"If I<sevp> is NULL, and the calling process is currently registered to " |
| 206 |
"receive notifications for this message queue, then the registration is " |
| 207 |
"removed; another process can then register to receive a message notification " |
| 208 |
"for this queue." |
| 209 |
msgstr "" |
| 210 |
"إذا كان I<sevp> فارغًا، وكانت العملية المستدعية مسجلة حاليًا لتلقي إعلامات " |
| 211 |
"لهذا الطابور، فسيُزال التسجيل؛ ويمكن لعملية أخرى التسجيل لتلقي إعلام رسالة " |
| 212 |
"لهذا الطابور." |
| 213 |
|
| 214 |
#. type: Plain text |
| 215 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 216 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 217 |
msgid "" |
| 218 |
"Message notification occurs only when a new message arrives and the queue " |
| 219 |
"was previously empty. If the queue was not empty at the time " |
| 220 |
"B<mq_notify>() was called, then a notification will occur only after the " |
| 221 |
"queue is emptied and a new message arrives." |
| 222 |
msgstr "" |
| 223 |
"يحدث إعلام الرسالة فقط عند وصول رسالة جديدة وكان الطابور فارغًا سابقًا. إذا " |
| 224 |
"لم يكن الطابور فارغًا في وقت استدعاء B<mq_notify>() ، فسيحدث الإعلام فقط بعد " |
| 225 |
"إفراغ الطابور ووصول رسالة جديدة." |
| 226 |
|
| 227 |
#. type: Plain text |
| 228 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 229 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 230 |
msgid "" |
| 231 |
"If another process or thread is waiting to read a message from an empty " |
| 232 |
"queue using B<mq_receive>(3), then any message notification registration is " |
| 233 |
"ignored: the message is delivered to the process or thread calling " |
| 234 |
"B<mq_receive>(3), and the message notification registration remains in " |
| 235 |
"effect." |
| 236 |
msgstr "" |
| 237 |
"إذا كانت عملية أو خيط آخر ينتظر قراءة رسالة من طابور فارغ باستخدام " |
| 238 |
"B<mq_receive>(3)، فسيُتجاهل أي تسجيل إعلام رسالة: تُسلم الرسالة إلى العملية أو " |
| 239 |
"الخيط المستدعي B<mq_receive>(3)، ويبقى تسجيل إعلام الرسالة ساري المفعول." |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
msgid "" |
| 245 |
"Notification occurs once: after a notification is delivered, the " |
| 246 |
"notification registration is removed, and another process can register for " |
| 247 |
"message notification. If the notified process wishes to receive the next " |
| 248 |
"notification, it can use B<mq_notify>() to request a further notification. " |
| 249 |
"This should be done before emptying all unread messages from the queue. " |
| 250 |
"(Placing the queue in nonblocking mode is useful for emptying the queue of " |
| 251 |
"messages without blocking once it is empty.)" |
| 252 |
msgstr "" |
| 253 |
"يحدث الإعلام مرة واحدة: بعد تسليم الإعلام، يُزال تسجيل الإعلام، ويمكن لعملية " |
| 254 |
"أخرى التسجيل لإعلام الرسالة. إذا رغبت العملية المُعلَمة في تلقي الإعلام " |
| 255 |
"التالي، يمكنها استخدام B<mq_notify>() لطلب إعلام إضافي. يجب فعل ذلك قبل " |
| 256 |
"إفراغ جميع الرسائل غير المقروءة من الطابور. (وضع الطابور في وضع عدم الحظر " |
| 257 |
"مفيد لإفراغ الطابور من الرسائل دون حظر بمجرد أن يصبح فارغًا.)" |
| 258 |
|
| 259 |
#. type: SH |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid "RETURN VALUE" |
| 264 |
msgstr "قيمة الإرجاع" |
| 265 |
|
| 266 |
#. type: Plain text |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
msgid "" |
| 270 |
"On success B<mq_notify>() returns 0; on error, -1 is returned, with " |
| 271 |
"I<errno> set to indicate the error." |
| 272 |
msgstr "" |
| 273 |
"عند النجاح، تُرجع B<mq_notify>() 0؛ عند الخطأ، تُرجع -1، مع ضبط I<errno> " |
| 274 |
"للإشارة إلى الخطأ." |
| 275 |
|
| 276 |
#. type: SH |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
#, no-wrap |
| 280 |
msgid "ERRORS" |
| 281 |
msgstr "الأخطاء" |
| 282 |
|
| 283 |
#. type: TP |
| 284 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 285 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
#, no-wrap |
| 287 |
msgid "B<EBADF>" |
| 288 |
msgstr "B<EBADF>" |
| 289 |
|
| 290 |
#. type: Plain text |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
msgid "The message queue descriptor specified in I<mqdes> is invalid." |
| 294 |
msgstr "واصف قائمة رسائل المحدد في I<mqdes> غير صالح." |
| 295 |
|
| 296 |
#. type: TP |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
#, no-wrap |
| 300 |
msgid "B<EBUSY>" |
| 301 |
msgstr "B<EBUSY>" |
| 302 |
|
| 303 |
#. type: Plain text |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
msgid "" |
| 307 |
"Another process has already registered to receive notification for this " |
| 308 |
"message queue." |
| 309 |
msgstr "سُجلت عملية أخرى بالفعل لتلقي الإعلام لهذا الطابور." |
| 310 |
|
| 311 |
#. type: TP |
| 312 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 313 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 314 |
#, no-wrap |
| 315 |
msgid "B<EINVAL>" |
| 316 |
msgstr "B<EINVAL>" |
| 317 |
|
| 318 |
#. type: Plain text |
| 319 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 320 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 321 |
msgid "" |
| 322 |
"I<sevp-E<gt>sigev_notify> is not one of the permitted values; or I<sevp-" |
| 323 |
"E<gt>sigev_notify> is B<SIGEV_SIGNAL> and I<sevp-E<gt>sigev_signo> is not a " |
| 324 |
"valid signal number." |
| 325 |
msgstr "" |
| 326 |
"I<sevp-E<gt>sigev_notify> ليس إحدى القيم المسموح بها؛ أو I<sevp-" |
| 327 |
"E<gt>sigev_notify> هو B<SIGEV_SIGNAL> و I<sevp-E<gt>sigev_signo> ليس رقم " |
| 328 |
"إشارة صالحًا." |
| 329 |
|
| 330 |
#. type: TP |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
#, no-wrap |
| 334 |
msgid "B<ENOMEM>" |
| 335 |
msgstr "B<ENOMEM>" |
| 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 "Insufficient memory." |
| 341 |
msgstr "ذاكرة غير كافية." |
| 342 |
|
| 343 |
#. Linux does not do this |
| 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 "" |
| 348 |
"POSIX.1-2008 says that an implementation I<may> generate an B<EINVAL> error " |
| 349 |
"if I<sevp> is NULL, and the caller is not currently registered to receive " |
| 350 |
"notifications for the queue I<mqdes>." |
| 351 |
msgstr "" |
| 352 |
"ينص POSIX.1-2008 على أن التطبيق I<قد> يُنشئ خطأ B<EINVAL> إذا كان I<sevp> " |
| 353 |
"فارغًا، ولم يكن المستدعي مسجلاً حاليًا لتلقي إعلامات للطابور I<mqdes>." |
| 354 |
|
| 355 |
#. type: SH |
| 356 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 357 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 358 |
#, no-wrap |
| 359 |
msgid "ATTRIBUTES" |
| 360 |
msgstr "السمات" |
| 361 |
|
| 362 |
#. type: Plain text |
| 363 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 364 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 365 |
msgid "" |
| 366 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 367 |
msgstr "" |
| 368 |
"للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)." |
| 369 |
|
| 370 |
#. type: tbl table |
| 371 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 372 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 373 |
#, no-wrap |
| 374 |
msgid "Interface" |
| 375 |
msgstr "الواجهة" |
| 376 |
|
| 377 |
#. type: tbl table |
| 378 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 379 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 380 |
#, no-wrap |
| 381 |
msgid "Attribute" |
| 382 |
msgstr "السمة" |
| 383 |
|
| 384 |
#. type: tbl table |
| 385 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 386 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 387 |
#, no-wrap |
| 388 |
msgid "Value" |
| 389 |
msgstr "القيمة" |
| 390 |
|
| 391 |
#. type: tbl table |
| 392 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 393 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 394 |
#, no-wrap |
| 395 |
msgid ".na\n" |
| 396 |
msgstr ".na\n" |
| 397 |
|
| 398 |
#. type: tbl table |
| 399 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 400 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 401 |
#, no-wrap |
| 402 |
msgid ".nh\n" |
| 403 |
msgstr ".nh\n" |
| 404 |
|
| 405 |
#. type: tbl table |
| 406 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 407 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 408 |
#, no-wrap |
| 409 |
msgid "B<mq_notify>()" |
| 410 |
msgstr "B<mq_notify>()" |
| 411 |
|
| 412 |
#. type: tbl table |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
#, no-wrap |
| 416 |
msgid "Thread safety" |
| 417 |
msgstr "سلامة الخيوط" |
| 418 |
|
| 419 |
#. type: tbl table |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
#, no-wrap |
| 423 |
msgid "MT-Safe" |
| 424 |
msgstr "MT-Safe" |
| 425 |
|
| 426 |
#. type: SH |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
#, no-wrap |
| 430 |
msgid "VERSIONS" |
| 431 |
msgstr "الإصدارات" |
| 432 |
|
| 433 |
#. type: SS |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
#, no-wrap |
| 437 |
msgid "C library/kernel differences" |
| 438 |
msgstr "الاختلافات بين مكتبة C والنواة" |
| 439 |
|
| 440 |
#. type: Plain text |
| 441 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 442 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 443 |
msgid "" |
| 444 |
"In the glibc implementation, the B<mq_notify>() library function is " |
| 445 |
"implemented on top of the system call of the same name. When I<sevp> is " |
| 446 |
"NULL, or specifies a notification mechanism other than B<SIGEV_THREAD>, the " |
| 447 |
"library function directly invokes the system call. For B<SIGEV_THREAD>, " |
| 448 |
"much of the implementation resides within the library, rather than the " |
| 449 |
"kernel. (This is necessarily so, since the thread involved in handling the " |
| 450 |
"notification is one that must be managed by the C library POSIX threads " |
| 451 |
"implementation.) The implementation involves the use of a raw " |
| 452 |
"B<netlink>(7) socket and creates a new thread for each notification that is " |
| 453 |
"delivered to the process." |
| 454 |
msgstr "" |
| 455 |
"في تطبيق glibc، تُنفذ دالة المكتبة B<mq_notify>() فوق استدعاء النظام الذي " |
| 456 |
"يحمل نفس الاسم. عندما يكون I<sevp> فارغًا، أو يحدد آلية إعلام غير " |
| 457 |
"B<SIGEV_THREAD>، تستدعي دالة المكتبة استدعاء النظام مباشرة. بالنسبة لـ " |
| 458 |
"B<SIGEV_THREAD>، يقع جزء كبير من التطبيق داخل المكتبة، وليس النواة. (هذا " |
| 459 |
"ضروري، لأن الخيط المشارك في معالجة الإعلام هو خيط يجب إدارته بواسطة تطبيق " |
| 460 |
"خيوط POSIX لمكتبة C.) يتضمن التطبيق استخدام مقبس B<netlink>(7) خام وإنشاء " |
| 461 |
"خيط جديد لكل إعلام يُسلم إلى العملية." |
| 462 |
|
| 463 |
#. type: SH |
| 464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 466 |
#, no-wrap |
| 467 |
msgid "STANDARDS" |
| 468 |
msgstr "المعايير" |
| 469 |
|
| 470 |
#. type: Plain text |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
msgid "POSIX.1-2008." |
| 474 |
msgstr "POSIX.1-2008." |
| 475 |
|
| 476 |
#. type: SH |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "HISTORY" |
| 481 |
msgstr "التاريخ" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
msgid "POSIX.1-2001." |
| 487 |
msgstr "POSIX.1-2001." |
| 488 |
|
| 489 |
#. type: SH |
| 490 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 491 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 492 |
#, no-wrap |
| 493 |
msgid "EXAMPLES" |
| 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 following program registers a notification request for the message queue " |
| 501 |
"named in its command-line argument. Notification is performed by creating a " |
| 502 |
"thread. The thread executes a function which reads one message from the " |
| 503 |
"queue and then terminates the process." |
| 504 |
msgstr "" |
| 505 |
"يسجل البرنامج التالي طلب إشعار لطابور الرسائل المُسمى في وسيط سطر الأوامر. " |
| 506 |
"يُنفَّذ الإشعار بإنشاء خيط. يُنفِّذ الخيط دالة تقرأ رسالة واحدة من الطابور ثم تُنهي " |
| 507 |
"العملية." |
| 508 |
|
| 509 |
#. type: SS |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
#, no-wrap |
| 513 |
msgid "Program source" |
| 514 |
msgstr "مصدر البرنامج" |
| 515 |
|
| 516 |
#. type: Plain text |
| 517 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 518 |
#: opensuse-tumbleweed |
| 519 |
#, no-wrap |
| 520 |
msgid "" |
| 521 |
"#include E<lt>err.hE<gt>\n" |
| 522 |
"#include E<lt>mqueue.hE<gt>\n" |
| 523 |
"#include E<lt>pthread.hE<gt>\n" |
| 524 |
"#include E<lt>signal.hE<gt>\n" |
| 525 |
"#include E<lt>stdio.hE<gt>\n" |
| 526 |
"#include E<lt>stdlib.hE<gt>\n" |
| 527 |
"#include E<lt>unistd.hE<gt>\n" |
| 528 |
"\\&\n" |
| 529 |
"static void /* Thread start function */\n" |
| 530 |
"tfunc(union sigval sv)\n" |
| 531 |
"{\n" |
| 532 |
" struct mq_attr attr;\n" |
| 533 |
" ssize_t nr;\n" |
| 534 |
" void *buf;\n" |
| 535 |
" mqd_t mqdes = *((mqd_t *) sv.sival_ptr);\n" |
| 536 |
"\\&\n" |
| 537 |
" /* Determine max.\\& msg size; allocate buffer to receive msg */\n" |
| 538 |
"\\&\n" |
| 539 |
" if (mq_getattr(mqdes, &attr) == -1)\n" |
| 540 |
" err(EXIT_FAILURE, \"mq_getattr\");\n" |
| 541 |
" buf = malloc(attr.mq_msgsize);\n" |
| 542 |
" if (buf == NULL)\n" |
| 543 |
" err(EXIT_FAILURE, \"malloc\");\n" |
| 544 |
"\\&\n" |
| 545 |
" nr = mq_receive(mqdes, buf, attr.mq_msgsize, NULL);\n" |
| 546 |
" if (nr == -1)\n" |
| 547 |
" err(EXIT_FAILURE, \"mq_receive\");\n" |
| 548 |
"\\&\n" |
| 549 |
" printf(\"Read %zd bytes from MQ\\[rs]n\", nr);\n" |
| 550 |
" free(buf);\n" |
| 551 |
" exit(EXIT_SUCCESS); /* Terminate the process */\n" |
| 552 |
"}\n" |
| 553 |
"\\&\n" |
| 554 |
"int\n" |
| 555 |
"main(int argc, char *argv[])\n" |
| 556 |
"{\n" |
| 557 |
" mqd_t mqdes;\n" |
| 558 |
" struct sigevent sev;\n" |
| 559 |
"\\&\n" |
| 560 |
" if (argc != 2) {\n" |
| 561 |
" fprintf(stderr, \"Usage: %s E<lt>mq-nameE<gt>\\[rs]n\", argv[0]);\n" |
| 562 |
" exit(EXIT_FAILURE);\n" |
| 563 |
" }\n" |
| 564 |
"\\&\n" |
| 565 |
" mqdes = mq_open(argv[1], O_RDONLY);\n" |
| 566 |
" if (mqdes == (mqd_t) -1)\n" |
| 567 |
" err(EXIT_FAILURE, \"mq_open\");\n" |
| 568 |
"\\&\n" |
| 569 |
" sev.sigev_notify = SIGEV_THREAD;\n" |
| 570 |
" sev.sigev_notify_function = tfunc;\n" |
| 571 |
" sev.sigev_notify_attributes = NULL;\n" |
| 572 |
" sev.sigev_value.sival_ptr = &mqdes; /* Arg.\\& to thread func. */\n" |
| 573 |
" if (mq_notify(mqdes, &sev) == -1)\n" |
| 574 |
" err(EXIT_FAILURE, \"mq_notify\");\n" |
| 575 |
"\\&\n" |
| 576 |
" pause(); /* Process will be terminated by thread function */\n" |
| 577 |
"}\n" |
| 578 |
msgstr "" |
| 579 |
"#include E<lt>err.hE<gt>\n" |
| 580 |
"#include E<lt>mqueue.hE<gt>\n" |
| 581 |
"#include E<lt>pthread.hE<gt>\n" |
| 582 |
"#include E<lt>signal.hE<gt>\n" |
| 583 |
"#include E<lt>stdio.hE<gt>\n" |
| 584 |
"#include E<lt>stdlib.hE<gt>\n" |
| 585 |
"#include E<lt>unistd.hE<gt>\n" |
| 586 |
"\\&\n" |
| 587 |
"static void /* Thread start function */\n" |
| 588 |
"tfunc(union sigval sv)\n" |
| 589 |
"{\n" |
| 590 |
" struct mq_attr attr;\n" |
| 591 |
" ssize_t nr;\n" |
| 592 |
" void *buf;\n" |
| 593 |
" mqd_t mqdes = *((mqd_t *) sv.sival_ptr);\n" |
| 594 |
"\\&\n" |
| 595 |
" /* Determine max.\\& msg size; allocate buffer to receive msg */\n" |
| 596 |
"\\&\n" |
| 597 |
" if (mq_getattr(mqdes, &attr) == -1)\n" |
| 598 |
" err(EXIT_FAILURE, \"mq_getattr\");\n" |
| 599 |
" buf = malloc(attr.mq_msgsize);\n" |
| 600 |
" if (buf == NULL)\n" |
| 601 |
" err(EXIT_FAILURE, \"malloc\");\n" |
| 602 |
"\\&\n" |
| 603 |
" nr = mq_receive(mqdes, buf, attr.mq_msgsize, NULL);\n" |
| 604 |
" if (nr == -1)\n" |
| 605 |
" err(EXIT_FAILURE, \"mq_receive\");\n" |
| 606 |
"\\&\n" |
| 607 |
" printf(\"Read %zd bytes from MQ\\[rs]n\", nr);\n" |
| 608 |
" free(buf);\n" |
| 609 |
" exit(EXIT_SUCCESS); /* Terminate the process */\n" |
| 610 |
"}\n" |
| 611 |
"\\&\n" |
| 612 |
"int\n" |
| 613 |
"main(int argc, char *argv[])\n" |
| 614 |
"{\n" |
| 615 |
" mqd_t mqdes;\n" |
| 616 |
" struct sigevent sev;\n" |
| 617 |
"\\&\n" |
| 618 |
" if (argc != 2) {\n" |
| 619 |
" fprintf(stderr, \"Usage: %s E<lt>mq-nameE<gt>\\[rs]n\", argv[0]);\n" |
| 620 |
" exit(EXIT_FAILURE);\n" |
| 621 |
" }\n" |
| 622 |
"\\&\n" |
| 623 |
" mqdes = mq_open(argv[1], O_RDONLY);\n" |
| 624 |
" if (mqdes == (mqd_t) -1)\n" |
| 625 |
" err(EXIT_FAILURE, \"mq_open\");\n" |
| 626 |
"\\&\n" |
| 627 |
" sev.sigev_notify = SIGEV_THREAD;\n" |
| 628 |
" sev.sigev_notify_function = tfunc;\n" |
| 629 |
" sev.sigev_notify_attributes = NULL;\n" |
| 630 |
" sev.sigev_value.sival_ptr = &mqdes; /* Arg.\\& to thread func. */\n" |
| 631 |
" if (mq_notify(mqdes, &sev) == -1)\n" |
| 632 |
" err(EXIT_FAILURE, \"mq_notify\");\n" |
| 633 |
"\\&\n" |
| 634 |
" pause(); /* Process will be terminated by thread function */\n" |
| 635 |
"}\n" |
| 636 |
|
| 637 |
#. SRC END |
| 638 |
#. type: SH |
| 639 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 640 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 641 |
#, no-wrap |
| 642 |
msgid "SEE ALSO" |
| 643 |
msgstr "انظر أيضًا" |
| 644 |
|
| 645 |
#. type: Plain text |
| 646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
msgid "" |
| 649 |
"B<mq_close>(3), B<mq_getattr>(3), B<mq_open>(3), B<mq_receive>(3), " |
| 650 |
"B<mq_send>(3), B<mq_unlink>(3), B<mq_overview>(7), B<sigevent>(3type)" |
| 651 |
msgstr "" |
| 652 |
"B<mq_close>(3), B<mq_getattr>(3), B<mq_open>(3), B<mq_receive>(3), " |
| 653 |
"B<mq_send>(3), B<mq_unlink>(3), B<mq_overview>(7), B<sigevent>(3type)" |
| 654 |
|
| 655 |
#. type: TH |
| 656 |
#: debian-trixie |
| 657 |
#, no-wrap |
| 658 |
msgid "2024-06-15" |
| 659 |
msgstr "15 يونيو 2024" |
| 660 |
|
| 661 |
#. type: TH |
| 662 |
#: debian-trixie |
| 663 |
#, no-wrap |
| 664 |
msgid "Linux man-pages 6.9.1" |
| 665 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 666 |
|
| 667 |
#. type: Plain text |
| 668 |
#: debian-trixie |
| 669 |
msgid "Real-time library (I<librt>, I<-lrt>)" |
| 670 |
msgstr "مكتبة الوقت الحقيقي (I<librt>، I<-lrt>)" |
| 671 |
|
| 672 |
#. type: Plain text |
| 673 |
#: debian-trixie fedora-44 fedora-rawhide |
| 674 |
#, no-wrap |
| 675 |
msgid "" |
| 676 |
"#include E<lt>mqueue.hE<gt>\n" |
| 677 |
"#include E<lt>pthread.hE<gt>\n" |
| 678 |
"#include E<lt>signal.hE<gt>\n" |
| 679 |
"#include E<lt>stdio.hE<gt>\n" |
| 680 |
"#include E<lt>stdlib.hE<gt>\n" |
| 681 |
"#include E<lt>unistd.hE<gt>\n" |
| 682 |
"\\&\n" |
| 683 |
"#define handle_error(msg) \\[rs]\n" |
| 684 |
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 685 |
"\\&\n" |
| 686 |
"static void /* Thread start function */\n" |
| 687 |
"tfunc(union sigval sv)\n" |
| 688 |
"{\n" |
| 689 |
" struct mq_attr attr;\n" |
| 690 |
" ssize_t nr;\n" |
| 691 |
" void *buf;\n" |
| 692 |
" mqd_t mqdes = *((mqd_t *) sv.sival_ptr);\n" |
| 693 |
"\\&\n" |
| 694 |
" /* Determine max. msg size; allocate buffer to receive msg */\n" |
| 695 |
"\\&\n" |
| 696 |
" if (mq_getattr(mqdes, &attr) == -1)\n" |
| 697 |
" handle_error(\"mq_getattr\");\n" |
| 698 |
" buf = malloc(attr.mq_msgsize);\n" |
| 699 |
" if (buf == NULL)\n" |
| 700 |
" handle_error(\"malloc\");\n" |
| 701 |
"\\&\n" |
| 702 |
" nr = mq_receive(mqdes, buf, attr.mq_msgsize, NULL);\n" |
| 703 |
" if (nr == -1)\n" |
| 704 |
" handle_error(\"mq_receive\");\n" |
| 705 |
"\\&\n" |
| 706 |
" printf(\"Read %zd bytes from MQ\\[rs]n\", nr);\n" |
| 707 |
" free(buf);\n" |
| 708 |
" exit(EXIT_SUCCESS); /* Terminate the process */\n" |
| 709 |
"}\n" |
| 710 |
"\\&\n" |
| 711 |
"int\n" |
| 712 |
"main(int argc, char *argv[])\n" |
| 713 |
"{\n" |
| 714 |
" mqd_t mqdes;\n" |
| 715 |
" struct sigevent sev;\n" |
| 716 |
"\\&\n" |
| 717 |
" if (argc != 2) {\n" |
| 718 |
" fprintf(stderr, \"Usage: %s E<lt>mq-nameE<gt>\\[rs]n\", argv[0]);\n" |
| 719 |
" exit(EXIT_FAILURE);\n" |
| 720 |
" }\n" |
| 721 |
"\\&\n" |
| 722 |
" mqdes = mq_open(argv[1], O_RDONLY);\n" |
| 723 |
" if (mqdes == (mqd_t) -1)\n" |
| 724 |
" handle_error(\"mq_open\");\n" |
| 725 |
"\\&\n" |
| 726 |
" sev.sigev_notify = SIGEV_THREAD;\n" |
| 727 |
" sev.sigev_notify_function = tfunc;\n" |
| 728 |
" sev.sigev_notify_attributes = NULL;\n" |
| 729 |
" sev.sigev_value.sival_ptr = &mqdes; /* Arg. to thread func. */\n" |
| 730 |
" if (mq_notify(mqdes, &sev) == -1)\n" |
| 731 |
" handle_error(\"mq_notify\");\n" |
| 732 |
"\\&\n" |
| 733 |
" pause(); /* Process will be terminated by thread function */\n" |
| 734 |
"}\n" |
| 735 |
msgstr "" |
| 736 |
"#include E<lt>mqueue.hE<gt>\n" |
| 737 |
"#include E<lt>pthread.hE<gt>\n" |
| 738 |
"#include E<lt>signal.hE<gt>\n" |
| 739 |
"#include E<lt>stdio.hE<gt>\n" |
| 740 |
"#include E<lt>stdlib.hE<gt>\n" |
| 741 |
"#include E<lt>unistd.hE<gt>\n" |
| 742 |
"\\&\n" |
| 743 |
"#define handle_error(msg) \\[rs]\n" |
| 744 |
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n" |
| 745 |
"\\&\n" |
| 746 |
"static void /* Thread start function */\n" |
| 747 |
"tfunc(union sigval sv)\n" |
| 748 |
"{\n" |
| 749 |
" struct mq_attr attr;\n" |
| 750 |
" ssize_t nr;\n" |
| 751 |
" void *buf;\n" |
| 752 |
" mqd_t mqdes = *((mqd_t *) sv.sival_ptr);\n" |
| 753 |
"\\&\n" |
| 754 |
" /* Determine max. msg size; allocate buffer to receive msg */\n" |
| 755 |
"\\&\n" |
| 756 |
" if (mq_getattr(mqdes, &attr) == -1)\n" |
| 757 |
" handle_error(\"mq_getattr\");\n" |
| 758 |
" buf = malloc(attr.mq_msgsize);\n" |
| 759 |
" if (buf == NULL)\n" |
| 760 |
" handle_error(\"malloc\");\n" |
| 761 |
"\\&\n" |
| 762 |
" nr = mq_receive(mqdes, buf, attr.mq_msgsize, NULL);\n" |
| 763 |
" if (nr == -1)\n" |
| 764 |
" handle_error(\"mq_receive\");\n" |
| 765 |
"\\&\n" |
| 766 |
" printf(\"Read %zd bytes from MQ\\[rs]n\", nr);\n" |
| 767 |
" free(buf);\n" |
| 768 |
" exit(EXIT_SUCCESS); /* Terminate the process */\n" |
| 769 |
"}\n" |
| 770 |
"\\&\n" |
| 771 |
"int\n" |
| 772 |
"main(int argc, char *argv[])\n" |
| 773 |
"{\n" |
| 774 |
" mqd_t mqdes;\n" |
| 775 |
" struct sigevent sev;\n" |
| 776 |
"\\&\n" |
| 777 |
" if (argc != 2) {\n" |
| 778 |
" fprintf(stderr, \"Usage: %s E<lt>mq-nameE<gt>\\[rs]n\", argv[0]);\n" |
| 779 |
" exit(EXIT_FAILURE);\n" |
| 780 |
" }\n" |
| 781 |
"\\&\n" |
| 782 |
" mqdes = mq_open(argv[1], O_RDONLY);\n" |
| 783 |
" if (mqdes == (mqd_t) -1)\n" |
| 784 |
" handle_error(\"mq_open\");\n" |
| 785 |
"\\&\n" |
| 786 |
" sev.sigev_notify = SIGEV_THREAD;\n" |
| 787 |
" sev.sigev_notify_function = tfunc;\n" |
| 788 |
" sev.sigev_notify_attributes = NULL;\n" |
| 789 |
" sev.sigev_value.sival_ptr = &mqdes; /* Arg. to thread func. */\n" |
| 790 |
" if (mq_notify(mqdes, &sev) == -1)\n" |
| 791 |
" handle_error(\"mq_notify\");\n" |
| 792 |
"\\&\n" |
| 793 |
" pause(); /* Process will be terminated by thread function */\n" |
| 794 |
"}\n" |
| 795 |
|
| 796 |
#. type: TH |
| 797 |
#: fedora-44 fedora-rawhide |
| 798 |
#, no-wrap |
| 799 |
msgid "2024-07-23" |
| 800 |
msgstr "23 يوليو 2024" |
| 801 |
|
| 802 |
#. type: TH |
| 803 |
#: fedora-44 fedora-rawhide |
| 804 |
#, no-wrap |
| 805 |
msgid "Linux man-pages 6.13" |
| 806 |
msgstr "صفحات دليل لينكس 6.13" |
| 807 |
|
| 808 |
#. type: TH |
| 809 |
#: mageia-cauldron |
| 810 |
#, no-wrap |
| 811 |
msgid "Linux man-pages 6.17" |
| 812 |
msgstr "صفحات دليل لينكس 6.17" |
| 813 |
|
| 814 |
#. type: TH |
| 815 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 816 |
#, no-wrap |
| 817 |
msgid "Linux man-pages (unreleased)" |
| 818 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |