# 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\n" "POT-Creation-Date: 2026-06-05 06:24+0200\n" "PO-Revision-Date: 2026-06-03 04:49+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" ".MIME-Version: 1.0\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 "fmemopen" msgstr "fmemopen" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2026-02-08" msgstr "8 فبراير 2026" #. 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 "fmemopen - open memory as stream" msgstr "fmemopen - فتح الذاكرة كدفق" #. 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 Estdio.hE>\n" msgstr "B<#include Estdio.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t size;\n" "B< void >IB<[>IB<], size_t >IB<, const char *>IB<);>\n" msgstr "" "Bsize_t size;\n" "B< void >IB<[>IB<], size_t >IB<, const char *>IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B(7)):" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B():" msgstr "B():" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" " Since glibc 2.10:\n" " _POSIX_C_SOURCE E= 200809L\n" " Before glibc 2.10:\n" " _GNU_SOURCE\n" msgstr "" " منذ glibc 2.10:\n" " _POSIX_C_SOURCE E= 200809L\n" " قبل glibc 2.10:\n" " _GNU_SOURCE\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() function opens a stream that permits the access specified " "by I. The stream allows I/O to be performed on the string or memory " "buffer pointed to by I." msgstr "" "تفتح الدالة 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 I argument specifies the semantics of I/O on the stream, and is " "one of the following:" msgstr "يُحدد المعامل I دلالات الإدخال/الإخراج على الدفق، وهو أحد التالي:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The stream is opened for reading." msgstr "يُفتح الدفق للقراءة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The stream is opened for writing." msgstr "يُفتح الدفق للكتابة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Append; open the stream for writing, with the initial buffer position set to " "the first null byte." msgstr "" "إلحاق؛ يُفتح الدفق للكتابة، مع تعيين موضع المخبأ المبدئي إلى أول بايت فارغ." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Open the stream for reading and writing." msgstr "يُفتح الدفق للقراءة والكتابة." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Open the stream for reading and writing. The buffer contents are truncated " "(i.e., \\[aq]\\[rs]0\\[aq] is placed in the first byte of the buffer)." msgstr "" "يُفتح الدفق للقراءة والكتابة. تُقتطع محتويات المخبأ (أي، يُوضع " "\\[aq]\\[rs]0\\[aq] في أول بايت من المخبأ)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Append; open the stream for reading and writing, with the initial buffer " "position set to the first null byte." msgstr "" "إلحاق؛ يُفتح الدفق للقراءة والكتابة، مع تعيين موضع المخبأ المبدئي إلى أول " "بايت فارغ." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The stream maintains the notion of a current position, the location where " "the next I/O operation will be performed. The current position is " "implicitly updated by I/O operations. It can be explicitly updated using " "B(3), and determined using B(3). In all modes other than " "append, the initial position is set to the start of the buffer. In append " "mode, if no null byte is found within the buffer, then the initial position " "is I." msgstr "" "يحتفظ الدفق بمفهوم الموضع الحالي، وهو الموقع الذي ستُجرى فيه عملية الإدخال/" "الإخراج التالية. يُحدّث الموضع الحالي ضمنيًا بواسطة عمليات الإدخال/الإخراج. " "يمكن تحديثه صراحةً باستخدام B(3)، وتحديده باستخدام B(3). في " "جميع الأوضاع عدا الإلحاق، يُعيّن الموضع المبدئي إلى بداية المخبأ. في وضع " "الإلحاق، إذا لم يُعثر على بايت فارغ داخل المخبأ، فإن الموضع المبدئي يكون " "I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is specified as NULL, then B() allocates a buffer of " "I bytes. This is useful for an application that wants to write data " "to a temporary buffer and then read it back again. The initial position is " "set to the start of the buffer. The buffer is automatically freed when the " "stream is closed. Note that the caller has no way to obtain a pointer to " "the temporary buffer allocated by this call (but see B(3))." msgstr "" "إذا حُدد I كـ NULL، فإن B() تخصص مخبأً بحجم I بايت. هذا " "مفيد لتطبيق يريد كتابة بيانات إلى مخبأ مؤقت ثم قراءتها مرة أخرى. يُعيّن الموضع " "المبدئي إلى بداية المخبأ. يُحرّر المخبأ آليًا عند إغلاق الدفق. لاحظ أنه لا توجد " "طريقة للمتصل للحصول على مؤشر إلى المخبأ المؤقت المُخصص بواسطة هذه الاستدعاء " "(لكن انظر B(3))." #. 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, then it should point to a buffer of at least I " "bytes allocated by the caller." msgstr "" "إذا لم يكن I NULL، فيجب أن يشير إلى مخبأ بحجم 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 that has been opened for writing is flushed (B(3)) or " "closed (B(3)), a null byte is written at the end of the buffer if " "there is space. The caller should ensure that an extra byte is available in " "the buffer (and that I counts that byte) to allow for this." msgstr "" "عندما يُمسح دفق فُتح للكتابة (B(3)) أو يُغلق (B(3))، يُكتب بايت " "فارغ في نهاية المخبأ إذا وُجدت مساحة. يجب على المتصل ضمان توفر بايت إضافي في " "المخبأ (وأن I يحسب ذلك البايت) للسماح بذلك." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In a stream opened for reading, null bytes (\\[aq]\\[rs]0\\[aq]) in the " "buffer do not cause read operations to return an end-of-file indication. A " "read from the buffer will indicate end-of-file only when the current buffer " "position advances I bytes past the start of the buffer." msgstr "" "في دفق فُتح للقراءة، لا تتسبب البايتات الفارغة (\\[aq]\\[rs]0\\[aq]) في " "المخبأ في إرجاع عمليات القراءة لإشارة نهاية الملف. ستشير قراءة من المخبأ إلى " "نهاية الملف فقط عندما يتقدم موضع المخبأ الحالي I بايت بعد بداية المخبأ." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Write operations take place either at the current position (for modes other " "than append), or at the current size of the stream (for append modes)." msgstr "" "تحدث عمليات الكتابة إما في الموضع الحالي (للأوضاع غير الإلحاق)، أو في الحجم " "الحالي للدفق (لوضع الإلحاق)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Attempts to write more than I bytes to the buffer result in an error. " "By default, such errors will be visible (by the absence of data) only when " "the I buffer is flushed. Disabling buffering with the following call " "may be useful to detect errors at the time of an output operation:" msgstr "" "تؤدي محاولات كتابة أكثر من I بايت إلى المخبأ إلى خطأ. مبدئيًا، ستكون " "هذه الأخطاء مرئية (بغياب البيانات) فقط عند مسح مخبأ I. قد يكون تعطيل " "التخزين المؤقت بالاستدعاء التالي مفيدًا لاكتشاف الأخطاء في وقت عملية الإخراج:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "setbuf(stream, NULL);\n" msgstr "setbuf(stream, NULL);\n" #. 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 "" "Upon successful completion, B() returns a I pointer. " "Otherwise, NULL is returned and I is set to indicate the error." msgstr "" "عند الإكمال بنجاح، تُرجع B() مؤشر I. وإلا، يُرجع NULL ويُعيّن " "I للإشارة إلى الخطأ." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "السمات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For an explanation of the terms used in this section, see B(7)." msgstr "" "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B(7)." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "الواجهة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "السمة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "القيمة" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()," msgstr "B()،" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "سلامة الخيوط" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 1.0.x. POSIX.1-2008." msgstr "glibc 1.0.x. POSIX.1-2008." #. http://austingroupbugs.net/view.php?id=396 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "POSIX.1-2008 specifies that \\[aq]b\\[aq] in I shall be ignored. " "However, Technical Corrigendum 1 adjusts the standard to allow " "implementation-specific treatment for this case, thus permitting the glibc " "treatment of \\[aq]b\\[aq]." msgstr "" "يحدد POSIX.1-2008 أن \\[aq]b\\[aq] في I يجب تجاهله. ومع ذلك، يعدل " "التصحيح التقني 1 المعيار للسماح بمعالجة خاصة بالتنفيذ لهذه الحالة، مما يسمح " "بمعالجة glibc لـ \\[aq]b\\[aq]." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "With glibc 2.22, binary mode (see below) was removed, many longstanding bugs " "in the implementation of B() were fixed, and a new versioned " "symbol was created for this interface." msgstr "" "مع glibc 2.22، أُزيل الوضع الثنائي (انظر أدناه)، وثُبتت العديد من الأخطاء " "القديمة في تنفيذ B()، وأُنشئ رمز جديد مُرقّم لهذه الواجهة." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Binary mode" msgstr "الوضع الثنائي" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "From glibc 2.9 to glibc 2.21, the glibc implementation of B() " "supported a \"binary\" mode, enabled by specifying the letter \\[aq]b\\[aq] " "as the second character in I. In this mode, writes don't implicitly " "add a terminating null byte, and B(3) B is relative to the " "end of the buffer (i.e., the value specified by the I argument), " "rather than the current string length." msgstr "" "من glibc 2.9 إلى glibc 2.21، دعم تنفيذ glibc لـ B() وضعًا " "\"ثنائيًا\"، يُفعّل بتحديد الحرف \\[aq]b\\[aq] كالحرف الثاني في I. في " "هذا الوضع، لا تُضيف عمليات الكتابة ضمنيًا بايت فارغ ختامي، ويكون B(3) " "B نسبيًا لنهاية المخزن المؤقت (أي القيمة المحددة بواسطة وسيط " "I)، بدلاً من طول السلسلة الحالي." #. http://sourceware.org/bugzilla/show_bug.cgi?id=12836 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "An API bug afflicted the implementation of binary mode: to specify binary " "mode, the \\[aq]b\\[aq] must be the I character in I. Thus, " "for example, \"wb+\" has the desired effect, but \"w+b\" does not. This is " "inconsistent with the treatment of I by B(3)." msgstr "" "أصاب خطأ API تنفيذ الوضع الثنائي: لتحديد الوضع الثنائي، يجب أن يكون " "\\[aq]b\\[aq] الحرف I<الثاني> في I. وبالتالي، على سبيل المثال، \"wb+" "\" له التأثير المطلوب، لكن \"w+b\" ليس له. هذا غير متسق مع معالجة I " "بواسطة B(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Binary mode was removed in glibc 2.22; a \\[aq]b\\[aq] specified in I " "has no effect." msgstr "" "أُزيل الوضع الثنائي في glibc 2.22؛ ليس لـ \\[aq]b\\[aq] المحدد في I أي " "تأثير." #. 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "There is no file descriptor associated with the file stream returned by this " "function (i.e., B(3) will return an error if called on the returned " "stream)." msgstr "" "لا يوجد واصف ملف مرتبط بدفق الملف المُعاد بواسطة هذه الدالة (أي، سيعيد " "B(3) خطأً إذا استُدعي على الدفق المُعاد)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. http://sourceware.org/bugzilla/show_bug.cgi?id=11216 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before glibc 2.22, if I is specified as zero, B() fails " "with the error B. It would be more consistent if this case " "successfully created a stream that then returned end-of-file on the first " "attempt at reading; since glibc 2.22, the glibc implementation provides that " "behavior." msgstr "" "قبل glibc 2.22، إذا حُدد I كصفر، يفشل B() مع الخطأ " "B. سيكون أكثر اتساقًا إذا أنشأت هذه الحالة بنجاح دفقًا يعيد بعد ذلك " "نهاية الملف عند أول محاولة قراءة؛ منذ glibc 2.22، يوفر تنفيذ glibc هذا " "السلوك." #. http://sourceware.org/bugzilla/show_bug.cgi?id=13152 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before glibc 2.22, specifying append mode (\"a\" or \"a+\") for " "B() sets the initial buffer position to the first null byte, but " "(if the current position is reset to a location other than the end of the " "stream) does not force subsequent writes to append at the end of the " "stream. This bug is fixed in glibc 2.22." msgstr "" "قبل glibc 2.22، تحديد وضع الإلحاق (\"a\" أو \"a+\") لـ B() يضبط " "موضع المخزن المؤقت المبدئي على أول بايت فارغ، لكن (إذا أُعيد ضبط الموضع " "الحالي إلى موقع غير نهاية الدفق) لا يُجبر عمليات الكتابة اللاحقة على الإلحاق " "في نهاية الدفق. ثُبت هذا الخطأ في glibc 2.22." #. http://sourceware.org/bugzilla/show_bug.cgi?id=13151 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before glibc 2.22, if the I argument to B() specifies " "append (\"a\" or \"a+\"), and the I argument does not cover a null " "byte in I, then, according to POSIX.1-2008, the initial buffer position " "should be set to the next byte after the end of the buffer. However, in " "this case the glibc B() sets the buffer position to -1. This bug " "is fixed in glibc 2.22." msgstr "" "قبل glibc 2.22، إذا حدد وسيط I لـ B() الإلحاق (\"a\" أو \"a+" "\")، ولا يغطي وسيط I بايتًا فارغًا في I، فوفقًا لـ POSIX.1-2008، يجب " "ضبط موضع المخزن المؤقت المبدئي على البايت التالي بعد نهاية المخزن المؤقت. " "ومع ذلك، في هذه الحالة يضبط glibc B() موضع المخزن المؤقت على -1. " "ثُبت هذا الخطأ في glibc 2.22." #. https://sourceware.org/bugzilla/show_bug.cgi?id=14292 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before glibc 2.22, when a call to B(3) with a I value of " "B was performed on a stream created by B(), the " "I was I from the end-of-stream position, instead of " "being added. This bug is fixed in glibc 2.22." msgstr "" "قبل glibc 2.22، عندما أُجري استدعاء لـ B(3) بقيمة I من " "B على دفق أُنشئ بواسطة B()، كان I I<يُطرح> من موضع " "نهاية الدفق، بدلاً من أن يُضاف. ثُبت هذا الخطأ في glibc 2.22." #. http://sourceware.org/bugzilla/show_bug.cgi?id=6544 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The glibc 2.9 addition of \"binary\" mode for B() silently " "changed the ABI: previously, B() ignored \\[aq]b\\[aq] in I." msgstr "" "غيّرت إضافة glibc 2.9 للوضع \"الثنائي\" لـ B() ABI بصمت: سابقًا، " "تجاهل B() \\[aq]b\\[aq] في I." #. 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 "" "The program below uses B() to open an input buffer, and " "B(3) to open a dynamically sized output buffer. The " "program scans its input string (taken from the program's first command-line " "argument) reading integers, and writes the squares of these integers to the " "output buffer. An example of the output produced by this program is the " "following:" msgstr "" "يستخدم البرنامج أدناه B() لفتح مخزن إدخال مؤقت، و " "B(3) لفتح مخزن إخراج مؤقت ذي حجم ديناميكي. يمسح البرنامج " "سلسلة إدخاله (المأخوذة من وسيط سطر الأوامر الأول للبرنامج) لقراءة الأعداد " "الصحيحة، ويكتب مربعات هذه الأعداد الصحيحة إلى مخزن الإخراج المؤقت. مثال على " "المخرجات التي ينتجها هذا البرنامج هو التالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "$B< ./a.out \\[aq]1 23 43\\[aq]>\n" "size=11; ptr=1 529 1849\n" msgstr "" "$B< ./a.out \\[aq]1 23 43\\[aq]>\n" "size=11; ptr=1 529 1849\n" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Program source" msgstr "مصدر البرنامج" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Eerr.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " FILE *out, *in;\n" " int v, s;\n" " size_t size;\n" " char *ptr;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s \\[aq]EnumE...\\[aq]\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " in = fmemopen(argv[1], strlen(argv[1]), \"r\");\n" " if (in == NULL)\n" " err(EXIT_FAILURE, \"fmemopen\");\n" "\\&\n" " out = open_memstream(&ptr, &size);\n" " if (out == NULL)\n" " err(EXIT_FAILURE, \"open_memstream\");\n" "\\&\n" " for (;;) {\n" " s = fscanf(in, \"%d\", &v);\n" " if (s E= 0)\n" " break;\n" "\\&\n" " s = fprintf(out, \"%d \", v * v);\n" " if (s == -1)\n" " err(EXIT_FAILURE, \"fprintf\");\n" " }\n" "\\&\n" " fclose(in);\n" " fclose(out);\n" "\\&\n" " printf(\"size=%zu; ptr=%s\\[rs]n\", size, ptr);\n" "\\&\n" " free(ptr);\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Eerr.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " FILE *out, *in;\n" " int v, s;\n" " size_t size;\n" " char *ptr;\n" "\\&\n" " if (argc != 2) {\n" " fprintf(stderr, \"Usage: %s \\[aq]EnumE...\\[aq]\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " in = fmemopen(argv[1], strlen(argv[1]), \"r\");\n" " if (in == NULL)\n" " err(EXIT_FAILURE, \"fmemopen\");\n" "\\&\n" " out = open_memstream(&ptr, &size);\n" " if (out == NULL)\n" " err(EXIT_FAILURE, \"open_memstream\");\n" "\\&\n" " for (;;) {\n" " s = fscanf(in, \"%d\", &v);\n" " if (s E= 0)\n" " break;\n" "\\&\n" " s = fprintf(out, \"%d \", v * v);\n" " if (s == -1)\n" " err(EXIT_FAILURE, \"fprintf\");\n" " }\n" "\\&\n" " fclose(in);\n" " fclose(out);\n" "\\&\n" " printf(\"size=%zu; ptr=%s\\[rs]n\", size, ptr);\n" "\\&\n" " free(ptr);\n" " exit(EXIT_SUCCESS);\n" "}\n" #. SRC END #. 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(3), B(3), B(3)" msgstr "B(3)، B(3)، B(3)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-15" msgstr "15 يونيو 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 fedora-44 fedora-rawhide #, no-wrap msgid "BIB<[.>IB<], size_t >IB<, const char *>IB<);>\n" msgstr "BIB<[.>IB<], size_t >IB<, const char *>IB<);>\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-07-23" msgstr "23 يوليو 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. 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 "صفحات دليل لينكس (لم تصدر بعد)"