Debian Codegraph @

po/ar/man2/recv.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:39+0200\n"
9 "PO-Revision-Date: 2026-05-18 18:12+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 "recv"
25 msgstr "recv"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2025-10-29"
32 msgstr "29 أكتوبر 2025"
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 "recv, recvfrom, recvmsg - receive a message from a socket"
51 msgstr "recv، recvfrom، recvmsg - استلام رسالة من مقبس"
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/socket.hE<gt>>\n"
78 msgstr "B<#include E<lt>sys/socket.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 recv(>size_t size;\n"
86 "B< int >I<sockfd>B<, void >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
87 "B< int >I<flags>B<);>\n"
88 "B<ssize_t recvfrom(>size_t size;\n"
89 "B< int >I<sockfd>B<, void >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
90 "B< int >I<flags>B<,>\n"
91 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
92 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
93 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
94 msgstr ""
95 "B<ssize_t recv(>size_t size;\n"
96 "B< int >I<sockfd>B<, void >I<buf>B<[>I<size>B<], size_t >I<size>B<,>\n"
97 "B< int >I<flags>B<);>\n"
98 "B<ssize_t recvfrom(>size_t size;\n"
99 "B< int >I<sockfd>B<, void >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n"
100 "B< int >I<flags>B<,>\n"
101 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
102 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
103 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
104
105 #. type: SH
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid "DESCRIPTION"
110 msgstr "الوصف"
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "The B<recv>(), B<recvfrom>(), and B<recvmsg>() calls are used to receive "
117 "messages from a socket. They may be used to receive data on both "
118 "connectionless and connection-oriented sockets. This page first describes "
119 "common features of all three system calls, and then describes the "
120 "differences between the calls."
121 msgstr ""
122 "استدعاءات B<recv>() و B<recvfrom>() و B<recvmsg>() تُستخدم لاستقبال رسائل من "
123 "مقبس. يمكن استخدامها لاستقبال بيانات على كل من المقابس غير المتصلة والموجهة "
124 "نحو الاتصال. تصف هذه الصفحة أولاً الميزات المشتركة لجميع استدعاءات النظام "
125 "الثلاثة، ثم تصف الاختلافات بين الاستدعاءات."
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid ""
131 "The only difference between B<recv>() and B<read>(2) is the presence of "
132 "I<flags>. With a zero I<flags> argument, B<recv>() is generally equivalent "
133 "to B<read>(2) (but see NOTES). Also, the following call"
134 msgstr ""
135 "الفرق الوحيد بين B<recv>() و B<read>(2) هو وجود I<flags>. مع وسيطة I<flags> "
136 "صفرية، يكون B<recv>() مكافئًا بشكل عام لـ B<read>(2) (لكن انظر الملاحظات). "
137 "أيضًا، الاستدعاء التالي"
138
139 #. type: Plain text
140 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
141 #: opensuse-leap-16-1 opensuse-tumbleweed
142 #, no-wrap
143 msgid "recv(sockfd, buf, size, flags);\n"
144 msgstr "recv(sockfd, buf, size, flags);\n"
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid "is equivalent to"
150 msgstr "يكافئ"
151
152 #. type: Plain text
153 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
154 #: opensuse-leap-16-1 opensuse-tumbleweed
155 #, no-wrap
156 msgid "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n"
157 msgstr "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n"
158
159 #. type: Plain text
160 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
161 #: opensuse-leap-16-1 opensuse-tumbleweed
162 msgid ""
163 "All three calls return the size of the message on successful completion. If "
164 "a message is too long to fit in the supplied buffer, excess bytes may be "
165 "discarded depending on the type of socket the message is received from."
166 msgstr ""
167 "تعيد جميع الاستدعاءات الثلاثة حجم الرسالة عند الإكمال بنجاح. إذا كانت "
168 "الرسالة طويلة جدًا بحيث لا تتسع في المخزن المؤقت المقدم، فقد يتم تجاهل "
169 "البايتات الزائدة اعتمادًا على نوع المقبس الذي تُستقبل منه الرسالة."
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 "If no messages are available at the socket, the receive calls wait for a "
176 "message to arrive, unless the socket is nonblocking (see B<fcntl>(2)), in "
177 "which case the value -1 is returned and I<errno> is set to B<EAGAIN> or "
178 "B<EWOULDBLOCK>. The receive calls normally return any data available, up to "
179 "the requested amount, rather than waiting for receipt of the full amount "
180 "requested."
181 msgstr ""
182 "إذا لم تكن هناك رسائل متاحة في المقبس، تنتظر استدعاءات الاستقبال وصول رسالة، "
183 "ما لم يكن المقبس غير محظور (انظر B<fcntl>(2))، وفي هذه الحالة تُعاد القيمة -1 "
184 "ويُضبط I<errno> على B<EAGAIN> أو B<EWOULDBLOCK>. تعيد استدعاءات الاستقبال "
185 "عادةً أي بيانات متاحة، حتى المقدار المطلوب، بدلاً من انتظار استلام المقدار "
186 "الكامل المطلوب."
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 ""
192 "An application can use B<select>(2), B<poll>(2), or B<epoll>(7) to "
193 "determine when more data arrives on a socket."
194 msgstr ""
195 "يمكن للتطبيق استخدام B<select>(2) أو B<poll>(2) أو B<epoll>(7) لتحديد موعد "
196 "وصول المزيد من البيانات على مقبس."
197
198 #. type: SS
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "The flags argument"
203 msgstr "معامل العلامات (flags)"
204
205 #. type: Plain text
206 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
207 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
208 msgid ""
209 "The I<flags> argument is formed by ORing one or more of the following values:"
210 msgstr ""
211 "تُشكل وسيطة I<flags> عن طريق إجراء عملية OR على قيمة واحدة أو أكثر من القيم "
212 "التالية:"
213
214 #. type: TP
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "B<MSG_CMSG_CLOEXEC> (B<recvmsg>() only; since Linux 2.6.23)"
219 msgstr "B<MSG_CMSG_CLOEXEC> (B<recvmsg>() فقط؛ منذ Linux 2.6.23)"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "Set the close-on-exec flag for the file descriptor received via a UNIX "
226 "domain file descriptor using the B<SCM_RIGHTS> operation (described in "
227 "B<unix>(7)). This flag is useful for the same reasons as the B<O_CLOEXEC> "
228 "flag of B<open>(2)."
229 msgstr ""
230 "يضبط علم الإغلاق عند التنفيذ لواصف الملف المستلم عبر واصف ملف نطاق UNIX "
231 "باستخدام عملية B<SCM_RIGHTS> (الموصوفة في B<unix>(7)). هذا العلم مفيد لنفس "
232 "أسباب علم B<O_CLOEXEC> الخاص بـ B<open>(2)."
233
234 #. type: TP
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 #, no-wrap
238 msgid "B<MSG_DONTWAIT> (since Linux 2.2)"
239 msgstr "B<MSG_DONTWAIT> (منذ لينكس 2.2)"
240
241 #. type: Plain text
242 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
243 #: opensuse-tumbleweed
244 msgid ""
245 "Enables nonblocking operation; if the operation would block, the call fails "
246 "with B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior to setting "
247 "the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> operation), but "
248 "differs in that B<MSG_DONTWAIT> is a per-call option, whereas B<O_NONBLOCK> "
249 "is a setting on the open file description (see B<open>(2)), which will "
250 "affect all threads in the calling process as well as other processes that "
251 "hold file descriptors referring to the same open file description."
252 msgstr ""
253 "يمكّن التشغيل غير المحظور؛ إذا كانت العملية ستحظر، يفشل الاستدعاء مع "
254 "B<EAGAIN> أو B<EWOULDBLOCK>. يوفر هذا سلوكًا مشابهًا لضبط علم B<O_NONBLOCK> "
255 "(عبر عملية B<fcntl>(2) B<F_SETFL>)، لكنه يختلف في أن B<MSG_DONTWAIT> هو خيار "
256 "لكل استدعاء، بينما B<O_NONBLOCK> هو إعداد على وصف الملف المفتوح (انظر "
257 "B<open>(2))، والذي سيؤثر على جميع سلاسل التنفيذ في العملية المستدعية وكذلك "
258 "العمليات الأخرى التي تحمل واصفات ملفات تشير إلى نفس وصف الملف المفتوح."
259
260 #. type: TP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "B<MSG_ERRQUEUE> (since Linux 2.2)"
265 msgstr "B<MSG_ERRQUEUE> (منذ Linux 2.2)"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "This flag specifies that queued errors should be received from the socket "
272 "error queue. The error is passed in an ancillary message with a type "
273 "dependent on the protocol (for IPv4 B<IP_RECVERR>). The user should supply "
274 "a buffer of sufficient size. See B<cmsg>(3) and B<ip>(7) for more "
275 "information. The payload of the original packet that caused the error is "
276 "passed as normal data via I<msg_iovec>. The original destination address of "
277 "the datagram that caused the error is supplied via I<msg_name>."
278 msgstr ""
279 "يحدد هذا العلم أنه يجب استقبال الأخطاء المُصطفة من قائمة انتظار أخطاء المقبس. "
280 "يُمرر الخطأ في رسالة مساعدة بنوع يعتمد على البروتوكول (لـ IPv4 "
281 "B<IP_RECVERR>). يجب على المستخدم توفير مخزن مؤقت بحجم كافٍ. انظر B<cmsg>(3) و "
282 "B<ip>(7) لمزيد من المعلومات. يُمرر حمولة الحزمة الأصلية التي تسببت في الخطأ "
283 "كبيانات عادية عبر I<msg_iovec>. يُمرر عنوان الوجهة الأصلي للرزمة التي تسببت "
284 "في الخطأ عبر I<msg_name>."
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid "The error is supplied in a I<sock_extended_err> structure:"
290 msgstr "يُقدم الخطأ في بنية I<sock_extended_err>:"
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 #, no-wrap
296 msgid ""
297 "#define SO_EE_ORIGIN_NONE 0\n"
298 "#define SO_EE_ORIGIN_LOCAL 1\n"
299 "#define SO_EE_ORIGIN_ICMP 2\n"
300 "#define SO_EE_ORIGIN_ICMP6 3\n"
301 "\\&\n"
302 "struct sock_extended_err\n"
303 "{\n"
304 " uint32_t ee_errno; /* Error number */\n"
305 " uint8_t ee_origin; /* Where the error originated */\n"
306 " uint8_t ee_type; /* Type */\n"
307 " uint8_t ee_code; /* Code */\n"
308 " uint8_t ee_pad; /* Padding */\n"
309 " uint32_t ee_info; /* Additional information */\n"
310 " uint32_t ee_data; /* Other data */\n"
311 " /* More data may follow */\n"
312 "};\n"
313 "\\&\n"
314 "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n"
315 msgstr ""
316 "#define SO_EE_ORIGIN_NONE 0\n"
317 "#define SO_EE_ORIGIN_LOCAL 1\n"
318 "#define SO_EE_ORIGIN_ICMP 2\n"
319 "#define SO_EE_ORIGIN_ICMP6 3\n"
320 "\\&\n"
321 "struct sock_extended_err\n"
322 "{\n"
323 " uint32_t ee_errno; /* Error number */\n"
324 " uint8_t ee_origin; /* Where the error originated */\n"
325 " uint8_t ee_type; /* Type */\n"
326 " uint8_t ee_code; /* Code */\n"
327 " uint8_t ee_pad; /* Padding */\n"
328 " uint32_t ee_info; /* Additional information */\n"
329 " uint32_t ee_data; /* Other data */\n"
330 " /* More data may follow */\n"
331 "};\n"
332 "\\&\n"
333 "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n"
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid ""
339 "I<ee_errno> contains the I<errno> number of the queued error. I<ee_origin> "
340 "is the origin code of where the error originated. The other fields are "
341 "protocol-specific. The macro B<SO_EE_OFFENDER> returns a pointer to the "
342 "address of the network object where the error originated from given a "
343 "pointer to the ancillary message. If this address is not known, the "
344 "I<sa_family> member of the I<sockaddr> contains B<AF_UNSPEC> and the other "
345 "fields of the I<sockaddr> are undefined. The payload of the packet that "
346 "caused the error is passed as normal data."
347 msgstr ""
348 "يحتوي I<ee_errno> على رقم I<errno> للخطأ المُصطف. I<ee_origin> هو رمز الأصل "
349 "لمكان نشأة الخطأ. الحقول الأخرى خاصة بالبروتوكول. تعيد الماكرو "
350 "B<SO_EE_OFFENDER> مؤشرًا إلى عنوان كائن الشبكة حيث نشأ الخطأ، معطى مؤشرًا إلى "
351 "الرسالة المساعدة. إذا كان هذا العنوان غير معروف، يحتوي عضو I<sa_family> من "
352 "I<sockaddr> على B<AF_UNSPEC> والحقول الأخرى من I<sockaddr> غير معرفة. يُمرر "
353 "حمولة الحزمة التي تسببت في الخطأ كبيانات عادية."
354
355 #. type: Plain text
356 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
357 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
358 msgid ""
359 "For local errors, no address is passed (this can be checked with the "
360 "I<cmsg_len> member of the I<cmsghdr>). For error receives, the "
361 "B<MSG_ERRQUEUE> flag is set in the I<msghdr>. After an error has been "
362 "passed, the pending socket error is regenerated based on the next queued "
363 "error and will be passed on the next socket operation."
364 msgstr ""
365 "بالنسبة للأخطاء المحلية، لا يُمرر أي عنوان (يمكن التحقق من ذلك باستخدام عضو "
366 "I<cmsg_len> من I<cmsghdr>). لاستقبالات الأخطاء، يُضبط علم B<MSG_ERRQUEUE> في "
367 "I<msghdr>. بعد تمرير خطأ، يُعاد توليد خطأ المقبس المعلق بناءً على الخطأ المُصطف "
368 "التالي وسيُمرر في عملية المقبس التالية."
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<MSG_OOB>"
375 msgstr "B<MSG_OOB>"
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 "This flag requests receipt of out-of-band data that would not be received in "
382 "the normal data stream. Some protocols place expedited data at the head of "
383 "the normal data queue, and thus this flag cannot be used with such protocols."
384 msgstr ""
385 "يطلب هذا العلم استقبال بيانات خارج النطاق التي لن تُستقبل في تيار البيانات "
386 "العادي. تضع بعض البروتوكولات البيانات المعجلة في رأس قائمة انتظار البيانات "
387 "العادية، وبالتالي لا يمكن استخدام هذا العلم مع هذه البروتوكولات."
388
389 #. type: TP
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "B<MSG_PEEK>"
394 msgstr "B<MSG_PEEK>"
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid ""
400 "This flag causes the receive operation to return data from the beginning of "
401 "the receive queue without removing that data from the queue. Thus, a "
402 "subsequent receive call will return the same data."
403 msgstr ""
404 "يتسبب هذا العلم في إعادة عملية الاستقبال للبيانات من بداية قائمة انتظار "
405 "الاستقبال دون إزالة تلك البيانات من القائمة. وبالتالي، سيعيد استدعاء استقبال "
406 "لاحق نفس البيانات."
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "B<MSG_TRUNC> (since Linux 2.2)"
413 msgstr "B<MSG_TRUNC> (منذ Linux 2.2)"
414
415 #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f
416 #. type: Plain text
417 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
418 #: opensuse-leap-16-1 opensuse-tumbleweed
419 msgid ""
420 "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
421 "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet "
422 "(since Linux 3.4) sockets: return the real size of the packet or datagram, "
423 "even when it was longer than the passed buffer."
424 msgstr ""
425 "للمقابس الخام (B<AF_PACKET>)، ورزم الإنترنت (منذ Linux 2.4.27/2.6.8)، "
426 "وnetlink (منذ Linux 2.6.22)، ورزم UNIX وكذلك الحزم المتسلسلة (منذ Linux "
427 "3.4): إعادة الحجم الحقيقي للحزمة أو الرزمة، حتى عندما كانت أطول من المخزن "
428 "المؤقت الممرر."
429
430 #. type: Plain text
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 msgid "For use with Internet stream sockets, see B<tcp>(7)."
434 msgstr "للاستخدام مع مقابس تيار الإنترنت، انظر B<tcp>(7)."
435
436 #. type: TP
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "B<MSG_WAITALL> (since Linux 2.2)"
441 msgstr "B<MSG_WAITALL> (منذ Linux 2.2)"
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid ""
447 "This flag requests that the operation block until the full request is "
448 "satisfied. However, the call may still return less data than requested if a "
449 "signal is caught, an error or disconnect occurs, or the next data to be "
450 "received is of a different type than that returned. This flag has no effect "
451 "for datagram sockets."
452 msgstr ""
453 "يطلب هذا العلم أن تحظر العملية حتى يتم تلبية الطلب بالكامل. ومع ذلك، قد لا "
454 "يزال الاستدعاء يعيد بيانات أقل من المطلوب إذا تم التقاط إشارة، أو حدث خطأ أو "
455 "قطع اتصال، أو كانت البيانات التالية المراد استقبالها من نوع مختلف عن تلك "
456 "المُعادة. ليس لهذا العلم أي تأثير على مقابس الرزم."
457
458 #. type: SS
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "recvfrom()"
463 msgstr "recvfrom()"
464
465 #. type: Plain text
466 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
467 #: opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "B<recvfrom>() places the received message into the buffer I<buf>. The "
470 "caller must specify the size of the buffer in I<size>."
471 msgstr ""
472 "يضع B<recvfrom>() الرسالة المستلمة في المخزن المؤقت I<buf>. يجب على المستدعي "
473 "تحديد حجم المخزن المؤقت في I<size>."
474
475 #. #-#-#-#-# archlinux: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
476 #. (Note: for datagram sockets in both the UNIX and Internet domains,
477 #. .I src_addr
478 #. is filled in.
479 #. .I src_addr
480 #. is also filled in for stream sockets in the UNIX domain, but is not
481 #. filled in for stream sockets in the Internet domain.)
482 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
483 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
484 #. type: Plain text
485 #. #-#-#-#-# debian-trixie: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
486 #. (Note: for datagram sockets in both the UNIX and Internet domains,
487 #. .I src_addr
488 #. is filled in.
489 #. .I src_addr
490 #. is also filled in for stream sockets in the UNIX domain, but is not
491 #. filled in for stream sockets in the Internet domain.)
492 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
493 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
494 #. type: Plain text
495 #. #-#-#-#-# debian-unstable: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
496 #. (Note: for datagram sockets in both the UNIX and Internet domains,
497 #. .I src_addr
498 #. is filled in.
499 #. .I src_addr
500 #. is also filled in for stream sockets in the UNIX domain, but is not
501 #. filled in for stream sockets in the Internet domain.)
502 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
503 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
504 #. type: Plain text
505 #. #-#-#-#-# fedora-44: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
506 #. (Note: for datagram sockets in both the UNIX and Internet domains,
507 #. .I src_addr
508 #. is filled in.
509 #. .I src_addr
510 #. is also filled in for stream sockets in the UNIX domain, but is not
511 #. filled in for stream sockets in the Internet domain.)
512 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
513 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
514 #. type: Plain text
515 #. #-#-#-#-# fedora-rawhide: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
516 #. (Note: for datagram sockets in both the UNIX and Internet domains,
517 #. .I src_addr
518 #. is filled in.
519 #. .I src_addr
520 #. is also filled in for stream sockets in the UNIX domain, but is not
521 #. filled in for stream sockets in the Internet domain.)
522 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
523 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
524 #. type: Plain text
525 #. #-#-#-#-# mageia-cauldron: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
526 #. (Note: for datagram sockets in both the UNIX and Internet domains,
527 #. .I src_addr
528 #. is filled in.
529 #. .I src_addr
530 #. is also filled in for stream sockets in the UNIX domain, but is not
531 #. filled in for stream sockets in the Internet domain.)
532 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
533 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
534 #. type: Plain text
535 #. #-#-#-#-# opensuse-leap-16-1: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
536 #. (Note: for datagram sockets in both the UNIX and Internet domains,
537 #. .I src_addr
538 #. is filled in.
539 #. .I src_addr
540 #. is also filled in for stream sockets in the UNIX domain, but is not
541 #. filled in for stream sockets in the Internet domain.)
542 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
543 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
544 #. type: Plain text
545 #. #-#-#-#-# opensuse-tumbleweed: recv.2.pot (PACKAGE VERSION) #-#-#-#-#
546 #. (Note: for datagram sockets in both the UNIX and Internet domains,
547 #. .I src_addr
548 #. is filled in.
549 #. .I src_addr
550 #. is also filled in for stream sockets in the UNIX domain, but is not
551 #. filled in for stream sockets in the Internet domain.)
552 #. [The above notes on AF_UNIX and AF_INET sockets apply as at
553 #. Kernel 2.4.18. (MTK, 22 Jul 02)]
554 #. type: Plain text
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 msgid ""
558 "If I<src_addr> is not NULL, and the underlying protocol provides the source "
559 "address of the message, that source address is placed in the buffer pointed "
560 "to by I<src_addr>. In this case, I<addrlen> is a value-result argument. "
561 "Before the call, it should be initialized to the size of the buffer "
562 "associated with I<src_addr>. Upon return, I<addrlen> is updated to contain "
563 "the actual size of the source address. The returned address is truncated if "
564 "the buffer provided is too small; in this case, I<addrlen> will return a "
565 "value greater than was supplied to the call."
566 msgstr ""
567 "إذا كانت I<src_addr> غير NULL، وكان البروتوكول الأساسي يوفر عنوان مصدر "
568 "الرسالة، يتم وضع عنوان المصدر هذا في المخزن المؤقت الذي تشير إليه "
569 "I<src_addr>. في هذه الحالة، تكون I<addrlen> معلمة قيمة-نتيجة. قبل "
570 "الاستدعاء، يجب تهيئتها بحجم المخزن المؤقت المرتبط بـ I<src_addr>. عند "
571 "العودة، يحدّث I<addrlen> ليحتوي على الحجم الفعلي لعنوان المصدر. ًيُقتطع العنوان "
572 "المُرجع إذا كان المخزن المؤقت المُقدّم صغيرًا جدًّا؛ وفي هذه الحالة، سيعيد "
573 "I<addrlen> قيمة أكبر من تلك التي تم تزويدها للاستدعاء."
574
575 #. type: Plain text
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 msgid ""
579 "If the caller is not interested in the source address, I<src_addr> and "
580 "I<addrlen> should be specified as NULL."
581 msgstr ""
582 "إذا لم يكن المستدعي مهتمًا بعنوان المصدر، فيجب تحديد I<src_addr> و I<addrlen> "
583 "كقيمة NULL."
584
585 #. type: SS
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 #, no-wrap
589 msgid "recv()"
590 msgstr "recv()"
591
592 #. type: Plain text
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 msgid ""
596 "The B<recv>() call is normally used only on a I<connected> socket (see "
597 "B<connect>(2)). It is equivalent to the call:"
598 msgstr ""
599 "عادةً ما يُستخدم استدعاء B<recv>() فقط على مقبس I<موصل> (انظر B<connect>(2)). "
600 "وهو مكافئ للاستدعاء:"
601
602 #. type: Plain text
603 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
604 #: opensuse-tumbleweed
605 #, no-wrap
606 msgid "recvfrom(fd, buf, size, flags, NULL, NULL);\n"
607 msgstr "recvfrom(fd, buf, size, flags, NULL, NULL);\n"
608
609 #. type: SS
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
612 #, no-wrap
613 msgid "recvmsg()"
614 msgstr "recvmsg()"
615
616 #. type: Plain text
617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
618 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
619 msgid ""
620 "The B<recvmsg>() call uses a I<msghdr> structure to minimize the number of "
621 "directly supplied arguments. This structure is defined as follows in "
622 "I<E<lt>sys/socket.hE<gt>>:"
623 msgstr ""
624 "يستخدم استدعاء B<recvmsg>() بنية I<msghdr> لتقليل عدد الوسائط المقدمة "
625 "مباشرة. تُعرف هذه البنية كما يلي في I<E<lt>sys/socket.hE<gt>>:"
626
627 #. type: Plain text
628 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
629 #: opensuse-leap-16-1 opensuse-tumbleweed
630 #, no-wrap
631 msgid ""
632 "struct msghdr {\n"
633 " void *msg_name; /* Optional address */\n"
634 " socklen_t msg_namelen; /* Size of address */\n"
635 " struct iovec *msg_iov; /* Scatter/gather array */\n"
636 " size_t msg_iovlen; /* # elements in msg_iov */\n"
637 " void *msg_control; /* Ancillary data, see below */\n"
638 " size_t msg_controllen; /* Ancillary data buffer size */\n"
639 " int msg_flags; /* Flags on received message */\n"
640 "};\n"
641 msgstr ""
642 "struct msghdr {\n"
643 " void *msg_name; /* عنوان اختياري */\n"
644 " socklen_t msg_namelen; /* حجم العنوان */\n"
645 " struct iovec *msg_iov; /* مصفوفة توزيع/تجميع */\n"
646 " size_t msg_iovlen; /* عدد العناصر في msg_iov */\n"
647 " void *msg_control; /* بيانات مساعدة، انظر أدناه */\n"
648 " size_t msg_controllen; /* حجم مخزن البيانات المساعدة */\n"
649 " int msg_flags; /* أعلام على الرسالة المستلمة */\n"
650 "};\n"
651
652 #. type: Plain text
653 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
654 #: opensuse-leap-16-1 opensuse-tumbleweed
655 msgid ""
656 "The I<msg_name> field points to a caller-allocated buffer that is used to "
657 "return the source address if the socket is unconnected. The caller should "
658 "set I<msg_namelen> to the size of this buffer before this call; upon return "
659 "from a successful call, I<msg_namelen> will contain the size of the returned "
660 "address. If the application does not need to know the source address, "
661 "I<msg_name> can be specified as NULL."
662 msgstr ""
663 "يشير حقل I<msg_name> إلى مخزن مخصص من قبل المستدعي يُستخدم لإرجاع عنوان "
664 "المصدر إذا كان المقبس غير موصل. يجب على المستدعي تعيين I<msg_namelen> إلى "
665 "حجم هذا المخزن قبل هذا الاستدعاء؛ عند العودة من استدعاء ناجح، سيحتوي "
666 "I<msg_namelen> على حجم العنوان المُعاد. إذا لم يكن التطبيق بحاجة لمعرفة عنوان "
667 "المصدر، يمكن تحديد I<msg_name> كقيمة NULL."
668
669 #. type: Plain text
670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
672 msgid ""
673 "The fields I<msg_iov> and I<msg_iovlen> describe scatter-gather locations, "
674 "as discussed in B<readv>(2)."
675 msgstr ""
676 "تصف الحقول I<msg_iov> و I<msg_iovlen> مواقع التوزيع والتجميع، كما نوقش في "
677 "B<readv>(2)."
678
679 #. type: Plain text
680 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
681 #: opensuse-leap-16-1 opensuse-tumbleweed
682 msgid ""
683 "The field I<msg_control>, which has size I<msg_controllen>, points to a "
684 "buffer for other protocol control-related messages or miscellaneous "
685 "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should "
686 "contain the size of the available buffer in I<msg_control>; upon return from "
687 "a successful call it will contain the size of the control message sequence."
688 msgstr ""
689 "يشير حقل I<msg_control>، الذي له حجم I<msg_controllen>، إلى مخزن للرسائل "
690 "الأخرى المتعلقة بالتحكم في البروتوكول أو البيانات المساعدة المتنوعة. عند "
691 "استدعاء B<recvmsg>()، يجب أن يحتوي I<msg_controllen> على حجم المخزن المتاح "
692 "في I<msg_control>؛ عند العودة من استدعاء ناجح، سيحتوي على حجم تسلسل رسائل "
693 "التحكم."
694
695 #. type: Plain text
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
698 msgid "The messages are of the form:"
699 msgstr "الرسائل تكون بالشكل:"
700
701 #. type: Plain text
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 #, no-wrap
705 msgid ""
706 "struct cmsghdr {\n"
707 " size_t cmsg_len; /* Data byte count, including header\n"
708 " (type is socklen_t in POSIX) */\n"
709 " int cmsg_level; /* Originating protocol */\n"
710 " int cmsg_type; /* Protocol-specific type */\n"
711 "/* followed by\n"
712 " unsigned char cmsg_data[]; */\n"
713 "};\n"
714 msgstr ""
715 "struct cmsghdr {\n"
716 " size_t cmsg_len; /* عدد بايتات البيانات، بما في ذلك الرأس\n"
717 " (النوع هو socklen_t في POSIX) */\n"
718 " int cmsg_level; /* البروتوكول المصدر */\n"
719 " int cmsg_type; /* نوع خاص بالبروتوكول */\n"
720 "/* يتبعه\n"
721 " unsigned char cmsg_data[]; */\n"
722 "};\n"
723
724 #. type: Plain text
725 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
726 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
727 msgid ""
728 "Ancillary data should be accessed only by the macros defined in B<cmsg>(3)."
729 msgstr ""
730 "يجب الوصول إلى البيانات المساعدة فقط من خلال وحدات الماكرو المعرفة في "
731 "B<cmsg>(3)."
732
733 #. type: Plain text
734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
736 msgid ""
737 "As an example, Linux uses this ancillary data mechanism to pass extended "
738 "errors, IP options, or file descriptors over UNIX domain sockets. For "
739 "further information on the use of ancillary data in various socket domains, "
740 "see B<unix>(7) and B<ip>(7)."
741 msgstr ""
742 "كمثال، تستخدم لينكس آلية البيانات المساعدة هذه لتمرير الأخطاء الموسعة، "
743 "خيارات IP، أو واصفات الملفات عبر مقابس نطاق UNIX. لمزيد من المعلومات حول "
744 "استخدام البيانات المساعدة في نطاقات المقابس المختلفة، انظر B<unix>(7) و "
745 "B<ip>(7)."
746
747 #. type: Plain text
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 msgid ""
751 "The I<msg_flags> field in the I<msghdr> is set on return of B<recvmsg>(). "
752 "It can contain several flags:"
753 msgstr ""
754 "يتم تعيين حقل I<msg_flags> في I<msghdr> عند عودة B<recvmsg>(). يمكن أن يحتوي "
755 "على عدة أعلام:"
756
757 #. type: TP
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 #, no-wrap
761 msgid "B<MSG_EOR>"
762 msgstr "B<MSG_EOR>"
763
764 #. type: Plain text
765 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
766 #: opensuse-tumbleweed
767 msgid ""
768 "indicates end-of-record; the data returned completed a record (generally, "
769 "used with sockets of type B<SOCK_SEQPACKET>)."
770 msgstr ""
771 "يشير إلى نهاية السجل؛ البيانات المُعادة أكملت سجلًا (بشكل عام، يُستخدم مع مقابس "
772 "من نوع B<SOCK_SEQPACKET>)."
773
774 #. type: TP
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 #, no-wrap
778 msgid "B<MSG_TRUNC>"
779 msgstr "B<MSG_TRUNC>"
780
781 #. type: Plain text
782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
783 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
784 msgid ""
785 "indicates that the trailing portion of a datagram was discarded because the "
786 "datagram was larger than the buffer supplied."
787 msgstr ""
788 "يشير إلى أن الجزء الخلفي من مخطط البيانات تم تجاهله لأن مخطط البيانات كان "
789 "أكبر من المخزن المقدم."
790
791 #. type: TP
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 #, no-wrap
795 msgid "B<MSG_CTRUNC>"
796 msgstr "B<MSG_CTRUNC>"
797
798 #. type: Plain text
799 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
800 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
801 msgid ""
802 "indicates that some control data was discarded due to lack of space in the "
803 "buffer for ancillary data."
804 msgstr ""
805 "يشير إلى أن بعض بيانات التحكم تم تجاهلها بسبب نقص المساحة في المخزن للبيانات "
806 "المساعدة."
807
808 #. type: Plain text
809 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
810 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
811 msgid ""
812 "is returned to indicate that expedited or out-of-band data was received."
813 msgstr "يُعاد للإشارة إلى أن بيانات عاجلة أو خارج النطاق تم استلامها."
814
815 #. type: TP
816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
818 #, no-wrap
819 msgid "B<MSG_ERRQUEUE>"
820 msgstr "B<MSG_ERRQUEUE>"
821
822 #. type: Plain text
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 msgid ""
826 "indicates that no data was received but an extended error from the socket "
827 "error queue."
828 msgstr ""
829 "يشير إلى أنه لم يتم استلام أي بيانات ولكن خطأ موسع من قائمة أخطاء المقبس."
830
831 #. type: TP
832 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
833 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
834 #, no-wrap
835 msgid "B<MSG_CMSG_CLOEXEC> (since Linux 2.6.23)"
836 msgstr "B<MSG_CMSG_CLOEXEC> (منذ لينكس 2.6.23)"
837
838 #. commit 4a19542e5f694cd408a32c3d9dc593ba9366e2d7
839 #. type: Plain text
840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
842 msgid ""
843 "indicates that B<MSG_CMSG_CLOEXEC> was specified in the I<flags> argument of "
844 "B<recvmsg>()."
845 msgstr ""
846 "يشير إلى أن B<MSG_CMSG_CLOEXEC> تم تحديده في وسيطة I<flags> لـ B<recvmsg>()."
847
848 #. type: SH
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 #, no-wrap
852 msgid "RETURN VALUE"
853 msgstr "قيمة الإرجاع"
854
855 #. type: Plain text
856 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
857 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
858 msgid ""
859 "These calls return the number of bytes received, or -1 if an error "
860 "occurred. In the event of an error, I<errno> is set to indicate the error."
861 msgstr ""
862 "تُعيد هذه الاستدعاءات عدد البايتات المستلمة، أو -1 إذا حدث خطأ. في حالة حدوث "
863 "خطأ، يتم تعيين I<errno> للإشارة إلى الخطأ."
864
865 #. type: Plain text
866 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
867 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
868 msgid ""
869 "When a stream socket peer has performed an orderly shutdown, the return "
870 "value will be 0 (the traditional \"end-of-file\" return)."
871 msgstr ""
872 "عندما يقوم نظير مقبس التدفق بإغلاق منظم، ستكون القيمة المُعادة 0 (الإرجاع "
873 "التقليدي \"نهاية الملف\")."
874
875 #. type: Plain text
876 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
877 #: opensuse-leap-16-1 opensuse-tumbleweed
878 msgid ""
879 "Datagram sockets in various domains (e.g., the UNIX and Internet domains) "
880 "permit zero-size datagrams. When such a datagram is received, the return "
881 "value is 0."
882 msgstr ""
883 "تسمح مقابس مخططات البيانات في نطاقات مختلفة (مثل نطاقات UNIX والإنترنت) "
884 "بمخططات بيانات بحجم صفر. عند استلام مثل هذا المخطط، تكون القيمة المُعادة 0."
885
886 #. type: Plain text
887 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
888 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
889 msgid ""
890 "The value 0 may also be returned if the requested number of bytes to receive "
891 "from a stream socket was 0."
892 msgstr ""
893 "قد تُعاد القيمة 0 أيضًا إذا كان عدد البايتات المطلوب استلامها من مقبس تدفق هو "
894 "0."
895
896 #. type: SH
897 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
898 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
899 #, no-wrap
900 msgid "ERRORS"
901 msgstr "الأخطاء"
902
903 #. type: Plain text
904 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
905 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
906 msgid ""
907 "These are some standard errors generated by the socket layer. Additional "
908 "errors may be generated and returned from the underlying protocol modules; "
909 "see their manual pages."
910 msgstr ""
911 "هذه بعض الأخطاء القياسية التي تولدها طبقة المقبس. قد تُولد أخطاء إضافية وتُعاد "
912 "من وحدات البروتوكول الأساسية؛ راجع صفحات دليلها."
913
914 #. type: TP
915 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
916 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
917 #, no-wrap
918 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
919 msgstr "B<EAGAIN> أو B<EWOULDBLOCK>"
920
921 #. Actually EAGAIN on Linux
922 #. type: Plain text
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 msgid ""
926 "The socket is marked nonblocking and the receive operation would block, or a "
927 "receive timeout had been set and the timeout expired before data was "
928 "received. POSIX.1 allows either error to be returned for this case, and "
929 "does not require these constants to have the same value, so a portable "
930 "application should check for both possibilities."
931 msgstr ""
932 "المقبس مُعلّم كغير محظور وعملية الاستقبال ستحظر، أو ضُبط مهلة استقبال وانتهت "
933 "المهلة قبل استلام البيانات. يسمح POSIX.1 بإرجاع أي من الخطأين لهذه الحالة، "
934 "ولا يتطلب أن تكون هذه الثوابت بنفس القيمة، لذا يجب على التطبيق المحمول "
935 "التحقق من كلا الاحتمالين."
936
937 #. type: TP
938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
939 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
940 #, no-wrap
941 msgid "B<EBADF>"
942 msgstr "B<EBADF>"
943
944 #. type: Plain text
945 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
946 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
947 msgid "The argument I<sockfd> is an invalid file descriptor."
948 msgstr "الوسيطة I<sockfd> هي واصف ملف غير صالح."
949
950 #. type: TP
951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
953 #, no-wrap
954 msgid "B<ECONNREFUSED>"
955 msgstr "B<ECONNREFUSED>"
956
957 #. type: Plain text
958 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
959 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
960 msgid ""
961 "A remote host refused to allow the network connection (typically because it "
962 "is not running the requested service)."
963 msgstr ""
964 "رفض مضيف بعيد السماح باتصال الشبكة (عادةً لأنه لا يشغل الخدمة المطلوبة)."
965
966 #. type: TP
967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
968 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
969 #, no-wrap
970 msgid "B<EFAULT>"
971 msgstr "B<EFAULT>"
972
973 #. type: Plain text
974 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
975 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
976 msgid ""
977 "The receive buffer pointer(s) point outside the process's address space."
978 msgstr "مؤشرات المخزن المؤقت للاستقبال تشير إلى خارج مساحة عنوان العملية."
979
980 #. type: TP
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 #, no-wrap
984 msgid "B<EINTR>"
985 msgstr "B<EINTR>"
986
987 #. type: Plain text
988 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
989 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
990 msgid ""
991 "The receive was interrupted by delivery of a signal before any data was "
992 "available; see B<signal>(7)."
993 msgstr ""
994 "قُطعت عملية الاستقبال بتسليم إشارة قبل توفر أي بيانات؛ انظر B<signal>(7)."
995
996 #. type: TP
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 #, no-wrap
1000 msgid "B<EINVAL>"
1001 msgstr "B<EINVAL>"
1002
1003 #. e.g., msg_namelen < 0 for recvmsg() or addrlen < 0 for recvfrom()
1004 #. type: Plain text
1005 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1006 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1007 msgid "Invalid argument passed."
1008 msgstr "مُرر معامل غير صالح."
1009
1010 #. type: TP
1011 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1012 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1013 #, no-wrap
1014 msgid "B<ENOMEM>"
1015 msgstr "B<ENOMEM>"
1016
1017 #. type: Plain text
1018 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1019 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1020 msgid "Could not allocate memory for B<recvmsg>()."
1021 msgstr "تعذر تخصيص ذاكرة لـ B<recvmsg>()."
1022
1023 #. type: TP
1024 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1025 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1026 #, no-wrap
1027 msgid "B<ENOTCONN>"
1028 msgstr "B<ENOTCONN>"
1029
1030 #. type: Plain text
1031 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1032 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1033 msgid ""
1034 "The socket is associated with a connection-oriented protocol and has not "
1035 "been connected (see B<connect>(2) and B<accept>(2))."
1036 msgstr ""
1037 "المقبس مرتبط ببروتوكول موجه للاتصال ولم يُوصل (انظر B<connect>(2) و "
1038 "B<accept>(2))."
1039
1040 #. type: TP
1041 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1042 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1043 #, no-wrap
1044 msgid "B<ENOTSOCK>"
1045 msgstr "B<ENOTSOCK>"
1046
1047 #. type: Plain text
1048 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1049 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1050 msgid "The file descriptor I<sockfd> does not refer to a socket."
1051 msgstr "واصف الملف I<sockfd> لا يشير إلى مقبس."
1052
1053 #. type: SH
1054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1055 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1056 #, no-wrap
1057 msgid "VERSIONS"
1058 msgstr "الإصدارات"
1059
1060 #. POSIX.1-2001, POSIX.1-2008
1061 #. glibc bug for msg_controllen raised 12 Mar 2006
1062 #. http://sourceware.org/bugzilla/show_bug.cgi?id=2448
1063 #. The problem is an underlying kernel issue: the size of the
1064 #. __kernel_size_t type used to type these fields varies
1065 #. across architectures, but socklen_t is always 32 bits,
1066 #. as (at least with GCC) is int.
1067 #. type: Plain text
1068 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1069 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1070 msgid ""
1071 "According to POSIX.1, the I<msg_controllen> field of the I<msghdr> structure "
1072 "should be typed as I<socklen_t>, and the I<msg_iovlen> field should be typed "
1073 "as I<int>, but glibc currently types both as I<size_t>."
1074 msgstr ""
1075 "وفقًا لـ POSIX.1، يجب أن يكون حقل I<msg_controllen> في بنية I<msghdr> من "
1076 "النوع I<socklen_t>، وحقل I<msg_iovlen> من النوع I<int>، لكن glibc حاليًا يكتب "
1077 "كليهما كـ I<size_t>."
1078
1079 #. type: SH
1080 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1081 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1082 #, no-wrap
1083 msgid "STANDARDS"
1084 msgstr "المعايير"
1085
1086 #. type: Plain text
1087 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1088 #: opensuse-tumbleweed
1089 msgid "POSIX.1-2024."
1090 msgstr "POSIX.1-2024."
1091
1092 #. type: SH
1093 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1094 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1095 #, no-wrap
1096 msgid "HISTORY"
1097 msgstr "التاريخ"
1098
1099 #. type: Plain text
1100 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1101 #: opensuse-tumbleweed
1102 msgid "POSIX.1-2001, 4.2BSD."
1103 msgstr "POSIX.1-2001،‏ 4.2BSD."
1104
1105 #. type: Plain text
1106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1108 msgid ""
1109 "POSIX.1 describes only the B<MSG_OOB>, B<MSG_PEEK>, and B<MSG_WAITALL> flags."
1110 msgstr "يصف POSIX.1 فقط الأعلام B<MSG_OOB> و B<MSG_PEEK> و B<MSG_WAITALL>."
1111
1112 #. type: SH
1113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1115 #, no-wrap
1116 msgid "NOTES"
1117 msgstr "ملاحظات"
1118
1119 #. type: Plain text
1120 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
1121 #: opensuse-leap-16-1 opensuse-tumbleweed
1122 msgid ""
1123 "If a zero-size datagram is pending, B<read>(2) and B<recv>() with a "
1124 "I<flags> argument of zero provide different behavior. In this circumstance, "
1125 "B<read>(2) has no effect (the datagram remains pending), while B<recv>() "
1126 "consumes the pending datagram."
1127 msgstr ""
1128 "إذا كان هناك مخطط بيانات بحجم صفري معلق، فإن B<read>(2) و B<recv>() مع وسيطة "
1129 "I<flags> بقيمة صفر توفر سلوكًا مختلفًا. في هذه الحالة، لا تأثير لـ B<read>(2) "
1130 "(يبقى مخطط البيانات معلقًا)، بينما تستهلك B<recv>() مخطط البيانات المعلق."
1131
1132 #. type: Plain text
1133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1135 msgid ""
1136 "See B<recvmmsg>(2) for information about a Linux-specific system call that "
1137 "can be used to receive multiple datagrams in a single call."
1138 msgstr ""
1139 "انظر B<recvmmsg>(2) للحصول على معلومات حول استدعاء نظام خاص بلينكس يمكن "
1140 "استخدامه لاستقبال مخططات بيانات متعددة في استدعاء واحد."
1141
1142 #. type: SH
1143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1145 #, no-wrap
1146 msgid "EXAMPLES"
1147 msgstr "أمثلة"
1148
1149 #. type: Plain text
1150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1152 msgid "An example of the use of B<recvfrom>() is shown in B<getaddrinfo>(3)."
1153 msgstr "مثال على استخدام B<recvfrom>() موضح في B<getaddrinfo>(3)."
1154
1155 #. type: SH
1156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1158 #, no-wrap
1159 msgid "SEE ALSO"
1160 msgstr "انظر أيضًا"
1161
1162 #. type: Plain text
1163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1165 msgid ""
1166 "B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), "
1167 "B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), "
1168 "B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1169 msgstr ""
1170 "B<fcntl>(2), B<getsockopt>(2), B<read>(2), B<recvmmsg>(2), B<select>(2), "
1171 "B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<ip>(7), "
1172 "B<ipv6>(7), B<socket>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
1173
1174 #. type: TH
1175 #: debian-trixie
1176 #, no-wrap
1177 msgid "2024-05-02"
1178 msgstr "2 مايو 2024"
1179
1180 #. type: TH
1181 #: debian-trixie
1182 #, no-wrap
1183 msgid "Linux man-pages 6.9.1"
1184 msgstr "صفحات دليل لينكس 6.9.1"
1185
1186 #. type: Plain text
1187 #: debian-trixie
1188 msgid "Standard C library (I<libc>, I<-lc>)"
1189 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
1190
1191 #. type: Plain text
1192 #: debian-trixie
1193 #, no-wrap
1194 msgid ""
1195 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<len>B<], size_t >I<len>B<,>\n"
1196 "B< int >I<flags>B<);>\n"
1197 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<len>B<], size_t >I<len>B<,>\n"
1198 "B< int >I<flags>B<,>\n"
1199 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1200 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1201 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1202 msgstr ""
1203 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<len>B<], size_t >I<len>B<,>\n"
1204 "B< int >I<flags>B<);>\n"
1205 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<len>B<], size_t >I<len>B<,>\n"
1206 "B< int >I<flags>B<,>\n"
1207 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1208 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1209 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1210
1211 #. type: Plain text
1212 #: debian-trixie
1213 #, no-wrap
1214 msgid "recv(sockfd, buf, len, flags);\n"
1215 msgstr "recv(sockfd, buf, len, flags);\n"
1216
1217 #. type: Plain text
1218 #: debian-trixie
1219 #, no-wrap
1220 msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1221 msgstr "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n"
1222
1223 #. type: Plain text
1224 #: debian-trixie
1225 msgid ""
1226 "All three calls return the length of the message on successful completion. "
1227 "If a message is too long to fit in the supplied buffer, excess bytes may be "
1228 "discarded depending on the type of socket the message is received from."
1229 msgstr ""
1230 "تعيد الاستدعاءات الثلاثة طول الرسالة عند الإكمال الناجح. إذا كانت الرسالة "
1231 "طويلة جدًا بحيث لا تناسب المخزن المؤقت المقدم، قد تُتجاهل البايتات الزائدة "
1232 "اعتمادًا على نوع المقبس الذي تُستقبل منه الرسالة."
1233
1234 #. type: Plain text
1235 #: debian-trixie fedora-44 fedora-rawhide
1236 msgid ""
1237 "Enables nonblocking operation; if the operation would block, the call fails "
1238 "with the error B<EAGAIN> or B<EWOULDBLOCK>. This provides similar behavior "
1239 "to setting the B<O_NONBLOCK> flag (via the B<fcntl>(2) B<F_SETFL> "
1240 "operation), but differs in that B<MSG_DONTWAIT> is a per-call option, "
1241 "whereas B<O_NONBLOCK> is a setting on the open file description (see "
1242 "B<open>(2)), which will affect all threads in the calling process as well as "
1243 "other processes that hold file descriptors referring to the same open file "
1244 "description."
1245 msgstr ""
1246 "يفعّل التشغيل غير المحظور؛ إذا كانت العملية ستحظر، يفشل الاستدعاء مع الخطأ "
1247 "B<EAGAIN> أو B<EWOULDBLOCK>. يوفر هذا سلوكًا مشابهًا لتعيين العلم "
1248 "B<O_NONBLOCK> (عبر عملية B<fcntl>(2) B<F_SETFL>)، لكنه يختلف في أن "
1249 "B<MSG_DONTWAIT> هو خيار لكل استدعاء، بينما B<O_NONBLOCK> هو إعداد على وصف "
1250 "الملف المفتوح (انظر B<open>(2))، مما سيؤثر على جميع الخيوط في العملية "
1251 "المستدعية بالإضافة إلى العمليات الأخرى التي تحمل واصفات ملفات تشير إلى نفس "
1252 "وصف الملف المفتوح."
1253
1254 #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f
1255 #. type: Plain text
1256 #: debian-trixie
1257 msgid ""
1258 "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
1259 "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet "
1260 "(since Linux 3.4) sockets: return the real length of the packet or datagram, "
1261 "even when it was longer than the passed buffer."
1262 msgstr ""
1263 "للمقابس الخام (B<AF_PACKET>)، ومخططات بيانات الإنترنت (منذ لينكس "
1264 "2.4.27/2.6.8)، وnetlink (منذ لينكس 2.6.22)، ومخططات بيانات UNIX بالإضافة إلى "
1265 "الحزم المتسلسلة (منذ لينكس 3.4): إعادة الطول الحقيقي للحزمة أو مخطط "
1266 "البيانات، حتى عندما كان أطول من المخزن المؤقت الممرر."
1267
1268 #. type: Plain text
1269 #: debian-trixie
1270 msgid ""
1271 "B<recvfrom>() places the received message into the buffer I<buf>. The "
1272 "caller must specify the size of the buffer in I<len>."
1273 msgstr ""
1274 "تضع B<recvfrom>() الرسالة المستلمة في المخزن المؤقت I<buf>. يجب على المستدعي "
1275 "تحديد حجم المخزن المؤقت في I<len>."
1276
1277 #. type: Plain text
1278 #: debian-trixie
1279 #, no-wrap
1280 msgid "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1281 msgstr "recvfrom(fd, buf, len, flags, NULL, 0);\n"
1282
1283 #. type: Plain text
1284 #: debian-trixie
1285 #, no-wrap
1286 msgid ""
1287 "struct msghdr {\n"
1288 " void *msg_name; /* Optional address */\n"
1289 " socklen_t msg_namelen; /* Size of address */\n"
1290 " struct iovec *msg_iov; /* Scatter/gather array */\n"
1291 " size_t msg_iovlen; /* # elements in msg_iov */\n"
1292 " void *msg_control; /* Ancillary data, see below */\n"
1293 " size_t msg_controllen; /* Ancillary data buffer len */\n"
1294 " int msg_flags; /* Flags on received message */\n"
1295 "};\n"
1296 msgstr ""
1297 "struct msghdr {\n"
1298 " void *msg_name; /* Optional address */\n"
1299 " socklen_t msg_namelen; /* Size of address */\n"
1300 " struct iovec *msg_iov; /* Scatter/gather array */\n"
1301 " size_t msg_iovlen; /* # elements in msg_iov */\n"
1302 " void *msg_control; /* Ancillary data, see below */\n"
1303 " size_t msg_controllen; /* Ancillary data buffer len */\n"
1304 " int msg_flags; /* Flags on received message */\n"
1305 "};\n"
1306
1307 #. type: Plain text
1308 #: debian-trixie
1309 msgid ""
1310 "The I<msg_name> field points to a caller-allocated buffer that is used to "
1311 "return the source address if the socket is unconnected. The caller should "
1312 "set I<msg_namelen> to the size of this buffer before this call; upon return "
1313 "from a successful call, I<msg_namelen> will contain the length of the "
1314 "returned address. If the application does not need to know the source "
1315 "address, I<msg_name> can be specified as NULL."
1316 msgstr ""
1317 "يشير حقل I<msg_name> إلى مخزن مؤقت مخصص من قبل المستدعي يُستخدم لإعادة عنوان "
1318 "المصدر إذا كان المقبس غير موصول. يجب على المستدعي تعيين I<msg_namelen> إلى "
1319 "حجم هذا المخزن قبل هذا الاستدعاء؛ عند العودة من استدعاء ناجح، سيحتوي "
1320 "I<msg_namelen> على طول العنوان المعاد. إذا لم يحتاج التطبيق إلى معرفة عنوان "
1321 "المصدر، يمكن تحديد I<msg_name> كـ NULL."
1322
1323 #. type: Plain text
1324 #: debian-trixie
1325 msgid ""
1326 "The field I<msg_control>, which has length I<msg_controllen>, points to a "
1327 "buffer for other protocol control-related messages or miscellaneous "
1328 "ancillary data. When B<recvmsg>() is called, I<msg_controllen> should "
1329 "contain the length of the available buffer in I<msg_control>; upon return "
1330 "from a successful call it will contain the length of the control message "
1331 "sequence."
1332 msgstr ""
1333 "حقل I<msg_control>، الذي له طول I<msg_controllen>، يشير إلى مخزن مؤقت لرسائل "
1334 "أخرى متعلقة بالتحكم في البروتوكول أو بيانات مساعدة متنوعة. عند استدعاء "
1335 "B<recvmsg>()، يجب أن يحتوي I<msg_controllen> على طول المخزن المؤقت المتاح في "
1336 "I<msg_control>؛ عند العودة من استدعاء ناجح سيحتوي على طول تسلسل رسائل التحكم."
1337
1338 #. type: Plain text
1339 #: debian-trixie fedora-44 fedora-rawhide
1340 msgid ""
1341 "indicates end-of-record; the data returned completed a record (generally "
1342 "used with sockets of type B<SOCK_SEQPACKET>)."
1343 msgstr ""
1344 "يشير إلى نهاية السجل؛ البيانات المعادة أكملت سجلًا (يُستخدم عمومًا مع مقابس من "
1345 "النوع B<SOCK_SEQPACKET>)."
1346
1347 #. type: Plain text
1348 #: debian-trixie
1349 msgid ""
1350 "Datagram sockets in various domains (e.g., the UNIX and Internet domains) "
1351 "permit zero-length datagrams. When such a datagram is received, the return "
1352 "value is 0."
1353 msgstr ""
1354 "تسمح مقابس مخططات البيانات في مجالات مختلفة (مثل مجالي UNIX والإنترنت) "
1355 "بمخططات بيانات بطول صفري. عند استلام مثل هذا المخطط، تكون القيمة المعادة 0."
1356
1357 #. type: Plain text
1358 #: debian-trixie fedora-44 fedora-rawhide
1359 msgid "POSIX.1-2008."
1360 msgstr "POSIX.1-2008."
1361
1362 #. type: Plain text
1363 #: debian-trixie fedora-44 fedora-rawhide
1364 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
1365 msgstr "POSIX.1-2001،‏ 4.4BSD (ظهر أولاً في 4.2BSD)."
1366
1367 #. type: Plain text
1368 #: debian-trixie
1369 msgid ""
1370 "If a zero-length datagram is pending, B<read>(2) and B<recv>() with a "
1371 "I<flags> argument of zero provide different behavior. In this circumstance, "
1372 "B<read>(2) has no effect (the datagram remains pending), while B<recv>() "
1373 "consumes the pending datagram."
1374 msgstr ""
1375 "إذا كان هناك مخطط بيانات بطول صفري معلق، فإن B<read>(2) و B<recv>() مع وسيطة "
1376 "I<flags> بقيمة صفر توفر سلوكًا مختلفًا. في هذه الحالة، لا تأثير لـ B<read>(2) "
1377 "(يبقى مخطط البيانات معلقًا)، بينما تستهلك B<recv>() مخطط البيانات المعلق."
1378
1379 #. type: TH
1380 #: fedora-44 fedora-rawhide
1381 #, no-wrap
1382 msgid "2024-11-17"
1383 msgstr "17 نوفمبر 2024"
1384
1385 #. type: TH
1386 #: fedora-44 fedora-rawhide
1387 #, no-wrap
1388 msgid "Linux man-pages 6.13"
1389 msgstr "صفحات دليل لينكس 6.13"
1390
1391 #. type: Plain text
1392 #: fedora-44 fedora-rawhide
1393 #, no-wrap
1394 msgid ""
1395 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n"
1396 "B< int >I<flags>B<);>\n"
1397 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
1398 "B< int >I<flags>B<,>\n"
1399 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1400 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1401 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1402 msgstr ""
1403 "B<ssize_t recv(int >I<sockfd>B<, void >I<buf>B<[.>I<size>B<], size_t >I<size>B<,>\n"
1404 "B< int >I<flags>B<);>\n"
1405 "B<ssize_t recvfrom(int >I<sockfd>B<, void >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n"
1406 "B< int >I<flags>B<,>\n"
1407 "B< struct sockaddr *_Nullable restrict >I<src_addr>B<,>\n"
1408 "B< socklen_t *_Nullable restrict >I<addrlen>B<);>\n"
1409 "B<ssize_t recvmsg(int >I<sockfd>B<, struct msghdr *>I<msg>B<, int >I<flags>B<);>\n"
1410
1411 #. type: Plain text
1412 #: fedora-44 fedora-rawhide
1413 #, no-wrap
1414 msgid "recvfrom(fd, buf, size, flags, NULL, 0);\n"
1415 msgstr "recvfrom(fd, buf, size, flags, NULL, 0);\n"
1416
1417 #. type: TH
1418 #: mageia-cauldron
1419 #, no-wrap
1420 msgid "Linux man-pages 6.17"
1421 msgstr "صفحات دليل لينكس 6.17"
1422
1423 #. type: TH
1424 #: opensuse-leap-16-1 opensuse-tumbleweed
1425 #, no-wrap
1426 msgid "Linux man-pages (unreleased)"
1427 msgstr "صفحات دليل لينكس (لم تصدر بعد)"