# 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:42+0200\n" "PO-Revision-Date: 2026-06-03 19:31+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 "scandir" msgstr "scandir" #. 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 "" "scandir, scandirat, alphasort, versionsort - scan a directory for matching " "entries" msgstr "" "scandir, scandirat, alphasort, versionsort - مسح دليل للبحث عن مدخلات مطابقة" #. 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 Edirent.hE>\n" msgstr "B<#include Edirent.hE>\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<,>\n" "B< struct dirent ***restrict >IB<,>\n" "B< typeof(int (const struct dirent *)) *>IB<,>\n" "B\n" "B< *>IB<);>\n" msgstr "" "BIB<,>\n" "B< struct dirent ***restrict >IB<,>\n" "B< typeof(int (const struct dirent *)) *>IB<,>\n" "B\n" "B< *>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 "" "BIB<, const struct dirent **>IB<);>\n" "BIB<, const struct dirent **>IB<);>\n" msgstr "" "BIB<, const struct dirent **>IB<);>\n" "BIB<, const struct dirent **>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<#include Efcntl.hE> /* Definition of AT_* constants */\n" "B<#include Edirent.hE>\n" msgstr "" "B<#include Efcntl.hE> /* تعريف ثوابت AT_* */\n" "B<#include Edirent.hE>\n" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, const char *restrict >IB<,>\n" "B< struct dirent ***restrict >IB<,>\n" "B< typeof(int (const struct dirent *)) *>IB<,>\n" "B\n" "B< *>IB<);>\n" msgstr "" "BIB<, const char *restrict >IB<,>\n" "B< struct dirent ***restrict >IB<,>\n" "B< typeof(int (const struct dirent *)) *>IB<,>\n" "B\n" "B< *>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(), B():" msgstr "B(), 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: */ _POSIX_C_SOURCE E= 200809L\n" " || /* glibc E= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" msgstr "" " /* منذ glibc 2.10: */ _POSIX_C_SOURCE E= 200809L\n" " || /* glibc E= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" #. 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 " _GNU_SOURCE\n" msgstr " _GNU_SOURCE\n" #. 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: 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 scans the directory I, calling I() " "on each directory entry. Entries for which I() returns nonzero are " "stored in strings allocated via B(3), sorted using B(3) with " "the comparison function I(), and collected in array I " "which is allocated via B(3). If I is NULL, all entries are " "selected." msgstr "" "تفحص الدالة B() الدليل I، وتستدعي I() على كل مدخل " "دليل. تُخزَّن المدخلات التي تُرجع I() قيمة غير صفرية في سلاسل محارف " "مخصصة عبر B(3)، وتُرتَّب باستخدام B(3) مع دالة المقارنة " "I()، وتُجمَع في مصفوفة I المخصصة عبر B(3). إذا كان " "I NULL، تُحدد جميع المدخلات." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() and B() functions can be used as the " "comparison function I(). The former sorts directory entries using " "B(3), the latter using B(3) on the strings I<(*a)-" "Ed_name> and I<(*b)-Ed_name>." msgstr "" "يمكن استخدام الدالتين B() و B() كدالة مقارنة " "I(). ترتب الأولى مدخلات الدليل باستخدام B(3)، والثانية " "باستخدام B(3) على السلاسل I<(*a)-Ed_name> و I<(*b)-" "Ed_name>." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "scandirat()" msgstr "scandirat()" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function operates in exactly the same way as " "B(), except for the differences described here." msgstr "" "تعمل الدالة B() بنفس طريقة B() تمامًا، باستثناء " "الاختلافات الموصوفة هنا." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "If I is relative, then it is interpreted relative to the directory " "referred to by the file descriptor I (rather than relative to the " "current working directory of the calling process, as is done by " "B() for a relative pathname)." msgstr "" "إذا كان I نسبيًا، فسيُفسَّر بالنسبة إلى الدليل المشار إليه بواصف الملف " "I (بدلاً من دليل العمل الحالي للعملية المستدعية، كما تفعل " "B() لمسار نسبي)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I is relative and I is the special value B, then " "I is interpreted relative to the current working directory of the " "calling process (like B())." msgstr "" "إذا كان I نسبيًا و I هو القيمة الخاصة B، فسيُفسَّر " "I بالنسبة إلى دليل العمل الحالي للعملية المستدعية (مثل B())." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "If I is absolute, then I is ignored." msgstr "إذا كان I مطلقًا، فسيُتجاهل I." #. 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 an explanation of the need for B()." msgstr "انظر B(2) لشرح الحاجة إلى 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 "" "The B() function returns the number of directory entries " "selected. On error, -1 is returned, with I set to indicate the error." msgstr "" "تُرجع الدالة B() عدد مدخلات الدليل المحددة. عند حدوث خطأ، تُرجع -1، " "مع تعيين I للإشارة إلى الخطأ." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() and B() functions return an integer less " "than, equal to, or greater than zero if the first argument is considered to " "be respectively less than, equal to, or greater than the second." msgstr "" "تُرجع الدالتان B() و B() عددًا صحيحًا أقل من، أو " "يساوي، أو أكبر من الصفر إذا كانت الوسيطة الأولى تُعتبر على التوالي أقل من، أو " "تساوي، أو أكبر من الثانية." #. 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 "" "(B()) I is relative but I is neither B " "nor a valid file descriptor." msgstr "" "(B()) 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The path in I does not exist." 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 "Insufficient memory to complete the operation." 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 path in I is not a directory." msgstr "المسار في I ليس دليلاً." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "(B()) I is relative and I is a file descriptor " "referring to a file other than a directory." msgstr "" "(B()) I نسبي و 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(),\n" "B()" msgstr "" "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: 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()" msgstr "" "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 "MT-Safe locale" msgstr "المنطقة (locale) آمنة لتعدد المسالك (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 "POSIX.1-2008." msgstr "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: 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 "GNU." msgstr "GNU." #. 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 "4.3BSD, POSIX.1-2008." msgstr "4.3BSD، POSIX.1-2008." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 2.1." msgstr "glibc 2.1." #. .P #. The functions #. .BR scandir () #. and #. .BR alphasort () #. are from 4.3BSD, and have been available under Linux since libc4. #. Libc4 and libc5 use the more precise prototype #. .sp #. .nf #. int alphasort(const struct dirent ** a, #. const struct dirent **b); #. .fi #. .sp #. but glibc 2.0 returns to the imprecise BSD prototype. #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 2.15." msgstr "glibc 2.15." #. 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 "" "Since glibc 2.1, B() calls B(3); earlier it used " "B(3)." msgstr "" "منذ glibc 2.1، تستدعي B() الدالة B(3)؛ سابقًا كانت " "تستخدم B(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before glibc 2.10, the two arguments of B() and " "B() were typed as I. When B() was " "standardized in POSIX.1-2008, the argument type was specified as the type-" "safe I, and glibc 2.10 changed the definition of " "B() (and the nonstandard B()) to match the " "standard." msgstr "" "قبل glibc 2.10، كانت الوسيطتان للدالتين B() و B() " "مكتوبتين كـ I. عندما تم توحيد B() في " "POSIX.1-2008، تم تحديد نوع الوسيطة كـ I الآمن من " "حيث النوع، وغيّر glibc 2.10 تعريف B() (و B() غير " "القياسية) لمطابقة المعيار." #. 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 prints a list of the files in the current directory in " "reverse order." msgstr "يطبع البرنامج أدناه قائمة بالملفات في الدليل الحالي بترتيب عكسي." #. 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 _DEFAULT_SOURCE\n" "#include Edirent.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct dirent **namelist;\n" " int n;\n" "\\&\n" " n = scandir(\".\", &namelist, NULL, alphasort);\n" " if (n == -1) {\n" " perror(\"scandir\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " while (n--) {\n" " printf(\"%s\\[rs]n\", namelist[n]-Ed_name);\n" " free(namelist[n]);\n" " }\n" " free(namelist);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _DEFAULT_SOURCE\n" "#include Edirent.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct dirent **namelist;\n" " int n;\n" "\\&\n" " n = scandir(\".\", &namelist, NULL, alphasort);\n" " if (n == -1) {\n" " perror(\"scandir\");\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " while (n--) {\n" " printf(\"%s\\[rs]n\", namelist[n]-Ed_name);\n" " free(namelist[n]);\n" " }\n" " free(namelist);\n" "\\&\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), B(3), " "B(3), B(3), B(3), B(3), " "B(3), B(3)" msgstr "" "B(3)، B(3)، B(3)، B(3)، " "B(3)، B(3)، B(3)، 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 #, no-wrap msgid "" "BIB<,>\n" "B< struct dirent ***restrict >IB<,>\n" "B< int (*>IB<)(const struct dirent *),>\n" "B< int (*>IB<)(const struct dirent **,>\n" "B\n" msgstr "" "BIB<,>\n" "B< struct dirent ***restrict >IB<,>\n" "B< int (*>IB<)(const struct dirent *),>\n" "B< int (*>IB<)(const struct dirent **,>\n" "B\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "BIB<, const char *restrict >IB<,>\n" "B< struct dirent ***restrict >IB<,>\n" "B< int (*>IB<)(const struct dirent *),>\n" "B< int (*>IB<)(const struct dirent **,>\n" "B\n" msgstr "" "BIB<, const char *restrict >IB<,>\n" "B< struct dirent ***restrict >IB<,>\n" "B< int (*>IB<)(const struct dirent *),>\n" "B< int (*>IB<)(const struct dirent **,>\n" "B\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The B() function scans the directory I, calling I() " "on each directory entry. Entries for which I() returns nonzero are " "stored in strings allocated via B(3), sorted using B(3) with " "the comparison function I(), and collected in array I " "which is allocated via B(3). If I is NULL, all entries are " "selected." msgstr "" "تفحص الدالة B() الدليل I، وتستدعي I() على كل مدخل " "دليل. تُخزَّن المدخلات التي تُرجع I() قيمة غير صفرية في سلاسل محارف " "مخصصة عبر B(3)، وتُرتَّب باستخدام B(3) مع دالة المقارنة " "I()، وتُجمَع في مصفوفة I المخصصة عبر B(3). إذا كان " "I NULL، تُحدَّد جميع المدخلات." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "If the pathname given in I is relative, then it is interpreted " "relative to the directory referred to by the file descriptor I " "(rather than relative to the current working directory of the calling " "process, as is done by B() for a relative pathname)." msgstr "" "إذا كان اسم المسار المُعطى في I نسبيًا، فسيُفسَّر بالنسبة إلى الدليل المشار " "إليه بواسطة واصف الملف I (بدلاً من نسبته إلى دليل العمل الحالي للعملية " "المستدعية، كما تفعل B() لاسم مسار نسبي)." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "(B()) I is a relative pathname and I is a file " "descriptor referring to a file other than a directory." msgstr "" "(B()) I هو اسم مسار نسبي و I هو واصف ملف يشير إلى " "ملف غير دليل." #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-12-13" msgstr "13 ديسمبر 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 "صفحات دليل لينكس (لم تصدر بعد)"