# 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 "fopen" msgstr "fopen" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2025-09-21" msgstr "21 سبتمبر 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 "fopen, fdopen, freopen - stream open functions" msgstr "fopen, fdopen, freopen - دوال فتح الدفق" #. 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 "" "BIB<, const char *restrict >IB<);>\n" "BIB<, const char *>IB<);>\n" "BIB<, const char *restrict >IB<,>\n" "B< FILE *restrict >IB<);>\n" msgstr "" "BIB<, const char *restrict >IB<);>\n" "BIB<, const char *>IB<);>\n" "BIB<, const char *restrict >IB<,>\n" "B< FILE *restrict >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 " _POSIX_C_SOURCE\n" msgstr " _POSIX_C_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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The B() function opens the file whose name is the string pointed to " "by I and associates a stream with it." msgstr "" "تفتح الدالة B() الملف الذي اسمه هو سلسلة المحارف المشار إليها بواسطة " "I وتربط معه تدفقًا." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The argument I points to a string beginning with one of the following " "sequences (possibly followed by additional characters, as described below):" 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 "" "Open text file for reading. The stream is positioned at the beginning of " "the file." 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 "" "Open for reading and writing. The stream is positioned at the beginning of " "the file." 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 "" "Truncate file to zero length or create text file for writing. The stream is " "positioned at the beginning of the file." 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 "" "Open for reading and writing. The file is created if it does not exist, " "otherwise it is truncated. The stream is positioned at the beginning of the " "file." 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 "" "Open for appending (writing at end of file). The file is created if it does " "not exist. The stream is positioned at the end of the file." 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 "" "Open for reading and appending (writing at end of file). The file is " "created if it does not exist. Output is always appended to the end of the " "file. POSIX is silent on what the initial read position is when using this " "mode. For glibc, the initial file position for reading is at the beginning " "of the file, but for Android/BSD/MacOS, the initial file position for " "reading is at the end of the file." msgstr "" "فتح للقراءة والإلحاق (الكتابة في نهاية الملف). يُنشأ الملف إذا لم يكن موجودًا. " "يُلحق المخرجات دائمًا بنهاية الملف. لا يحدد POSIX موضع القراءة المبدئي عند " "استخدام هذا الوضع. بالنسبة لـ glibc، موضع الملف المبدئي للقراءة هو بداية " "الملف، ولكن بالنسبة لـ Android/BSD/MacOS، موضع الملف المبدئي للقراءة هو " "نهاية الملف." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I string can also include the letter \\[aq]b\\[aq] either as a " "last character or as a character between the characters in any of the two-" "character strings described above. This is strictly for compatibility with " "ISO C and has no effect; the \\[aq]b\\[aq] is ignored on all POSIX " "conforming systems, including Linux. (Other systems may treat text files " "and binary files differently, and adding the \\[aq]b\\[aq] may be a good " "idea if you do I/O to a binary file and expect that your program may be " "ported to non-UNIX environments.)" msgstr "" "يمكن أن تتضمن سلسلة المحارف I الحرف \\[aq]b\\[aq] إما كآخر حرف أو كحرف " "بين الأحرف في أي من سلاسل المحارف ذات الحرفين الموصوفة أعلاه. هذا فقط " "للتوافق مع ISO C وليس له أي تأثير؛ يُتجاهل \\[aq]b\\[aq] في جميع الأنظمة " "المتوافقة مع POSIX، بما في ذلك Linux. (قد تعالج الأنظمة الأخرى الملفات " "النصية والملفات الثنائية بشكل مختلف، وقد تكون إضافة \\[aq]b\\[aq] فكرة جيدة " "إذا كنت تقوم بالإدخال/الإخراج إلى ملف ثنائي وتتوقع أن يُنقل برنامجك إلى بيئات " "غير UNIX.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "See NOTES below for details of glibc extensions for I." msgstr "انظر الملاحظات أدناه لتفاصيل إضافات glibc لـ I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Any created file will have the mode B | B | B | " "B | B | B (0666), as modified by the process's " "umask value (see B(2))." msgstr "" "سيكون لأي ملف منشأ الوضع B | B | B | B | " "B | B (0666)، كما يُعدل بقيمة umask للعملية (انظر " "B(2))." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Reads and writes may be intermixed on read/write streams in any order. Note " "that ANSI C requires that a file positioning function intervene between " "output and input, unless an input operation encounters end-of-file. (If " "this condition is not met, then a read is allowed to return the result of " "writes other than the most recent.) Therefore it is good practice (and " "indeed sometimes necessary under Linux) to put an B(3) or " "B(3) operation between write and read operations on such a " "stream. This operation may be an apparent no-op (as in I called for its synchronizing side effect)." msgstr "" "قد تُخلط القراءات والكتابات على تدفقات القراءة/الكتابة بأي ترتيب. لاحظ أن " "ANSI C يتطلب أن تتدخل دالة تحديد موضع الملف بين الإخراج والإدخال، إلا إذا " "واجهت عملية إدخال نهاية الملف. (إذا لم يُستوف هذا الشرط، يُسمح للقراءة بإرجاع " "نتيجة كتابات غير الأحدث.) لذلك من الممارسة الجيدة (وأحيانًا ضرورية تحت Linux) " "وضع عملية 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 "" "Opening a file in append mode (B as the first character of I) " "causes all subsequent write operations to this stream to occur at end-of-" "file, as if preceded by the call:" msgstr "" "يؤدي فتح ملف في وضع الإلحاق (B كأول حرف من I) إلى حدوث جميع عمليات " "الكتابة اللاحقة لهذا الدفق في نهاية الملف، كما لو سبقها الاستدعاء:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fseek(stream, 0, SEEK_END);\n" msgstr "fseek(stream, 0, SEEK_END);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The file descriptor associated with the stream is opened as if by a call to " "B(2) with the following flags:" msgstr "" "يُفتح واصف الملف المرتبط بالدفق كما لو كان باستدعاء B(2) مع الأعلام " "التالية:" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fopen() mode" msgstr "نمط fopen()" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "open() flags" msgstr "أعلام open()" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "r" msgstr "r" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "O_RDONLY" msgstr "O_RDONLY" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "w" msgstr "w" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "O_WRONLY | O_CREAT | O_TRUNC" msgstr "O_WRONLY | O_CREAT | O_TRUNC" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "a" msgstr "a" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "O_WRONLY | O_CREAT | O_APPEND" msgstr "O_WRONLY | O_CREAT | O_APPEND" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "r+" msgstr "r+" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "O_RDWR" msgstr "O_RDWR" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "w+" msgstr "w+" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "O_RDWR | O_CREAT | O_TRUNC" msgstr "O_RDWR | O_CREAT | O_TRUNC" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "a+" msgstr "a+" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "O_RDWR | O_CREAT | O_APPEND" msgstr "O_RDWR | O_CREAT | O_APPEND" #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fdopen()" msgstr "fdopen()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function associates a stream with the existing file " "descriptor, I. The I of the stream (one of the values \"r\", \"r+" "\", \"w\", \"w+\", \"a\", \"a+\") must be compatible with the mode of the " "file descriptor. The file position indicator of the new stream is set to " "that belonging to I, and the error and end-of-file indicators are " "cleared. Modes \"w\" or \"w+\" do not cause truncation of the file. The " "file descriptor is not dup'ed, and will be closed when the stream created by " "B() is closed. The result of applying B() to a shared " "memory object is undefined." msgstr "" "تربط الدالة B() دفقًا بوصف الملف الموجود، I. يجب أن يكون I<نمط> " "الدفق (أحد القيم \"r\", \"r+\", \"w\", \"w+\", \"a\", \"a+\") متوافقًا مع " "نمط وصف الملف. يُضبط مؤشر موضع الملف للدفق الجديد على ذلك الذي ينتمي إلى " "I، وتُمسح مؤشرات الخطأ ونهاية الملف. لا تسبب الأنماط \"w\" أو \"w+\" " "اقتطاع الملف. لا يُنسخ وصف الملف، وسيُغلق عند إغلاق الدفق المنشأ بواسطة " "B(). نتيجة تطبيق B() على كائن ذاكرة مشتركة غير محددة." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "freopen()" msgstr "freopen()" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The B() function opens the file whose name is the string pointed " "to by I and associates the stream pointed to by I with it. " "The original stream (if it exists) is closed. The I argument is used " "just as in the B() function." msgstr "" "تفتح الدالة B() الملف الذي اسمه سلسلة المحارف المشار إليها بواسطة " "I وتربط الدفق المشار إليه بواسطة I به. يُغلق الدفق الأصلي (إن " "وُجد). يُستخدم معامل I<نمط> تمامًا كما في الدالة B()." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "If I is a null pointer, B() changes the mode of the stream " "to that specified in I; that is, B() reopens the pathname " "that is associated with the stream. The specification for this behavior was " "added in the C99 standard, which says:" msgstr "" "إذا كان I مؤشرًا فارغًا، تغير B() نمط الدفق إلى ذلك المحدد في " "I<نمط>؛ أي تعيد B() فتح اسم المسار المرتبط بالدفق. أُضيفت مواصفات " "هذا السلوك في معيار C99، الذي ينص:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In this case, the file descriptor associated with the stream need not be " "closed if the call to B() succeeds. It is implementation-defined " "which changes of mode are permitted (if any), and under what circumstances." msgstr "" "في هذه الحالة، لا يلزم إغلاق وصف الملف المرتبط بالدفق إذا نجحت استدعاء " "B(). يُعرّف حسب التنفيذ أي تغييرات النمط مسموح بها (إن وُجدت)، وتحت " "أي ظروف." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The primary use of the B() function is to change the file " "associated with a standard text stream (I, I, or I)." msgstr "" "الاستخدام الرئيسي للدالة B() هو تغيير الملف المرتبط بدفق نصي قياسي " "(I، I، أو I)." #. 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(), B(), and B() return " "a I pointer. Otherwise, NULL is returned and I is set to " "indicate the error." msgstr "" "عند الإكمال بنجاح، تُرجع B()، B()، و 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 "ERRORS" 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 I provided to B(), B(), or B() was " "invalid." msgstr "" "كان I<نمط> المقدم إلى 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 B(), B(), and B() functions may also fail and " "set I for any of the errors specified for the routine B(3)." msgstr "" "قد تفشل الدوال B() و B() و 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 "" "The B() function may also fail and set I for any of the " "errors specified for the routine B(2)." msgstr "" "قد تفشل الدالة B() أيضًا وتُعيِّن I لأي من الأخطاء المحددة للروتين " "B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function may also fail and set I for any of the " "errors specified for the routine B(2)." msgstr "" "قد تفشل الدالة B() أيضًا وتُعيِّن I لأي من الأخطاء المحددة " "للروتين B(2)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function may also fail and set I for any of the " "errors specified for the routines B(2), B(3), and B(3)." msgstr "" "قد تفشل الدالة B() أيضًا وتُعيِّن I لأي من الأخطاء المحددة " "للروتينات B(2) و B(3) و B(3)." #. 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(),\n" "B(),\n" "B()" msgstr "" "B()،\n" "B()،\n" "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: 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: TQ #: 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 "C11, POSIX.1-2008." msgstr "C11, POSIX.1-2008." #. 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 "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 "POSIX.1-2001, C89." msgstr "POSIX.1-2001، C89." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2001." msgstr "POSIX.1-2001." #. 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: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "glibc notes" msgstr "ملاحظات glibc" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The GNU C library allows the following extensions for the string specified " "in I:" msgstr "" "تسمح مكتبة C لجنو بالامتدادات التالية للسلسلة المحارف المحددة في I:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since glibc 2.3.3)" msgstr "B (منذ glibc 2.3.3)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Do not make the open operation, or subsequent read and write operations, " "thread cancelation points. This flag is ignored 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 (since glibc 2.7)" msgstr "B (منذ glibc 2.7)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Open the file with the B flag. See B(2) for more " "information. This flag is ignored for B()." msgstr "" "افتح الملف بالعلم B. انظر B(2) لمزيد من المعلومات. يُتجاهل " "هذا العلم لـ B()." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B (since glibc 2.3)" msgstr "B (منذ glibc 2.3)" #. As at glibc 2.4: #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Attempt to access the file using B(2), rather than I/O system calls " "(B(2), B(2)). Currently, use of B(2) is attempted only " "for a file opened for reading." msgstr "" "حاول الوصول إلى الملف باستخدام B(2)، بدلاً من استدعاءات النظام للإدخال/" "الإخراج (B(2)، B(2)). حاليًا، يُحاول استخدام B(2) فقط لملف " "مفتوح للقراءة." # type: TP #. 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" #. Since glibc 2.0? #. FIXME . C11 specifies this flag #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Open the file exclusively (like the B flag of B(2)). If the " "file already exists, B() fails, and sets I to B. " "This flag is ignored for B()." msgstr "" "افتح الملف حصريًا (مثل العلم B لـ B(2)). إذا كان الملف موجودًا " "بالفعل، تفشل B() وتُعيِّن I إلى B. يُتجاهل هذا العلم لـ " "B()." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In addition to the above characters, B() and B() support " "the following syntax in I:" msgstr "" "بالإضافة إلى المحارف أعلاه، تدعم B() و B() الصياغة التالية " "في I:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B< ,ccs=>I" msgstr "B< ,ccs=>I" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The given I is taken as the name of a coded character set and the " "stream is marked as wide-oriented. Thereafter, internal conversion " "functions convert I/O to and from the character set I. If the B<," "ccs=>I syntax is not specified, then the wide-orientation of the " "stream is determined by the first file operation. If that operation is a " "wide-character operation, the stream is marked wide-oriented, and functions " "to convert to the coded character set are loaded." msgstr "" "يُؤخذ I المُعطى كاسم لمجموعة محارف مُعمَّاة ويُوسم الدفق كموجه عريض. بعد " "ذلك، تُحوِّل دوال التحويل الداخلية الإدخال/الإخراج من وإلى مجموعة المحارف " "I. إذا لم تُحدد صياغة B<,ccs=>I، فتُحدد التوجيه العريض للتدفق " "بواسطة أول عملية ملف. إذا كانت تلك العملية عملية محرف عريض، يُوسم الدفق كموجه " "عريض، وتُحمَّل دوال للتحويل إلى مجموعة المحارف المُعمَّاة." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. FIXME . http://sourceware.org/bugzilla/show_bug.cgi?id=12685 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "When parsing for individual flag characters in I (i.e., the characters " "preceding the \"ccs\" specification), the glibc implementation of " "B() and B() limits the number of characters examined in " "I to 7 (or, before glibc 2.14, to 6, which was not enough to include " "possible specifications such as \"rb+cmxe\"). The current implementation of " "B() parses at most 5 characters in I." msgstr "" "عند تحليل محارف العلم الفردية في I (أي المحارف التي تسبق تحديد " "\"ccs\")، يُحدد تنفيذ glibc لـ B() و B() عدد المحارف المفحوصة " "في I إلى 7 (أو، قبل glibc 2.14، إلى 6، وهو ما لم يكن كافيًا لتضمين " "تحديدات محتملة مثل \"rb+cmxe\"). يُحلل التنفيذ الحالي لـ B() على " "الأكثر 5 محارف في I." #. 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(3), B(3), B(3), B(3), " "B(3)" msgstr "" "B(2), B(3), B(3), B(3), B(3), " "B(3)" #. 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 fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, const char *restrict >IB<);>\n" "BIB<, const char *>IB<);>\n" "BIB<, const char *restrict >IB<,>\n" "B< FILE *restrict >IB<);>\n" msgstr "" "BIB<, const char *restrict >IB<);>\n" "BIB<, const char *>IB<);>\n" "BIB<, const char *restrict >IB<,>\n" "B< FILE *restrict >IB<);>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The B() function opens the file whose name is the string pointed to " "by I and associates a stream with it." msgstr "" "تفتح الدالة B() الملف الذي اسمه هو سلسلة المحارف المشار إليها بواسطة " "I وتربط معه دفقًا." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Reads and writes may be intermixed on read/write streams in any order. Note " "that ANSI C requires that a file positioning function intervene between " "output and input, unless an input operation encounters end-of-file. (If " "this condition is not met, then a read is allowed to return the result of " "writes other than the most recent.) Therefore it is good practice (and " "indeed sometimes necessary under Linux) to put an B(3) or " "B(3) operation between write and read operations on such a " "stream. This operation may be an apparent no-op (as in I called for its synchronizing side effect)." msgstr "" "قد تختلط عمليات القراءة والكتابة على دفقات القراءة/الكتابة بأي ترتيب. لاحظ " "أن معيار ANSI C يتطلب أن تتدخل دالة تحديد موضع الملف بين الإخراج والإدخال، " "إلا إذا واجهت عملية الإدخال نهاية الملف. (إذا لم يُوفَ هذا الشرط، فقد يُسمَح " "لعملية القراءة بإرجاع نتيجة كتابات غير أحدثها.) لذلك من الممارسة الجيدة (وفي " "الواقع ضرورية أحيانًا تحت لينكس) وضع عملية B(3) أو B(3) بين " "عمليات الكتابة والقراءة على مثل هذا الدفق. قد تكون هذه العملية عديمة الفعل " "ظاهريًا (كما في I المُستدعاة لتأثيرها الجانبي " "المتزامن)." #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The B() function opens the file whose name is the string pointed " "to by I and associates the stream pointed to by I with " "it. The original stream (if it exists) is closed. The I argument is " "used just as in the B() function." msgstr "" "تفتح الدالة B() الملف الذي اسمه هو سلسلة المحارف المشار إليها " "بواسطة I وتربط معه الدفق المشار إليه بواسطة I. يُغلَق الدفق " "الأصلي (إن وُجد). تُستخدم وسيطة I تمامًا كما في الدالة B()." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If the I argument is a null pointer, B() changes the " "mode of the stream to that specified in I; that is, B() " "reopens the pathname that is associated with the stream. The specification " "for this behavior was added in the C99 standard, which says:" msgstr "" "إذا كانت وسيطة I مؤشرًا فارغًا، تُغير B() وضع الدفق إلى ذلك " "المُحدد في I؛ أي أن B() تعيد فتح اسم المسار المرتبط بالدفق. " "أُضيفت مواصفات هذا السلوك في معيار C99، الذي ينص:" #. 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 "صفحات دليل لينكس (لم تصدر بعد)"