# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:39+0200\n" "PO-Revision-Date: 2026-05-18 18:12+0400\n" "Last-Translator: Zayed Al-Saidi \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" "X-Generator: Lokalize 23.08.5\n" #. type: TH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "recv" msgstr "recv" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2025-10-29" msgstr "29 أكتوبر 2025" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "recv, recvfrom, recvmsg - receive a message from a socket" msgstr "recv، recvfrom، recvmsg - استلام رسالة من مقبس" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<#include Esys/socket.hE>\n" msgstr "B<#include Esys/socket.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t size;\n" "B< int >IB<, void >IB<[>IB<], size_t >IB<,>\n" "B< int >IB<);>\n" "Bsize_t size;\n" "B< int >IB<, void >IB<[restrict >IB<], size_t >IB<,>\n" "B< int >IB<,>\n" "B< struct sockaddr *_Nullable restrict >IB<,>\n" "B< socklen_t *_Nullable restrict >IB<);>\n" "BIB<, struct msghdr *>IB<, int >IB<);>\n" msgstr "" "Bsize_t size;\n" "B< int >IB<, void >IB<[>IB<], size_t >IB<,>\n" "B< int >IB<);>\n" "Bsize_t size;\n" "B< int >IB<, void >IB<[restrict >IB<], size_t >IB<,>\n" "B< int >IB<,>\n" "B< struct sockaddr *_Nullable restrict >IB<,>\n" "B< socklen_t *_Nullable restrict >IB<);>\n" "BIB<, struct msghdr *>IB<, int >IB<);>\n" #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "DESCRIPTION" msgstr "الوصف" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B(), B(), and B() calls are used to receive " "messages from a socket. They may be used to receive data on both " "connectionless and connection-oriented sockets. This page first describes " "common features of all three system calls, and then describes the " "differences between the calls." msgstr "" "استدعاءات B() و B() و B() تُستخدم لاستقبال رسائل من " "مقبس. يمكن استخدامها لاستقبال بيانات على كل من المقابس غير المتصلة والموجهة " "نحو الاتصال. تصف هذه الصفحة أولاً الميزات المشتركة لجميع استدعاءات النظام " "الثلاثة، ثم تصف الاختلافات بين الاستدعاءات." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The only difference between B() and B(2) is the presence of " "I. With a zero I argument, B() is generally equivalent " "to B(2) (but see NOTES). Also, the following call" msgstr "" "الفرق الوحيد بين B() و B(2) هو وجود I. مع وسيطة I " "صفرية، يكون B() مكافئًا بشكل عام لـ B(2) (لكن انظر الملاحظات). " "أيضًا، الاستدعاء التالي" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "recv(sockfd, buf, size, flags);\n" msgstr "recv(sockfd, buf, size, flags);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "is equivalent to" msgstr "يكافئ" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n" msgstr "recvfrom(sockfd, buf, size, flags, NULL, NULL);\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "All three calls return the size of the message on successful completion. If " "a message is too long to fit in the supplied buffer, excess bytes may be " "discarded depending on the type of socket the message is received from." msgstr "" "تعيد جميع الاستدعاءات الثلاثة حجم الرسالة عند الإكمال بنجاح. إذا كانت " "الرسالة طويلة جدًا بحيث لا تتسع في المخزن المؤقت المقدم، فقد يتم تجاهل " "البايتات الزائدة اعتمادًا على نوع المقبس الذي تُستقبل منه الرسالة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If no messages are available at the socket, the receive calls wait for a " "message to arrive, unless the socket is nonblocking (see B(2)), in " "which case the value -1 is returned and I is set to B or " "B. The receive calls normally return any data available, up to " "the requested amount, rather than waiting for receipt of the full amount " "requested." msgstr "" "إذا لم تكن هناك رسائل متاحة في المقبس، تنتظر استدعاءات الاستقبال وصول رسالة، " "ما لم يكن المقبس غير محظور (انظر B(2))، وفي هذه الحالة تُعاد القيمة -1 " "ويُضبط I على B أو B. تعيد استدعاءات الاستقبال " "عادةً أي بيانات متاحة، حتى المقدار المطلوب، بدلاً من انتظار استلام المقدار " "الكامل المطلوب." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An application can use B(2) أو B(2) أو B(7) لتحديد موعد " "وصول المزيد من البيانات على مقبس." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "The flags argument" msgstr "معامل العلامات (flags)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument is formed by ORing one or more of the following values:" msgstr "" "تُشكل وسيطة I عن طريق إجراء عملية OR على قيمة واحدة أو أكثر من القيم " "التالية:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (B() only; since Linux 2.6.23)" msgstr "B (B() فقط؛ منذ Linux 2.6.23)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Set the close-on-exec flag for the file descriptor received via a UNIX " "domain file descriptor using the B operation (described in " "B(7)). This flag is useful for the same reasons as the B " "flag of B(2)." msgstr "" "يضبط علم الإغلاق عند التنفيذ لواصف الملف المستلم عبر واصف ملف نطاق UNIX " "باستخدام عملية B (الموصوفة في B(7)). هذا العلم مفيد لنفس " "أسباب علم B الخاص بـ B(2)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.2)" msgstr "B (منذ لينكس 2.2)" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Enables nonblocking operation; if the operation would block, the call fails " "with B or B. This provides similar behavior to setting " "the B flag (via the B(2) B operation), but " "differs in that B is a per-call option, whereas B " "is a setting on the open file description (see B(2)), which will " "affect all threads in the calling process as well as other processes that " "hold file descriptors referring to the same open file description." msgstr "" "يمكّن التشغيل غير المحظور؛ إذا كانت العملية ستحظر، يفشل الاستدعاء مع " "B أو B. يوفر هذا سلوكًا مشابهًا لضبط علم B " "(عبر عملية B(2) B)، لكنه يختلف في أن B هو خيار " "لكل استدعاء، بينما B هو إعداد على وصف الملف المفتوح (انظر " "B(2))، والذي سيؤثر على جميع سلاسل التنفيذ في العملية المستدعية وكذلك " "العمليات الأخرى التي تحمل واصفات ملفات تشير إلى نفس وصف الملف المفتوح." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.2)" msgstr "B (منذ Linux 2.2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag specifies that queued errors should be received from the socket " "error queue. The error is passed in an ancillary message with a type " "dependent on the protocol (for IPv4 B). The user should supply " "a buffer of sufficient size. See B(3) and B(7) for more " "information. The payload of the original packet that caused the error is " "passed as normal data via I. The original destination address of " "the datagram that caused the error is supplied via I." msgstr "" "يحدد هذا العلم أنه يجب استقبال الأخطاء المُصطفة من قائمة انتظار أخطاء المقبس. " "يُمرر الخطأ في رسالة مساعدة بنوع يعتمد على البروتوكول (لـ IPv4 " "B). يجب على المستخدم توفير مخزن مؤقت بحجم كافٍ. انظر B(3) و " "B(7) لمزيد من المعلومات. يُمرر حمولة الحزمة الأصلية التي تسببت في الخطأ " "كبيانات عادية عبر I. يُمرر عنوان الوجهة الأصلي للرزمة التي تسببت " "في الخطأ عبر I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The error is supplied in a I structure:" msgstr "يُقدم الخطأ في بنية I:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#define SO_EE_ORIGIN_NONE 0\n" "#define SO_EE_ORIGIN_LOCAL 1\n" "#define SO_EE_ORIGIN_ICMP 2\n" "#define SO_EE_ORIGIN_ICMP6 3\n" "\\&\n" "struct sock_extended_err\n" "{\n" " uint32_t ee_errno; /* Error number */\n" " uint8_t ee_origin; /* Where the error originated */\n" " uint8_t ee_type; /* Type */\n" " uint8_t ee_code; /* Code */\n" " uint8_t ee_pad; /* Padding */\n" " uint32_t ee_info; /* Additional information */\n" " uint32_t ee_data; /* Other data */\n" " /* More data may follow */\n" "};\n" "\\&\n" "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n" msgstr "" "#define SO_EE_ORIGIN_NONE 0\n" "#define SO_EE_ORIGIN_LOCAL 1\n" "#define SO_EE_ORIGIN_ICMP 2\n" "#define SO_EE_ORIGIN_ICMP6 3\n" "\\&\n" "struct sock_extended_err\n" "{\n" " uint32_t ee_errno; /* Error number */\n" " uint8_t ee_origin; /* Where the error originated */\n" " uint8_t ee_type; /* Type */\n" " uint8_t ee_code; /* Code */\n" " uint8_t ee_pad; /* Padding */\n" " uint32_t ee_info; /* Additional information */\n" " uint32_t ee_data; /* Other data */\n" " /* More data may follow */\n" "};\n" "\\&\n" "struct sockaddr *SO_EE_OFFENDER(struct sock_extended_err *);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I contains the I number of the queued error. I " "is the origin code of where the error originated. The other fields are " "protocol-specific. The macro B returns a pointer to the " "address of the network object where the error originated from given a " "pointer to the ancillary message. If this address is not known, the " "I member of the I contains B and the other " "fields of the I are undefined. The payload of the packet that " "caused the error is passed as normal data." msgstr "" "يحتوي I على رقم I للخطأ المُصطف. I هو رمز الأصل " "لمكان نشأة الخطأ. الحقول الأخرى خاصة بالبروتوكول. تعيد الماكرو " "B مؤشرًا إلى عنوان كائن الشبكة حيث نشأ الخطأ، معطى مؤشرًا إلى " "الرسالة المساعدة. إذا كان هذا العنوان غير معروف، يحتوي عضو I من " "I على B والحقول الأخرى من I غير معرفة. يُمرر " "حمولة الحزمة التي تسببت في الخطأ كبيانات عادية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For local errors, no address is passed (this can be checked with the " "I member of the I). For error receives, the " "B flag is set in the I. After an error has been " "passed, the pending socket error is regenerated based on the next queued " "error and will be passed on the next socket operation." msgstr "" "بالنسبة للأخطاء المحلية، لا يُمرر أي عنوان (يمكن التحقق من ذلك باستخدام عضو " "I من I). لاستقبالات الأخطاء، يُضبط علم B في " "I. بعد تمرير خطأ، يُعاد توليد خطأ المقبس المعلق بناءً على الخطأ المُصطف " "التالي وسيُمرر في عملية المقبس التالية." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag requests receipt of out-of-band data that would not be received in " "the normal data stream. Some protocols place expedited data at the head of " "the normal data queue, and thus this flag cannot be used with such protocols." msgstr "" "يطلب هذا العلم استقبال بيانات خارج النطاق التي لن تُستقبل في تيار البيانات " "العادي. تضع بعض البروتوكولات البيانات المعجلة في رأس قائمة انتظار البيانات " "العادية، وبالتالي لا يمكن استخدام هذا العلم مع هذه البروتوكولات." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag causes the receive operation to return data from the beginning of " "the receive queue without removing that data from the queue. Thus, a " "subsequent receive call will return the same data." msgstr "" "يتسبب هذا العلم في إعادة عملية الاستقبال للبيانات من بداية قائمة انتظار " "الاستقبال دون إزالة تلك البيانات من القائمة. وبالتالي، سيعيد استدعاء استقبال " "لاحق نفس البيانات." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.2)" msgstr "B (منذ Linux 2.2)" #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For raw (B), Internet datagram (since Linux 2.4.27/2.6.8), " "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet " "(since Linux 3.4) sockets: return the real size of the packet or datagram, " "even when it was longer than the passed buffer." msgstr "" "للمقابس الخام (B)، ورزم الإنترنت (منذ Linux 2.4.27/2.6.8)، " "وnetlink (منذ Linux 2.6.22)، ورزم UNIX وكذلك الحزم المتسلسلة (منذ Linux " "3.4): إعادة الحجم الحقيقي للحزمة أو الرزمة، حتى عندما كانت أطول من المخزن " "المؤقت الممرر." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "For use with Internet stream sockets, see B(7)." msgstr "للاستخدام مع مقابس تيار الإنترنت، انظر B(7)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.2)" msgstr "B (منذ Linux 2.2)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This flag requests that the operation block until the full request is " "satisfied. However, the call may still return less data than requested if a " "signal is caught, an error or disconnect occurs, or the next data to be " "received is of a different type than that returned. This flag has no effect " "for datagram sockets." msgstr "" "يطلب هذا العلم أن تحظر العملية حتى يتم تلبية الطلب بالكامل. ومع ذلك، قد لا " "يزال الاستدعاء يعيد بيانات أقل من المطلوب إذا تم التقاط إشارة، أو حدث خطأ أو " "قطع اتصال، أو كانت البيانات التالية المراد استقبالها من نوع مختلف عن تلك " "المُعادة. ليس لهذا العلم أي تأثير على مقابس الرزم." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "recvfrom()" msgstr "recvfrom()" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() places the received message into the buffer I. The " "caller must specify the size of the buffer in I." msgstr "" "يضع B() الرسالة المستلمة في المخزن المؤقت I. يجب على المستدعي " "تحديد حجم المخزن المؤقت في I." #. #-#-#-#-# archlinux: recv.2.pot (PACKAGE VERSION) #-#-#-#-# #. (Note: for datagram sockets in both the UNIX and Internet domains, #. .I src_addr #. is filled in. #. .I src_addr #. is also filled in for stream sockets in the UNIX domain, but is not #. filled in for stream sockets in the Internet domain.) #. [The above notes on AF_UNIX and AF_INET sockets apply as at #. Kernel 2.4.18. (MTK, 22 Jul 02)] #. type: Plain text #. #-#-#-#-# debian-trixie: recv.2.pot (PACKAGE VERSION) #-#-#-#-# #. (Note: for datagram sockets in both the UNIX and Internet domains, #. .I src_addr #. is filled in. #. .I src_addr #. is also filled in for stream sockets in the UNIX domain, but is not #. filled in for stream sockets in the Internet domain.) #. [The above notes on AF_UNIX and AF_INET sockets apply as at #. Kernel 2.4.18. (MTK, 22 Jul 02)] #. type: Plain text #. #-#-#-#-# debian-unstable: recv.2.pot (PACKAGE VERSION) #-#-#-#-# #. (Note: for datagram sockets in both the UNIX and Internet domains, #. .I src_addr #. is filled in. #. .I src_addr #. is also filled in for stream sockets in the UNIX domain, but is not #. filled in for stream sockets in the Internet domain.) #. [The above notes on AF_UNIX and AF_INET sockets apply as at #. Kernel 2.4.18. (MTK, 22 Jul 02)] #. type: Plain text #. #-#-#-#-# fedora-44: recv.2.pot (PACKAGE VERSION) #-#-#-#-# #. (Note: for datagram sockets in both the UNIX and Internet domains, #. .I src_addr #. is filled in. #. .I src_addr #. is also filled in for stream sockets in the UNIX domain, but is not #. filled in for stream sockets in the Internet domain.) #. [The above notes on AF_UNIX and AF_INET sockets apply as at #. Kernel 2.4.18. (MTK, 22 Jul 02)] #. type: Plain text #. #-#-#-#-# fedora-rawhide: recv.2.pot (PACKAGE VERSION) #-#-#-#-# #. (Note: for datagram sockets in both the UNIX and Internet domains, #. .I src_addr #. is filled in. #. .I src_addr #. is also filled in for stream sockets in the UNIX domain, but is not #. filled in for stream sockets in the Internet domain.) #. [The above notes on AF_UNIX and AF_INET sockets apply as at #. Kernel 2.4.18. (MTK, 22 Jul 02)] #. type: Plain text #. #-#-#-#-# mageia-cauldron: recv.2.pot (PACKAGE VERSION) #-#-#-#-# #. (Note: for datagram sockets in both the UNIX and Internet domains, #. .I src_addr #. is filled in. #. .I src_addr #. is also filled in for stream sockets in the UNIX domain, but is not #. filled in for stream sockets in the Internet domain.) #. [The above notes on AF_UNIX and AF_INET sockets apply as at #. Kernel 2.4.18. (MTK, 22 Jul 02)] #. type: Plain text #. #-#-#-#-# opensuse-leap-16-1: recv.2.pot (PACKAGE VERSION) #-#-#-#-# #. (Note: for datagram sockets in both the UNIX and Internet domains, #. .I src_addr #. is filled in. #. .I src_addr #. is also filled in for stream sockets in the UNIX domain, but is not #. filled in for stream sockets in the Internet domain.) #. [The above notes on AF_UNIX and AF_INET sockets apply as at #. Kernel 2.4.18. (MTK, 22 Jul 02)] #. type: Plain text #. #-#-#-#-# opensuse-tumbleweed: recv.2.pot (PACKAGE VERSION) #-#-#-#-# #. (Note: for datagram sockets in both the UNIX and Internet domains, #. .I src_addr #. is filled in. #. .I src_addr #. is also filled in for stream sockets in the UNIX domain, but is not #. filled in for stream sockets in the Internet domain.) #. [The above notes on AF_UNIX and AF_INET sockets apply as at #. Kernel 2.4.18. (MTK, 22 Jul 02)] #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is not NULL, and the underlying protocol provides the source " "address of the message, that source address is placed in the buffer pointed " "to by I. In this case, I is a value-result argument. " "Before the call, it should be initialized to the size of the buffer " "associated with I. Upon return, I is updated to contain " "the actual size of the source address. The returned address is truncated if " "the buffer provided is too small; in this case, I will return a " "value greater than was supplied to the call." msgstr "" "إذا كانت I غير NULL، وكان البروتوكول الأساسي يوفر عنوان مصدر " "الرسالة، يتم وضع عنوان المصدر هذا في المخزن المؤقت الذي تشير إليه " "I. في هذه الحالة، تكون I معلمة قيمة-نتيجة. قبل " "الاستدعاء، يجب تهيئتها بحجم المخزن المؤقت المرتبط بـ I. عند " "العودة، يحدّث I ليحتوي على الحجم الفعلي لعنوان المصدر. ًيُقتطع العنوان " "المُرجع إذا كان المخزن المؤقت المُقدّم صغيرًا جدًّا؛ وفي هذه الحالة، سيعيد " "I قيمة أكبر من تلك التي تم تزويدها للاستدعاء." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If the caller is not interested in the source address, I and " "I should be specified as NULL." msgstr "" "إذا لم يكن المستدعي مهتمًا بعنوان المصدر، فيجب تحديد I و I " "كقيمة NULL." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "recv()" msgstr "recv()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() call is normally used only on a I socket (see " "B(2)). It is equivalent to the call:" msgstr "" "عادةً ما يُستخدم استدعاء B() فقط على مقبس I<موصل> (انظر B(2)). " "وهو مكافئ للاستدعاء:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "recvfrom(fd, buf, size, flags, NULL, NULL);\n" msgstr "recvfrom(fd, buf, size, flags, NULL, NULL);\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "recvmsg()" msgstr "recvmsg()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() call uses a I structure to minimize the number of " "directly supplied arguments. This structure is defined as follows in " "Isys/socket.hE>:" msgstr "" "يستخدم استدعاء B() بنية I لتقليل عدد الوسائط المقدمة " "مباشرة. تُعرف هذه البنية كما يلي في Isys/socket.hE>:" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct msghdr {\n" " void *msg_name; /* Optional address */\n" " socklen_t msg_namelen; /* Size of address */\n" " struct iovec *msg_iov; /* Scatter/gather array */\n" " size_t msg_iovlen; /* # elements in msg_iov */\n" " void *msg_control; /* Ancillary data, see below */\n" " size_t msg_controllen; /* Ancillary data buffer size */\n" " int msg_flags; /* Flags on received message */\n" "};\n" msgstr "" "struct msghdr {\n" " void *msg_name; /* عنوان اختياري */\n" " socklen_t msg_namelen; /* حجم العنوان */\n" " struct iovec *msg_iov; /* مصفوفة توزيع/تجميع */\n" " size_t msg_iovlen; /* عدد العناصر في msg_iov */\n" " void *msg_control; /* بيانات مساعدة، انظر أدناه */\n" " size_t msg_controllen; /* حجم مخزن البيانات المساعدة */\n" " int msg_flags; /* أعلام على الرسالة المستلمة */\n" "};\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I field points to a caller-allocated buffer that is used to " "return the source address if the socket is unconnected. The caller should " "set I to the size of this buffer before this call; upon return " "from a successful call, I will contain the size of the returned " "address. If the application does not need to know the source address, " "I can be specified as NULL." msgstr "" "يشير حقل I إلى مخزن مخصص من قبل المستدعي يُستخدم لإرجاع عنوان " "المصدر إذا كان المقبس غير موصل. يجب على المستدعي تعيين I إلى " "حجم هذا المخزن قبل هذا الاستدعاء؛ عند العودة من استدعاء ناجح، سيحتوي " "I على حجم العنوان المُعاد. إذا لم يكن التطبيق بحاجة لمعرفة عنوان " "المصدر، يمكن تحديد I كقيمة NULL." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The fields I and I describe scatter-gather locations, " "as discussed in B(2)." msgstr "" "تصف الحقول I و I مواقع التوزيع والتجميع، كما نوقش في " "B(2)." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The field I, which has size I, points to a " "buffer for other protocol control-related messages or miscellaneous " "ancillary data. When B() is called, I should " "contain the size of the available buffer in I; upon return from " "a successful call it will contain the size of the control message sequence." msgstr "" "يشير حقل I، الذي له حجم I، إلى مخزن للرسائل " "الأخرى المتعلقة بالتحكم في البروتوكول أو البيانات المساعدة المتنوعة. عند " "استدعاء B()، يجب أن يحتوي I على حجم المخزن المتاح " "في I؛ عند العودة من استدعاء ناجح، سيحتوي على حجم تسلسل رسائل " "التحكم." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The messages are of the form:" msgstr "الرسائل تكون بالشكل:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct cmsghdr {\n" " size_t cmsg_len; /* Data byte count, including header\n" " (type is socklen_t in POSIX) */\n" " int cmsg_level; /* Originating protocol */\n" " int cmsg_type; /* Protocol-specific type */\n" "/* followed by\n" " unsigned char cmsg_data[]; */\n" "};\n" msgstr "" "struct cmsghdr {\n" " size_t cmsg_len; /* عدد بايتات البيانات، بما في ذلك الرأس\n" " (النوع هو socklen_t في POSIX) */\n" " int cmsg_level; /* البروتوكول المصدر */\n" " int cmsg_type; /* نوع خاص بالبروتوكول */\n" "/* يتبعه\n" " unsigned char cmsg_data[]; */\n" "};\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Ancillary data should be accessed only by the macros defined in B(3)." msgstr "" "يجب الوصول إلى البيانات المساعدة فقط من خلال وحدات الماكرو المعرفة في " "B(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "As an example, Linux uses this ancillary data mechanism to pass extended " "errors, IP options, or file descriptors over UNIX domain sockets. For " "further information on the use of ancillary data in various socket domains, " "see B(7) and B(7)." msgstr "" "كمثال، تستخدم لينكس آلية البيانات المساعدة هذه لتمرير الأخطاء الموسعة، " "خيارات IP، أو واصفات الملفات عبر مقابس نطاق UNIX. لمزيد من المعلومات حول " "استخدام البيانات المساعدة في نطاقات المقابس المختلفة، انظر B(7) و " "B(7)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I field in the I is set on return of B(). " "It can contain several flags:" msgstr "" "يتم تعيين حقل I في I عند عودة B(). يمكن أن يحتوي " "على عدة أعلام:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "indicates end-of-record; the data returned completed a record (generally, " "used with sockets of type B)." msgstr "" "يشير إلى نهاية السجل؛ البيانات المُعادة أكملت سجلًا (بشكل عام، يُستخدم مع مقابس " "من نوع B)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "indicates that the trailing portion of a datagram was discarded because the " "datagram was larger than the buffer supplied." msgstr "" "يشير إلى أن الجزء الخلفي من مخطط البيانات تم تجاهله لأن مخطط البيانات كان " "أكبر من المخزن المقدم." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "indicates that some control data was discarded due to lack of space in the " "buffer for ancillary data." msgstr "" "يشير إلى أن بعض بيانات التحكم تم تجاهلها بسبب نقص المساحة في المخزن للبيانات " "المساعدة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "is returned to indicate that expedited or out-of-band data was received." msgstr "يُعاد للإشارة إلى أن بيانات عاجلة أو خارج النطاق تم استلامها." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "indicates that no data was received but an extended error from the socket " "error queue." msgstr "" "يشير إلى أنه لم يتم استلام أي بيانات ولكن خطأ موسع من قائمة أخطاء المقبس." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since Linux 2.6.23)" msgstr "B (منذ لينكس 2.6.23)" #. commit 4a19542e5f694cd408a32c3d9dc593ba9366e2d7 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "indicates that B was specified in the I argument of " "B()." msgstr "" "يشير إلى أن B تم تحديده في وسيطة I لـ B()." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These calls return the number of bytes received, or -1 if an error " "occurred. In the event of an error, I is set to indicate the error." msgstr "" "تُعيد هذه الاستدعاءات عدد البايتات المستلمة، أو -1 إذا حدث خطأ. في حالة حدوث " "خطأ، يتم تعيين I للإشارة إلى الخطأ." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When a stream socket peer has performed an orderly shutdown, the return " "value will be 0 (the traditional \"end-of-file\" return)." msgstr "" "عندما يقوم نظير مقبس التدفق بإغلاق منظم، ستكون القيمة المُعادة 0 (الإرجاع " "التقليدي \"نهاية الملف\")." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Datagram sockets in various domains (e.g., the UNIX and Internet domains) " "permit zero-size datagrams. When such a datagram is received, the return " "value is 0." msgstr "" "تسمح مقابس مخططات البيانات في نطاقات مختلفة (مثل نطاقات UNIX والإنترنت) " "بمخططات بيانات بحجم صفر. عند استلام مثل هذا المخطط، تكون القيمة المُعادة 0." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value 0 may also be returned if the requested number of bytes to receive " "from a stream socket was 0." msgstr "" "قد تُعاد القيمة 0 أيضًا إذا كان عدد البايتات المطلوب استلامها من مقبس تدفق هو " "0." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "These are some standard errors generated by the socket layer. Additional " "errors may be generated and returned from the underlying protocol modules; " "see their manual pages." msgstr "" "هذه بعض الأخطاء القياسية التي تولدها طبقة المقبس. قد تُولد أخطاء إضافية وتُعاد " "من وحدات البروتوكول الأساسية؛ راجع صفحات دليلها." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B or B" msgstr "B أو B" #. Actually EAGAIN on Linux #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The socket is marked nonblocking and the receive operation would block, or a " "receive timeout had been set and the timeout expired before data was " "received. POSIX.1 allows either error to be returned for this case, and " "does not require these constants to have the same value, so a portable " "application should check for both possibilities." msgstr "" "المقبس مُعلّم كغير محظور وعملية الاستقبال ستحظر، أو ضُبط مهلة استقبال وانتهت " "المهلة قبل استلام البيانات. يسمح POSIX.1 بإرجاع أي من الخطأين لهذه الحالة، " "ولا يتطلب أن تكون هذه الثوابت بنفس القيمة، لذا يجب على التطبيق المحمول " "التحقق من كلا الاحتمالين." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The argument I is an invalid file descriptor." msgstr "الوسيطة I هي واصف ملف غير صالح." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A remote host refused to allow the network connection (typically because it " "is not running the requested service)." msgstr "" "رفض مضيف بعيد السماح باتصال الشبكة (عادةً لأنه لا يشغل الخدمة المطلوبة)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The receive buffer pointer(s) point outside the process's address space." msgstr "مؤشرات المخزن المؤقت للاستقبال تشير إلى خارج مساحة عنوان العملية." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The receive was interrupted by delivery of a signal before any data was " "available; see B(7)." msgstr "" "قُطعت عملية الاستقبال بتسليم إشارة قبل توفر أي بيانات؛ انظر B(7)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. e.g., msg_namelen < 0 for recvmsg() or addrlen < 0 for recvfrom() #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Invalid argument passed." msgstr "مُرر معامل غير صالح." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Could not allocate memory for B()." msgstr "تعذر تخصيص ذاكرة لـ B()." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The socket is associated with a connection-oriented protocol and has not " "been connected (see B(2) and B(2))." msgstr "" "المقبس مرتبط ببروتوكول موجه للاتصال ولم يُوصل (انظر B(2) و " "B(2))." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The file descriptor I does not refer to a socket." msgstr "واصف الملف I لا يشير إلى مقبس." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. POSIX.1-2001, POSIX.1-2008 #. glibc bug for msg_controllen raised 12 Mar 2006 #. http://sourceware.org/bugzilla/show_bug.cgi?id=2448 #. The problem is an underlying kernel issue: the size of the #. __kernel_size_t type used to type these fields varies #. across architectures, but socklen_t is always 32 bits, #. as (at least with GCC) is int. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "According to POSIX.1, the I field of the I structure " "should be typed as I, and the I field should be typed " "as I, but glibc currently types both as I." msgstr "" "وفقًا لـ POSIX.1، يجب أن يكون حقل I في بنية I من " "النوع I، وحقل I من النوع I، لكن glibc حاليًا يكتب " "كليهما كـ I." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "POSIX.1-2024." msgstr "POSIX.1-2024." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "POSIX.1-2001, 4.2BSD." msgstr "POSIX.1-2001،‏ 4.2BSD." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1 describes only the B, B, and B flags." msgstr "يصف POSIX.1 فقط الأعلام B و B و B." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If a zero-size datagram is pending, B(2) and B() with a " "I argument of zero provide different behavior. In this circumstance, " "B(2) has no effect (the datagram remains pending), while B() " "consumes the pending datagram." msgstr "" "إذا كان هناك مخطط بيانات بحجم صفري معلق، فإن B(2) و B() مع وسيطة " "I بقيمة صفر توفر سلوكًا مختلفًا. في هذه الحالة، لا تأثير لـ B(2) " "(يبقى مخطط البيانات معلقًا)، بينما تستهلك B() مخطط البيانات المعلق." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "See B(2) for information about a Linux-specific system call that " "can be used to receive multiple datagrams in a single call." msgstr "" "انظر B(2) للحصول على معلومات حول استدعاء نظام خاص بلينكس يمكن " "استخدامه لاستقبال مخططات بيانات متعددة في استدعاء واحد." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "An example of the use of B() is shown in B(3)." msgstr "مثال على استخدام B() موضح في B(3)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(2), B(2), B(2), B(2), B(2), " "B(2), B(2), B(3), B(3), B(7), " "B(7), B(7), B(7), B(7), B(7)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-05-02" msgstr "2 مايو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie msgid "Standard C library (I, I<-lc>)" msgstr "مكتبة سي المعيارية (I، I<-lc>)" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<, void >IB<[.>IB<], size_t >IB<,>\n" "B< int >IB<);>\n" "BIB<, void >IB<[restrict .>IB<], size_t >IB<,>\n" "B< int >IB<,>\n" "B< struct sockaddr *_Nullable restrict >IB<,>\n" "B< socklen_t *_Nullable restrict >IB<);>\n" "BIB<, struct msghdr *>IB<, int >IB<);>\n" msgstr "" "BIB<, void >IB<[.>IB<], size_t >IB<,>\n" "B< int >IB<);>\n" "BIB<, void >IB<[restrict .>IB<], size_t >IB<,>\n" "B< int >IB<,>\n" "B< struct sockaddr *_Nullable restrict >IB<,>\n" "B< socklen_t *_Nullable restrict >IB<);>\n" "BIB<, struct msghdr *>IB<, int >IB<);>\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "recv(sockfd, buf, len, flags);\n" msgstr "recv(sockfd, buf, len, flags);\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n" msgstr "recvfrom(sockfd, buf, len, flags, NULL, NULL);\n" #. type: Plain text #: debian-trixie msgid "" "All three calls return the length of the message on successful completion. " "If a message is too long to fit in the supplied buffer, excess bytes may be " "discarded depending on the type of socket the message is received from." msgstr "" "تعيد الاستدعاءات الثلاثة طول الرسالة عند الإكمال الناجح. إذا كانت الرسالة " "طويلة جدًا بحيث لا تناسب المخزن المؤقت المقدم، قد تُتجاهل البايتات الزائدة " "اعتمادًا على نوع المقبس الذي تُستقبل منه الرسالة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Enables nonblocking operation; if the operation would block, the call fails " "with the error B or B. This provides similar behavior " "to setting the B flag (via the B(2) B " "operation), but differs in that B is a per-call option, " "whereas B is a setting on the open file description (see " "B(2)), which will affect all threads in the calling process as well as " "other processes that hold file descriptors referring to the same open file " "description." msgstr "" "يفعّل التشغيل غير المحظور؛ إذا كانت العملية ستحظر، يفشل الاستدعاء مع الخطأ " "B أو B. يوفر هذا سلوكًا مشابهًا لتعيين العلم " "B (عبر عملية B(2) B)، لكنه يختلف في أن " "B هو خيار لكل استدعاء، بينما B هو إعداد على وصف " "الملف المفتوح (انظر B(2))، مما سيؤثر على جميع الخيوط في العملية " "المستدعية بالإضافة إلى العمليات الأخرى التي تحمل واصفات ملفات تشير إلى نفس " "وصف الملف المفتوح." #. commit 9f6f9af7694ede6314bed281eec74d588ba9474f #. type: Plain text #: debian-trixie msgid "" "For raw (B), Internet datagram (since Linux 2.4.27/2.6.8), " "netlink (since Linux 2.6.22), and UNIX datagram as well as sequenced-packet " "(since Linux 3.4) sockets: return the real length of the packet or datagram, " "even when it was longer than the passed buffer." msgstr "" "للمقابس الخام (B)، ومخططات بيانات الإنترنت (منذ لينكس " "2.4.27/2.6.8)، وnetlink (منذ لينكس 2.6.22)، ومخططات بيانات UNIX بالإضافة إلى " "الحزم المتسلسلة (منذ لينكس 3.4): إعادة الطول الحقيقي للحزمة أو مخطط " "البيانات، حتى عندما كان أطول من المخزن المؤقت الممرر." #. type: Plain text #: debian-trixie msgid "" "B() places the received message into the buffer I. The " "caller must specify the size of the buffer in I." msgstr "" "تضع B() الرسالة المستلمة في المخزن المؤقت I. يجب على المستدعي " "تحديد حجم المخزن المؤقت في I." #. type: Plain text #: debian-trixie #, no-wrap msgid "recvfrom(fd, buf, len, flags, NULL, 0);\n" msgstr "recvfrom(fd, buf, len, flags, NULL, 0);\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "struct msghdr {\n" " void *msg_name; /* Optional address */\n" " socklen_t msg_namelen; /* Size of address */\n" " struct iovec *msg_iov; /* Scatter/gather array */\n" " size_t msg_iovlen; /* # elements in msg_iov */\n" " void *msg_control; /* Ancillary data, see below */\n" " size_t msg_controllen; /* Ancillary data buffer len */\n" " int msg_flags; /* Flags on received message */\n" "};\n" msgstr "" "struct msghdr {\n" " void *msg_name; /* Optional address */\n" " socklen_t msg_namelen; /* Size of address */\n" " struct iovec *msg_iov; /* Scatter/gather array */\n" " size_t msg_iovlen; /* # elements in msg_iov */\n" " void *msg_control; /* Ancillary data, see below */\n" " size_t msg_controllen; /* Ancillary data buffer len */\n" " int msg_flags; /* Flags on received message */\n" "};\n" #. type: Plain text #: debian-trixie msgid "" "The I field points to a caller-allocated buffer that is used to " "return the source address if the socket is unconnected. The caller should " "set I to the size of this buffer before this call; upon return " "from a successful call, I will contain the length of the " "returned address. If the application does not need to know the source " "address, I can be specified as NULL." msgstr "" "يشير حقل I إلى مخزن مؤقت مخصص من قبل المستدعي يُستخدم لإعادة عنوان " "المصدر إذا كان المقبس غير موصول. يجب على المستدعي تعيين I إلى " "حجم هذا المخزن قبل هذا الاستدعاء؛ عند العودة من استدعاء ناجح، سيحتوي " "I على طول العنوان المعاد. إذا لم يحتاج التطبيق إلى معرفة عنوان " "المصدر، يمكن تحديد I كـ NULL." #. type: Plain text #: debian-trixie msgid "" "The field I, which has length I, points to a " "buffer for other protocol control-related messages or miscellaneous " "ancillary data. When B() is called, I should " "contain the length of the available buffer in I; upon return " "from a successful call it will contain the length of the control message " "sequence." msgstr "" "حقل I، الذي له طول I، يشير إلى مخزن مؤقت لرسائل " "أخرى متعلقة بالتحكم في البروتوكول أو بيانات مساعدة متنوعة. عند استدعاء " "B()، يجب أن يحتوي I على طول المخزن المؤقت المتاح في " "I؛ عند العودة من استدعاء ناجح سيحتوي على طول تسلسل رسائل التحكم." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "indicates end-of-record; the data returned completed a record (generally " "used with sockets of type B)." msgstr "" "يشير إلى نهاية السجل؛ البيانات المعادة أكملت سجلًا (يُستخدم عمومًا مع مقابس من " "النوع B)." #. type: Plain text #: debian-trixie msgid "" "Datagram sockets in various domains (e.g., the UNIX and Internet domains) " "permit zero-length datagrams. When such a datagram is received, the return " "value is 0." msgstr "" "تسمح مقابس مخططات البيانات في مجالات مختلفة (مثل مجالي UNIX والإنترنت) " "بمخططات بيانات بطول صفري. عند استلام مثل هذا المخطط، تكون القيمة المعادة 0." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)." msgstr "POSIX.1-2001،‏ 4.4BSD (ظهر أولاً في 4.2BSD)." #. type: Plain text #: debian-trixie msgid "" "If a zero-length datagram is pending, B(2) and B() with a " "I argument of zero provide different behavior. In this circumstance, " "B(2) has no effect (the datagram remains pending), while B() " "consumes the pending datagram." msgstr "" "إذا كان هناك مخطط بيانات بطول صفري معلق، فإن B(2) و B() مع وسيطة " "I بقيمة صفر توفر سلوكًا مختلفًا. في هذه الحالة، لا تأثير لـ B(2) " "(يبقى مخطط البيانات معلقًا)، بينما تستهلك B() مخطط البيانات المعلق." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "17 نوفمبر 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, void >IB<[.>IB<], size_t >IB<,>\n" "B< int >IB<);>\n" "BIB<, void >IB<[restrict .>IB<], size_t >IB<,>\n" "B< int >IB<,>\n" "B< struct sockaddr *_Nullable restrict >IB<,>\n" "B< socklen_t *_Nullable restrict >IB<);>\n" "BIB<, struct msghdr *>IB<, int >IB<);>\n" msgstr "" "BIB<, void >IB<[.>IB<], size_t >IB<,>\n" "B< int >IB<);>\n" "BIB<, void >IB<[restrict .>IB<], size_t >IB<,>\n" "B< int >IB<,>\n" "B< struct sockaddr *_Nullable restrict >IB<,>\n" "B< socklen_t *_Nullable restrict >IB<);>\n" "BIB<, struct msghdr *>IB<, int >IB<);>\n" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "recvfrom(fd, buf, size, flags, NULL, 0);\n" msgstr "recvfrom(fd, buf, size, flags, NULL, 0);\n" #. type: TH #: mageia-cauldron #, no-wrap msgid "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"