| 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:39+0200\n" |
| 9 |
"PO-Revision-Date: 2026-05-18 18:09+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 "recvmmsg" |
| 25 |
msgstr "recvmmsg" |
| 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 "recvmmsg - receive multiple messages on a socket" |
| 51 |
msgstr "recvmmsg - استقبال رسائل متعددة على مقبس" |
| 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 "" |
| 78 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 79 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 80 |
msgstr "" |
| 81 |
"B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n" |
| 82 |
"B<#include E<lt>sys/socket.hE<gt>>\n" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 86 |
#: opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "" |
| 89 |
"B<int recvmmsg(>unsigned int n;\n" |
| 90 |
"B< int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[>I<n>B<], unsigned int >I<n>B<,>\n" |
| 91 |
"B< int >I<flags>B<, struct timespec *>I<timeout>B<);>\n" |
| 92 |
msgstr "" |
| 93 |
"B<int recvmmsg(>unsigned int n;\n" |
| 94 |
"B< int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[>I<n>B<], unsigned int >I<n>B<,>\n" |
| 95 |
"B< int >I<flags>B<, struct timespec *>I<timeout>B<);>\n" |
| 96 |
|
| 97 |
#. type: SH |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
#, no-wrap |
| 101 |
msgid "DESCRIPTION" |
| 102 |
msgstr "الوصف" |
| 103 |
|
| 104 |
#. type: Plain text |
| 105 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 106 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 107 |
msgid "" |
| 108 |
"The B<recvmmsg>() system call is an extension of B<recvmsg>(2) that allows " |
| 109 |
"the caller to receive multiple messages from a socket using a single system " |
| 110 |
"call. (This has performance benefits for some applications.) A further " |
| 111 |
"extension over B<recvmsg>(2) is support for a timeout on the receive " |
| 112 |
"operation." |
| 113 |
msgstr "" |
| 114 |
"استدعاء النظام B<recvmmsg>() هو امتداد لـ B<recvmsg>(2) يسمح للمستدعي " |
| 115 |
"باستقبال رسائل متعددة من مقبس باستخدام استدعاء نظام واحد. (هذا يوفر فوائد " |
| 116 |
"أداء لبعض التطبيقات.) امتداد إضافي على B<recvmsg>(2) هو دعم مهلة زمنية " |
| 117 |
"لعملية الاستقبال." |
| 118 |
|
| 119 |
#. type: Plain text |
| 120 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 121 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 122 |
msgid "" |
| 123 |
"The I<sockfd> argument is the file descriptor of the socket to receive data " |
| 124 |
"from." |
| 125 |
msgstr "الوسيط I<sockfd> هو واصف الملف للمقبس الذي سيتم استقبال البيانات منه." |
| 126 |
|
| 127 |
#. type: Plain text |
| 128 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 129 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 130 |
msgid "" |
| 131 |
"The I<msgvec> argument is a pointer to an array of I<mmsghdr> structures. " |
| 132 |
"The size of this array is specified in I<n>." |
| 133 |
msgstr "" |
| 134 |
"المعامل I<msgvec> هو مؤشر لمصفوفة من هياكل I<mmsghdr>. حُدد حجم هذه المصفوفة " |
| 135 |
"في I<n>." |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
msgid "The I<mmsghdr> structure is defined in I<E<lt>sys/socket.hE<gt>> as:" |
| 141 |
msgstr "عُرف هيكل I<mmsghdr> في I<E<lt>sys/socket.hE<gt>> كالتالي:" |
| 142 |
|
| 143 |
#. type: Plain text |
| 144 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 145 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 146 |
#, no-wrap |
| 147 |
msgid "" |
| 148 |
"struct mmsghdr {\n" |
| 149 |
" struct msghdr msg_hdr; /* Message header */\n" |
| 150 |
" unsigned int msg_len; /* Number of received bytes for header */\n" |
| 151 |
"};\n" |
| 152 |
msgstr "" |
| 153 |
"struct mmsghdr {\n" |
| 154 |
" struct msghdr msg_hdr; /* Message header */\n" |
| 155 |
" unsigned int msg_len; /* Number of received bytes for header */\n" |
| 156 |
"};\n" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"The I<msg_hdr> field is a I<msghdr> structure, as described in " |
| 163 |
"B<recvmsg>(2). The I<msg_len> field is the number of bytes returned for the " |
| 164 |
"message in the entry. This field has the same value as the return value of " |
| 165 |
"a single B<recvmsg>(2) on the header." |
| 166 |
msgstr "" |
| 167 |
"الحقل I<msg_hdr> هو بنية I<msghdr>، كما هو موصوف في B<recvmsg>(2). الحقل " |
| 168 |
"I<msg_len> هو عدد البايتات المعادة للرسالة في الإدخال. هذا الحقل له نفس قيمة " |
| 169 |
"القيمة المعادة لاستدعاء B<recvmsg>(2) واحد على الرأس." |
| 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 |
"The I<flags> argument contains flags ORed together. The flags are the same " |
| 176 |
"as documented for B<recvmsg>(2), with the following addition:" |
| 177 |
msgstr "" |
| 178 |
"الوسيط I<flags> يحتوي على أعلام مدمجة بعملية OR. الأعلام هي نفسها الموثقة لـ " |
| 179 |
"B<recvmsg>(2)، مع الإضافة التالية:" |
| 180 |
|
| 181 |
#. type: TP |
| 182 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 183 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 184 |
#, no-wrap |
| 185 |
msgid "B<MSG_WAITFORONE> (since Linux 2.6.34)" |
| 186 |
msgstr "B<MSG_WAITFORONE> (منذ لينكس 2.6.34)" |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
msgid "Turns on B<MSG_DONTWAIT> after the first message has been received." |
| 192 |
msgstr "يقوم بتشغيل B<MSG_DONTWAIT> بعد استقبال الرسالة الأولى." |
| 193 |
|
| 194 |
#. type: Plain text |
| 195 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 196 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 197 |
msgid "" |
| 198 |
"The I<timeout> argument points to a I<struct timespec> (see " |
| 199 |
"B<clock_gettime>(2)) defining a timeout (seconds plus nanoseconds) for the " |
| 200 |
"receive operation (I<but see BUGS!>). (This interval will be rounded up to " |
| 201 |
"the system clock granularity, and kernel scheduling delays mean that the " |
| 202 |
"blocking interval may overrun by a small amount.) If I<timeout> is NULL, " |
| 203 |
"then the operation blocks indefinitely." |
| 204 |
msgstr "" |
| 205 |
"الوسيط I<timeout> يشير إلى I<struct timespec> (انظر B<clock_gettime>(2)) " |
| 206 |
"يحدد مهلة زمنية (ثوانٍ بالإضافة إلى نانوثوانٍ) لعملية الاستقبال (I<لكن انظر " |
| 207 |
"الأخطاء!>). (سيتم تقريب هذه الفترة إلى دقة ساعة النظام، وتأخيرات جدولة " |
| 208 |
"النواة تعني أن فترة الحظر قد تتجاوز بمقدار صغير.) إذا كان I<timeout> هو " |
| 209 |
"NULL، فإن العملية تحظر إلى أجل غير مسمى." |
| 210 |
|
| 211 |
#. type: Plain text |
| 212 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 213 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 214 |
msgid "" |
| 215 |
"A blocking B<recvmmsg>() call blocks until I<n> messages have been received " |
| 216 |
"or until the timeout expires. A nonblocking call reads as many messages as " |
| 217 |
"are available (up to the limit specified by I<n>) and returns immediately." |
| 218 |
msgstr "" |
| 219 |
"استدعاء B<recvmmsg>() المحظور يحظر حتى يتم استقبال I<n> رسالة أو حتى تنتهي " |
| 220 |
"المهلة. الاستدعاء غير المحظور يقرأ أكبر عدد ممكن من الرسائل المتاحة (حتى " |
| 221 |
"الحد المحدد بواسطة I<n>) ويعود فورًا." |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "" |
| 227 |
"On return from B<recvmmsg>(), successive elements of I<msgvec> are updated " |
| 228 |
"to contain information about each received message: I<msg_len> contains the " |
| 229 |
"size of the received message; the subfields of I<msg_hdr> are updated as " |
| 230 |
"described in B<recvmsg>(2). The return value of the call indicates the " |
| 231 |
"number of elements of I<msgvec> that have been updated." |
| 232 |
msgstr "" |
| 233 |
"عند العودة من B<recvmmsg>()، يتم تحديث العناصر المتتالية من I<msgvec> لتحتوي " |
| 234 |
"على معلومات حول كل رسالة مستلمة: I<msg_len> يحتوي على حجم الرسالة المستلمة؛ " |
| 235 |
"الحقول الفرعية لـ I<msg_hdr> يتم تحديثها كما هو موصوف في B<recvmsg>(2). " |
| 236 |
"القيمة المعادة للاستدعاء تشير إلى عدد عناصر I<msgvec> التي تم تحديثها." |
| 237 |
|
| 238 |
#. type: SH |
| 239 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 240 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 241 |
#, no-wrap |
| 242 |
msgid "RETURN VALUE" |
| 243 |
msgstr "قيمة الإرجاع" |
| 244 |
|
| 245 |
#. type: Plain text |
| 246 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 247 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 248 |
msgid "" |
| 249 |
"On success, B<recvmmsg>() returns the number of messages received in " |
| 250 |
"I<msgvec>; on error, -1 is returned, and I<errno> is set to indicate the " |
| 251 |
"error." |
| 252 |
msgstr "" |
| 253 |
"عند النجاح، يعيد B<recvmmsg>() عدد الرسائل المستلمة في I<msgvec>؛ عند " |
| 254 |
"الخطأ، يتم إرجاع -1، ويتم تعيين I<errno> للإشارة إلى الخطأ." |
| 255 |
|
| 256 |
#. type: SH |
| 257 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 258 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 259 |
#, no-wrap |
| 260 |
msgid "ERRORS" |
| 261 |
msgstr "الأخطاء" |
| 262 |
|
| 263 |
#. type: Plain text |
| 264 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 265 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 266 |
msgid "" |
| 267 |
"Errors are as for B<recvmsg>(2). In addition, the following error can occur:" |
| 268 |
msgstr "" |
| 269 |
"الأخطاء هي كما في B<recvmsg>(2). بالإضافة إلى ذلك، يمكن أن يحدث الخطأ التالي:" |
| 270 |
|
| 271 |
#. type: TP |
| 272 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 273 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 274 |
#, no-wrap |
| 275 |
msgid "B<EINVAL>" |
| 276 |
msgstr "B<EINVAL>" |
| 277 |
|
| 278 |
#. type: Plain text |
| 279 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 280 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 281 |
msgid "I<timeout> is invalid." |
| 282 |
msgstr "I<timeout> غير صالح." |
| 283 |
|
| 284 |
#. type: Plain text |
| 285 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 286 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 287 |
msgid "See also BUGS." |
| 288 |
msgstr "انظر أيضًا الأخطاء." |
| 289 |
|
| 290 |
#. type: SH |
| 291 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 292 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 293 |
#, no-wrap |
| 294 |
msgid "STANDARDS" |
| 295 |
msgstr "المعايير" |
| 296 |
|
| 297 |
#. type: Plain text |
| 298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 300 |
msgid "Linux." |
| 301 |
msgstr "لينكس." |
| 302 |
|
| 303 |
#. type: SH |
| 304 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 305 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 306 |
#, no-wrap |
| 307 |
msgid "HISTORY" |
| 308 |
msgstr "التاريخ" |
| 309 |
|
| 310 |
#. type: Plain text |
| 311 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 312 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 313 |
msgid "Linux 2.6.33, glibc 2.12." |
| 314 |
msgstr "لينكس 2.6.33، glibc 2.12." |
| 315 |
|
| 316 |
#. type: SH |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
#, no-wrap |
| 320 |
msgid "BUGS" |
| 321 |
msgstr "العلل" |
| 322 |
|
| 323 |
#. FIXME . https://bugzilla.kernel.org/show_bug.cgi?id=75371 |
| 324 |
#. http://thread.gmane.org/gmane.linux.man/5677 |
| 325 |
#. type: Plain text |
| 326 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 327 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
msgid "" |
| 329 |
"The I<timeout> argument does not work as intended. The timeout is checked " |
| 330 |
"only after the receipt of each datagram, so that if up to I<n-1> datagrams " |
| 331 |
"are received before the timeout expires, but then no further datagrams are " |
| 332 |
"received, the call will block forever." |
| 333 |
msgstr "" |
| 334 |
"الوسيط I<timeout> لا يعمل كما هو مقصود. يتم التحقق من المهلة فقط بعد استقبال " |
| 335 |
"كل مخطط بيانات، بحيث إذا تم استقبال ما يصل إلى I<n-1> مخطط بيانات قبل انتهاء " |
| 336 |
"المهلة، ولكن بعد ذلك لم يتم استقبال أي مخططات بيانات أخرى، فإن الاستدعاء " |
| 337 |
"سيحظر إلى الأبد." |
| 338 |
|
| 339 |
#. type: Plain text |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
msgid "" |
| 343 |
"If an error occurs after at least one message has been received, the call " |
| 344 |
"succeeds, and returns the number of messages received. The error code is " |
| 345 |
"expected to be returned on a subsequent call to B<recvmmsg>(). In the " |
| 346 |
"current implementation, however, the error code can be overwritten in the " |
| 347 |
"meantime by an unrelated network event on a socket, for example an incoming " |
| 348 |
"ICMP packet." |
| 349 |
msgstr "" |
| 350 |
"إذا حدث خطأ بعد استقبال رسالة واحدة على الأقل، فإن الاستدعاء ينجح، ويعيد عدد " |
| 351 |
"الرسائل المستلمة. من المتوقع إعادة رمز الخطأ في استدعاء لاحق لـ " |
| 352 |
"B<recvmmsg>(). ومع ذلك، في التنفيذ الحالي، يمكن استبدال رمز الخطأ في هذه " |
| 353 |
"الأثناء بواسطة حدث شبكة غير مرتبط على مقبس، على سبيل المثال حزمة ICMP واردة." |
| 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 "EXAMPLES" |
| 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 |
"The following program uses B<recvmmsg>() to receive multiple messages on a " |
| 367 |
"socket and stores them in multiple buffers. The call returns if all buffers " |
| 368 |
"are filled or if the timeout specified has expired." |
| 369 |
msgstr "" |
| 370 |
"البرنامج التالي يستخدم B<recvmmsg>() لاستقبال رسائل متعددة على مقبس ويخزنها " |
| 371 |
"في مخازن متعددة. يعود الاستدعاء إذا تم ملء جميع المخازن أو إذا انتهت المهلة " |
| 372 |
"المحددة." |
| 373 |
|
| 374 |
#. type: Plain text |
| 375 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 376 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 377 |
msgid "" |
| 378 |
"The following snippet periodically generates UDP datagrams containing a " |
| 379 |
"random number:" |
| 380 |
msgstr "المقتطف التالي يولد بشكل دوري مخططات بيانات UDP تحتوي على رقم عشوائي:" |
| 381 |
|
| 382 |
#. type: Plain text |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
#, no-wrap |
| 386 |
msgid "" |
| 387 |
"$B< while true; do echo $RANDOM E<gt> /dev/udp/127.0.0.1/1234;>\n" |
| 388 |
"B<sleep 0.25; done>\n" |
| 389 |
msgstr "" |
| 390 |
"$B< while true; do echo $RANDOM E<gt> /dev/udp/127.0.0.1/1234;>\n" |
| 391 |
"B<sleep 0.25; done>\n" |
| 392 |
|
| 393 |
#. type: Plain text |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
msgid "" |
| 397 |
"These datagrams are read by the example application, which can give the " |
| 398 |
"following output:" |
| 399 |
msgstr "" |
| 400 |
"تتم قراءة هذه المخططات بواسطة التطبيق المثال، والذي يمكن أن يعطي المخرجات " |
| 401 |
"التالية:" |
| 402 |
|
| 403 |
#. type: Plain text |
| 404 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 405 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 406 |
#, no-wrap |
| 407 |
msgid "" |
| 408 |
"$B< ./a.out>\n" |
| 409 |
"5 messages received\n" |
| 410 |
"1 11782\n" |
| 411 |
"2 11345\n" |
| 412 |
"3 304\n" |
| 413 |
"4 13514\n" |
| 414 |
"5 28421\n" |
| 415 |
msgstr "" |
| 416 |
"$B< ./a.out>\n" |
| 417 |
"5 messages received\n" |
| 418 |
"1 11782\n" |
| 419 |
"2 11345\n" |
| 420 |
"3 304\n" |
| 421 |
"4 13514\n" |
| 422 |
"5 28421\n" |
| 423 |
|
| 424 |
#. type: SS |
| 425 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 426 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 427 |
#, no-wrap |
| 428 |
msgid "Program source" |
| 429 |
msgstr "مصدر البرنامج" |
| 430 |
|
| 431 |
#. type: Plain text |
| 432 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 433 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 434 |
#, no-wrap |
| 435 |
msgid "" |
| 436 |
"#define _GNU_SOURCE\n" |
| 437 |
"#include E<lt>arpa/inet.hE<gt>\n" |
| 438 |
"#include E<lt>netinet/in.hE<gt>\n" |
| 439 |
"#include E<lt>stdio.hE<gt>\n" |
| 440 |
"#include E<lt>stdlib.hE<gt>\n" |
| 441 |
"#include E<lt>string.hE<gt>\n" |
| 442 |
"#include E<lt>sys/socket.hE<gt>\n" |
| 443 |
"#include E<lt>time.hE<gt>\n" |
| 444 |
"\\&\n" |
| 445 |
"int\n" |
| 446 |
"main(void)\n" |
| 447 |
"{\n" |
| 448 |
"#define VLEN 10\n" |
| 449 |
"#define BUFSIZE 200\n" |
| 450 |
"#define TIMEOUT 1\n" |
| 451 |
" int sockfd, retval;\n" |
| 452 |
" char bufs[VLEN][BUFSIZE+1];\n" |
| 453 |
" struct iovec iovecs[VLEN];\n" |
| 454 |
" struct mmsghdr msgs[VLEN];\n" |
| 455 |
" struct timespec timeout;\n" |
| 456 |
" struct sockaddr_in addr;\n" |
| 457 |
"\\&\n" |
| 458 |
" sockfd = socket(AF_INET, SOCK_DGRAM, 0);\n" |
| 459 |
" if (sockfd == -1) {\n" |
| 460 |
" perror(\"socket()\");\n" |
| 461 |
" exit(EXIT_FAILURE);\n" |
| 462 |
" }\n" |
| 463 |
"\\&\n" |
| 464 |
" addr.sin_family = AF_INET;\n" |
| 465 |
" addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n" |
| 466 |
" addr.sin_port = htons(1234);\n" |
| 467 |
" if (bind(sockfd, (struct sockaddr *) &addr, sizeof(addr)) == -1) {\n" |
| 468 |
" perror(\"bind()\");\n" |
| 469 |
" exit(EXIT_FAILURE);\n" |
| 470 |
" }\n" |
| 471 |
"\\&\n" |
| 472 |
" memset(msgs, 0, sizeof(msgs));\n" |
| 473 |
" for (size_t i = 0; i E<lt> VLEN; i++) {\n" |
| 474 |
" iovecs[i].iov_base = bufs[i];\n" |
| 475 |
" iovecs[i].iov_len = BUFSIZE;\n" |
| 476 |
" msgs[i].msg_hdr.msg_iov = &iovecs[i];\n" |
| 477 |
" msgs[i].msg_hdr.msg_iovlen = 1;\n" |
| 478 |
" }\n" |
| 479 |
"\\&\n" |
| 480 |
" timeout.tv_sec = TIMEOUT;\n" |
| 481 |
" timeout.tv_nsec = 0;\n" |
| 482 |
"\\&\n" |
| 483 |
" retval = recvmmsg(sockfd, msgs, VLEN, 0, &timeout);\n" |
| 484 |
" if (retval == -1) {\n" |
| 485 |
" perror(\"recvmmsg()\");\n" |
| 486 |
" exit(EXIT_FAILURE);\n" |
| 487 |
" }\n" |
| 488 |
"\\&\n" |
| 489 |
" printf(\"%d messages received\\[rs]n\", retval);\n" |
| 490 |
" for (size_t i = 0; i E<lt> retval; i++) {\n" |
| 491 |
" bufs[i][msgs[i].msg_len] = 0;\n" |
| 492 |
" printf(\"%zu %s\", i+1, bufs[i]);\n" |
| 493 |
" }\n" |
| 494 |
" exit(EXIT_SUCCESS);\n" |
| 495 |
"}\n" |
| 496 |
msgstr "" |
| 497 |
"#define _GNU_SOURCE\n" |
| 498 |
"#include E<lt>arpa/inet.hE<gt>\n" |
| 499 |
"#include E<lt>netinet/in.hE<gt>\n" |
| 500 |
"#include E<lt>stdio.hE<gt>\n" |
| 501 |
"#include E<lt>stdlib.hE<gt>\n" |
| 502 |
"#include E<lt>string.hE<gt>\n" |
| 503 |
"#include E<lt>sys/socket.hE<gt>\n" |
| 504 |
"#include E<lt>time.hE<gt>\n" |
| 505 |
"\\&\n" |
| 506 |
"int\n" |
| 507 |
"main(void)\n" |
| 508 |
"{\n" |
| 509 |
"#define VLEN 10\n" |
| 510 |
"#define BUFSIZE 200\n" |
| 511 |
"#define TIMEOUT 1\n" |
| 512 |
" int sockfd, retval;\n" |
| 513 |
" char bufs[VLEN][BUFSIZE+1];\n" |
| 514 |
" struct iovec iovecs[VLEN];\n" |
| 515 |
" struct mmsghdr msgs[VLEN];\n" |
| 516 |
" struct timespec timeout;\n" |
| 517 |
" struct sockaddr_in addr;\n" |
| 518 |
"\\&\n" |
| 519 |
" sockfd = socket(AF_INET, SOCK_DGRAM, 0);\n" |
| 520 |
" if (sockfd == -1) {\n" |
| 521 |
" perror(\"socket()\");\n" |
| 522 |
" exit(EXIT_FAILURE);\n" |
| 523 |
" }\n" |
| 524 |
"\\&\n" |
| 525 |
" addr.sin_family = AF_INET;\n" |
| 526 |
" addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n" |
| 527 |
" addr.sin_port = htons(1234);\n" |
| 528 |
" if (bind(sockfd, (struct sockaddr *) &addr, sizeof(addr)) == -1) {\n" |
| 529 |
" perror(\"bind()\");\n" |
| 530 |
" exit(EXIT_FAILURE);\n" |
| 531 |
" }\n" |
| 532 |
"\\&\n" |
| 533 |
" memset(msgs, 0, sizeof(msgs));\n" |
| 534 |
" for (size_t i = 0; i E<lt> VLEN; i++) {\n" |
| 535 |
" iovecs[i].iov_base = bufs[i];\n" |
| 536 |
" iovecs[i].iov_len = BUFSIZE;\n" |
| 537 |
" msgs[i].msg_hdr.msg_iov = &iovecs[i];\n" |
| 538 |
" msgs[i].msg_hdr.msg_iovlen = 1;\n" |
| 539 |
" }\n" |
| 540 |
"\\&\n" |
| 541 |
" timeout.tv_sec = TIMEOUT;\n" |
| 542 |
" timeout.tv_nsec = 0;\n" |
| 543 |
"\\&\n" |
| 544 |
" retval = recvmmsg(sockfd, msgs, VLEN, 0, &timeout);\n" |
| 545 |
" if (retval == -1) {\n" |
| 546 |
" perror(\"recvmmsg()\");\n" |
| 547 |
" exit(EXIT_FAILURE);\n" |
| 548 |
" }\n" |
| 549 |
"\\&\n" |
| 550 |
" printf(\"%d messages received\\[rs]n\", retval);\n" |
| 551 |
" for (size_t i = 0; i E<lt> retval; i++) {\n" |
| 552 |
" bufs[i][msgs[i].msg_len] = 0;\n" |
| 553 |
" printf(\"%zu %s\", i+1, bufs[i]);\n" |
| 554 |
" }\n" |
| 555 |
" exit(EXIT_SUCCESS);\n" |
| 556 |
"}\n" |
| 557 |
|
| 558 |
#. SRC END |
| 559 |
#. type: SH |
| 560 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 561 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 562 |
#, no-wrap |
| 563 |
msgid "SEE ALSO" |
| 564 |
msgstr "انظر أيضًا" |
| 565 |
|
| 566 |
#. type: Plain text |
| 567 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 568 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 569 |
msgid "" |
| 570 |
"B<clock_gettime>(2), B<recvmsg>(2), B<sendmmsg>(2), B<sendmsg>(2), " |
| 571 |
"B<socket>(2), B<socket>(7)" |
| 572 |
msgstr "" |
| 573 |
"B<clock_gettime>(2), B<recvmsg>(2), B<sendmmsg>(2), B<sendmsg>(2), " |
| 574 |
"B<socket>(2), B<socket>(7)" |
| 575 |
|
| 576 |
#. type: TH |
| 577 |
#: debian-trixie |
| 578 |
#, no-wrap |
| 579 |
msgid "2024-06-15" |
| 580 |
msgstr "15 يونيو 2024" |
| 581 |
|
| 582 |
#. type: TH |
| 583 |
#: debian-trixie |
| 584 |
#, no-wrap |
| 585 |
msgid "Linux man-pages 6.9.1" |
| 586 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 587 |
|
| 588 |
#. type: Plain text |
| 589 |
#: debian-trixie |
| 590 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 591 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 592 |
|
| 593 |
#. type: Plain text |
| 594 |
#: debian-trixie |
| 595 |
#, no-wrap |
| 596 |
msgid "" |
| 597 |
"B<int recvmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n" |
| 598 |
"B< int >I<flags>B<, struct timespec *>I<timeout>B<);>\n" |
| 599 |
msgstr "" |
| 600 |
"B<int recvmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n" |
| 601 |
"B< int >I<flags>B<, struct timespec *>I<timeout>B<);>\n" |
| 602 |
|
| 603 |
#. type: Plain text |
| 604 |
#: debian-trixie |
| 605 |
msgid "" |
| 606 |
"The I<msgvec> argument is a pointer to an array of I<mmsghdr> structures. " |
| 607 |
"The size of this array is specified in I<vlen>." |
| 608 |
msgstr "" |
| 609 |
"المعامل I<msgvec> هو مؤشر لمصفوفة من هياكل I<mmsghdr>. حُدد حجم هذه المصفوفة " |
| 610 |
"في I<vlen>." |
| 611 |
|
| 612 |
#. type: Plain text |
| 613 |
#: debian-trixie |
| 614 |
msgid "" |
| 615 |
"A blocking B<recvmmsg>() call blocks until I<vlen> messages have been " |
| 616 |
"received or until the timeout expires. A nonblocking call reads as many " |
| 617 |
"messages as are available (up to the limit specified by I<vlen>) and " |
| 618 |
"returns immediately." |
| 619 |
msgstr "" |
| 620 |
"استدعاء B<recvmmsg>() المحظور يحظر حتى يتم استقبال I<vlen> رسالة أو حتى " |
| 621 |
"تنتهي المهلة. الاستدعاء غير المحظور يقرأ أكبر عدد ممكن من الرسائل المتاحة " |
| 622 |
"(حتى الحد المحدد بواسطة I<vlen>) ويعود فورًا." |
| 623 |
|
| 624 |
#. FIXME . https://bugzilla.kernel.org/show_bug.cgi?id=75371 |
| 625 |
#. http://thread.gmane.org/gmane.linux.man/5677 |
| 626 |
#. type: Plain text |
| 627 |
#: debian-trixie |
| 628 |
msgid "" |
| 629 |
"The I<timeout> argument does not work as intended. The timeout is checked " |
| 630 |
"only after the receipt of each datagram, so that if up to I<vlen-1> " |
| 631 |
"datagrams are received before the timeout expires, but then no further " |
| 632 |
"datagrams are received, the call will block forever." |
| 633 |
msgstr "" |
| 634 |
"الوسيط I<timeout> لا يعمل كما هو مقصود. يتم التحقق من المهلة فقط بعد استقبال " |
| 635 |
"كل مخطط بيانات، بحيث إذا تم استقبال ما يصل إلى I<vlen-1> مخطط بيانات قبل " |
| 636 |
"انتهاء المهلة، ولكن بعد ذلك لم يتم استقبال أي مخططات بيانات أخرى، فإن " |
| 637 |
"الاستدعاء سيحظر إلى الأبد." |
| 638 |
|
| 639 |
#. type: TH |
| 640 |
#: fedora-44 fedora-rawhide |
| 641 |
#, no-wrap |
| 642 |
msgid "2024-11-17" |
| 643 |
msgstr "17 نوفمبر 2024" |
| 644 |
|
| 645 |
#. type: TH |
| 646 |
#: fedora-44 fedora-rawhide |
| 647 |
#, no-wrap |
| 648 |
msgid "Linux man-pages 6.13" |
| 649 |
msgstr "صفحات دليل لينكس 6.13" |
| 650 |
|
| 651 |
#. type: Plain text |
| 652 |
#: fedora-44 fedora-rawhide |
| 653 |
#, no-wrap |
| 654 |
msgid "" |
| 655 |
"B<int recvmmsg(int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[.>I<n>B<], unsigned int >I<n>B<,>\n" |
| 656 |
"B< int >I<flags>B<, struct timespec *>I<timeout>B<);>\n" |
| 657 |
msgstr "" |
| 658 |
"B<int recvmmsg(int >I<sockfd>B<, struct mmsghdr >I<msgvec>B<[.>I<n>B<], unsigned int >I<n>B<,>\n" |
| 659 |
"B< int >I<flags>B<, struct timespec *>I<timeout>B<);>\n" |
| 660 |
|
| 661 |
#. type: TH |
| 662 |
#: mageia-cauldron |
| 663 |
#, no-wrap |
| 664 |
msgid "Linux man-pages 6.17" |
| 665 |
msgstr "صفحات دليل لينكس 6.17" |
| 666 |
|
| 667 |
#. type: TH |
| 668 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 669 |
#, no-wrap |
| 670 |
msgid "Linux man-pages (unreleased)" |
| 671 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |