# 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:23+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 "dup" msgstr "dup" #. 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 "dup, dup2, dup3 - duplicate a file descriptor" msgstr "dup, dup2, dup3 - نسخ واصف ملف" #. 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 Eunistd.hE>\n" msgstr "B<#include Eunistd.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<);>\n" "BIB<, int >IB<);>\n" msgstr "" "BIB<);>\n" "BIB<, int >IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" "B<#include Efcntl.hE> /* Definition of B constants */\n" "B<#include Eunistd.hE>\n" msgstr "" "B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n" "B<#include Efcntl.hE> /* تعريف ثوابت B */\n" "B<#include Eunistd.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<, int >IB<, int >IB<);>\n" msgstr "BIB<, int >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() system call allocates a new file descriptor that refers to the " "same open file description as the descriptor I. (For an explanation " "of open file descriptions, see B(2).) The new file descriptor number " "is guaranteed to be the lowest-numbered file descriptor that was unused in " "the calling process." 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 "" "After a successful return, the old and new file descriptors may be used " "interchangeably. Since the two file descriptors refer to the same open file " "description, they share file offset and file status flags; for example, if " "the file offset is modified by using B(2) on one of the file " "descriptors, the offset is also changed for the other file descriptor." msgstr "" "بعد العودة الناجحة، يمكن استخدام واصفات الملف القديمة والجديدة بالتبادل. " "نظرًا لأن واصفي الملف يشيران إلى نفس وصف الملف المفتوح، فإنهما يشاركان إزاحة " "الملف وأعلام حالة الملف؛ على سبيل المثال، إذا تم تعديل إزاحة الملف باستخدام " "B(2) على أحد واصفي الملف، فإن الإزاحة تتغير أيضًا لواصف الملف الآخر." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The two file descriptors do not share file descriptor flags (the close-on-" "exec flag). The close-on-exec flag (B; see B(2)) for " "the duplicate descriptor is off." msgstr "" "واصفا الملف لا يشاركان أعلام واصف الملف (علم الإغلاق عند التنفيذ). علم " "الإغلاق عند التنفيذ (B؛ انظر B(2)) للواصف المكرر يكون " "مغلقًا." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dup2()" msgstr "dup2()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() system call performs the same task as B(), but instead " "of using the lowest-numbered unused file descriptor, it uses the file " "descriptor number specified in I. In other words, the file " "descriptor I is adjusted so that it now refers to the same open file " "description as I." msgstr "" "نداء النظام B() يؤدي نفس مهمة B()، ولكن بدلاً من استخدام أقل واصف " "ملف غير مستخدم مرقم، فإنه يستخدم رقم واصف الملف المحدد في 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 file descriptor I was previously open, it is closed before " "being reused; the close is performed silently (i.e., any errors during the " "close are not reported by B())." msgstr "" "إذا كان واصف الملف I مفتوحًا سابقًا، فإنه يُغلق قبل إعادة استخدامه؛ يتم " "الإغلاق بصمت (أي، أي أخطاء أثناء الإغلاق لا تُبلغ عنها B())." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The steps of closing and reusing the file descriptor I are performed " "I. This is important, because trying to implement equivalent " "functionality using B(2) and B() would be subject to race " "conditions, whereby I might be reused between the two steps. Such " "reuse could happen because the main program is interrupted by a signal " "handler that allocates a file descriptor, or because a parallel thread " "allocates a file descriptor." msgstr "" "خطوات إغلاق وإعادة استخدام واصف الملف I تُنفذ I<ذريًا>. هذا مهم، لأن " "محاولة تنفيذ وظيفة مكافئة باستخدام B(2) و B() ستكون عرضة " "لحالات سباق، حيث قد يُعاد استخدام I بين الخطوتين. يمكن أن يحدث هذا " "إعادة الاستخدام لأن البرنامج الرئيسي يُقاطع بواسطة معالج إشارة يخصص واصف ملف، " "أو لأن خيطًا متوازيًا يخصص واصف ملف." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Note the following points:" msgstr "لاحظ النقاط التالية:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. 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 a valid file descriptor, then the call fails, and " "I is not closed." msgstr "" "إذا كان I ليس واصف ملف صالحًا، فإن النداء يفشل، ولا يُغلق 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 a valid file descriptor, and I has the same value as " "I, then B() does nothing, and returns I." msgstr "" "إذا كان I واصف ملف صالحًا، وكان I له نفس قيمة I، فإن " "B() لا يفعل شيئًا، ويعيد I." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dup3()" msgstr "dup3()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B() is the same as B(), except that:" msgstr "B() هو نفسه B()، باستثناء أن:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The caller can force the close-on-exec flag to be set for the new file " "descriptor by specifying B in I. See the description of " "the same flag in B(2) for reasons why this may be useful." msgstr "" "يمكن للمستدعي فرض تعيين علم الإغلاق عند التنفيذ لواصف الملف الجديد بتحديد " "B في I. انظر وصف نفس العلم في B(2) لأسباب قد تكون " "مفيدة." #. Ulrich Drepper, LKML, 2008-10-09: #. We deliberately decided on this change. Otherwise, what is the #. result of dup3(fd, fd, O_CLOEXEC)? #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I equals I, then B() fails with the error B." msgstr "" "إذا كان I يساوي I، فإن B() يفشل مع الخطأ 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 "" "On success, these system calls return the new file descriptor. On error, -1 " "is returned, and I is set to indicate the error." msgstr "" "عند النجاح، تعيد نداءات النظام هذه واصف الملف الجديد. عند الخطأ، يُعاد -1، " "ويُضبط 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 "I isn't an open file descriptor." msgstr "I ليس واصف ملف مفتوح." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "I is out of the allowed range for file descriptors (see the " "discussion of B in B(2))." msgstr "" "I خارج النطاق المسموح لواصفات الملف (انظر مناقشة 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" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "(Linux only) This may be returned by B() or B() during a race " "condition with B(2) and B()." msgstr "" "(لينكس فقط) قد يُعاد هذا بواسطة B() أو 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" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() or B() call was interrupted by a signal; see " "B(7)." msgstr "نداء B() أو B() قُطع بواسطة إشارة؛ انظر 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" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "(B()) I contain an invalid value." msgstr "(B()) I يحتوي على قيمة غير صالحة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "(B()) I was equal to I." msgstr "(B()) I كان مساويًا لـ 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 "" "The per-process limit on the number of open file descriptors has been " "reached (see the discussion of B in B(2))." msgstr "" "تم الوصول إلى الحد لكل عملية لعدد واصفات الملف المفتوحة (انظر مناقشة " "B في B(2))." #. type: TP #: archlinux 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 fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed msgid "Insufficient kernel memory was available." msgstr "ذاكرة النواة المتوفرة غير كافية." #. 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: 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()" #. SVr4 documents additional #. EINTR and ENOLINK error conditions. POSIX.1 adds EINTR. #. The EBUSY return is Linux-specific. #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "4.3BSD, SVr4, POSIX.1-1988." msgstr "4.3BSD، SVr4، POSIX.1-1988." #. 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 "POSIX.1-2024. Linux 2.6.27, glibc 2.9." msgstr "POSIX.1-2024. Linux 2.6.27, glibc 2.9." #. 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 "" "The error returned by B() is different from that returned by " "B..., B, ...B<)> when I is out of range. On some " "systems, B() also sometimes returns B like B." msgstr "" "الخطأ الذي تعيده B() يختلف عن ذلك الذي تعيده B..., " "B, ...B<)> عندما يكون 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 "" "If I was open, any errors that would have been reported at " "B(2) time are lost. If this is of concern, then\\[em]unless the " "program is single-threaded and does not allocate file descriptors in signal " "handlers\\[em]the correct approach is I to close I before " "calling B(), because of the race condition described above. Instead, " "code something like the following could be used:" msgstr "" "إذا كان I مفتوحًا، فإن أي أخطاء كان سيُبلغ عنها في وقت B(2) " "تُفقد. إذا كان هذا مقلقًا، فإن\\[em]ما لم يكن البرنامج أحادي الخيط ولا يخصص " "واصفات ملف في معالجات الإشارات\\[em]النهج الصحيح هو I<عدم> إغلاق I " "قبل استدعاء B()، بسبب حالة السباق الموصوفة أعلاه. بدلاً من ذلك، يمكن " "استخدام كود مثل التالي:" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "/* Obtain a duplicate of \\[aq]newfd\\[aq] that can subsequently\n" " be used to check for close() errors; an EBADF error\n" " means that \\[aq]newfd\\[aq] was not open. */\n" "\\&\n" "tmpfd = dup(newfd);\n" "if (tmpfd == -1 && errno != EBADF) {\n" " /* Handle unexpected dup() error. */\n" "}\n" "\\&\n" "/* Atomically duplicate \\[aq]oldfd\\[aq] on \\[aq]newfd\\[aq]. */\n" "\\&\n" "if (dup2(oldfd, newfd) == -1) {\n" " /* Handle dup2() error. */\n" "}\n" "\\&\n" "/* Now check for close() errors on the file originally\n" " referred to by \\[aq]newfd\\[aq]. */\n" "\\&\n" "if (tmpfd != -1) {\n" " if (close(tmpfd) == -1) {\n" " /* Handle errors from close. */\n" " }\n" "}\n" msgstr "" "/* Obtain a duplicate of \\[aq]newfd\\[aq] that can subsequently\n" " be used to check for close() errors; an EBADF error\n" " means that \\[aq]newfd\\[aq] was not open. */\n" "\\&\n" "tmpfd = dup(newfd);\n" "if (tmpfd == -1 && errno != EBADF) {\n" " /* Handle unexpected dup() error. */\n" "}\n" "\\&\n" "/* Atomically duplicate \\[aq]oldfd\\[aq] on \\[aq]newfd\\[aq]. */\n" "\\&\n" "if (dup2(oldfd, newfd) == -1) {\n" " /* Handle dup2() error. */\n" "}\n" "\\&\n" "/* Now check for close() errors on the file originally\n" " referred to by \\[aq]newfd\\[aq]. */\n" "\\&\n" "if (tmpfd != -1) {\n" " if (close(tmpfd) == -1) {\n" " /* Handle errors from close. */\n" " }\n" "}\n" #. 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)" msgstr "B(2), B(2), B(2), B(2)" #. 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 msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Linux." msgstr "لينكس." #. SVr4 documents additional #. EINTR and ENOLINK error conditions. POSIX.1 adds EINTR. #. The EBUSY return is Linux-specific. #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "POSIX.1-2001, SVr4, 4.3BSD." msgstr "POSIX.1-2001، SVr4، 4.3BSD." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "Linux 2.6.27, glibc 2.9." msgstr "لينكس 2.6.27، glibc 2.9." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "/* Obtain a duplicate of \\[aq]newfd\\[aq] that can subsequently\n" " be used to check for close() errors; an EBADF error\n" " means that \\[aq]newfd\\[aq] was not open. */\n" "\\&\n" "tmpfd = dup(newfd);\n" "if (tmpfd == -1 && errno != EBADF) {\n" " /* Handle unexpected dup() error. */\n" "}\n" "\\&\n" "/* Atomically duplicate \\[aq]oldfd\\[aq] on \\[aq]newfd\\[aq]. */\n" "\\&\n" "if (dup2(oldfd, newfd) == -1) {\n" " /* Handle dup2() error. */\n" "}\n" "\\&\n" "/* Now check for close() errors on the file originally\n" " referred to by \\[aq]newfd\\[aq]. */\n" "\\&\n" "if (tmpfd != -1) {\n" " if (close(tmpfd) == -1) {\n" " /* Handle errors from close. */\n" " }\n" "}\n" msgstr "" "/* Obtain a duplicate of \\[aq]newfd\\[aq] that can subsequently\n" " be used to check for close() errors; an EBADF error\n" " means that \\[aq]newfd\\[aq] was not open. */\n" "\\&\n" "tmpfd = dup(newfd);\n" "if (tmpfd == -1 && errno != EBADF) {\n" " /* Handle unexpected dup() error. */\n" "}\n" "\\&\n" "/* Atomically duplicate \\[aq]oldfd\\[aq] on \\[aq]newfd\\[aq]. */\n" "\\&\n" "if (dup2(oldfd, newfd) == -1) {\n" " /* Handle dup2() error. */\n" "}\n" "\\&\n" "/* Now check for close() errors on the file originally\n" " referred to by \\[aq]newfd\\[aq]. */\n" "\\&\n" "if (tmpfd != -1) {\n" " if (close(tmpfd) == -1) {\n" " /* Handle errors from close. */\n" " }\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-01" msgstr "1 نوفمبر 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 "صفحات دليل لينكس (لم تصدر بعد)"