# Arabic translation of manpages # This file is distributed under the same license as the manpages-l10n package. # Copyright © of this file: # زايد السعيدي , 2026. msgid "" msgstr "" "Project-Id-Version: manpages-l10n 4.30.2\n" "POT-Creation-Date: 2026-06-05 06:39+0200\n" "PO-Revision-Date: 2026-06-06 08:58+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 "readdir" msgstr "readdir" #. 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 "readdir - read a directory" msgstr "readdir - قراءة دليل" #. 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-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\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 returns a pointer to a I structure " "representing the next directory entry in the directory stream pointed to by " "I. It returns NULL on reaching the end of the directory stream or if " "an error occurred." msgstr "" "ترجع الدالة B() مؤشرًا إلى بنية I تمثل إدخال الدليل التالي " "في دفق الدليل المشار إليه بواسطة I. وترجع NULL عند الوصول إلى نهاية " "دفق الدليل أو في حالة حدوث خطأ." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the glibc implementation, the I structure is defined as follows:" msgstr "في تطبيق glibc، تُعرف بنية I كما يلي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct dirent {\n" " ino_t d_ino; /* Inode number */\n" " off_t d_off; /* Not an offset; see below */\n" " unsigned short d_reclen; /* Length of this record */\n" " unsigned char d_type; /* Type of file; not supported\n" " by all filesystem types */\n" " char d_name[256]; /* Null-terminated filename */\n" "};\n" msgstr "" "struct dirent {\n" " ino_t d_ino; /* رقم العقدة */\n" " off_t d_off; /* ليس إزاحة انظر في الأسفل */\n" " unsigned short d_reclen; /* طول هذا السجل */\n" " unsigned char d_type; /* نوع الملف؛ غير متاح\n" " على على أنظمة الملفات*/\n" " char d_name[256]; /* اسم ملف منتهي بnull */\n" "};\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The only fields in the I structure that are mandated by POSIX.1 are " "I<.d_name> and I<.d_ino>. The other fields are unstandardized, and not " "present on all systems; see VERSIONS." msgstr "" "الحقول الوحيدة في بنية I التي يفرضها POSIX.1 هي I<.d_name> و I<." "d_ino>. الحقول الأخرى غير معيارية، وغير موجودة في جميع الأنظمة؛ انظر " "VERSIONS." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The fields of the I structure are as follows:" msgstr "حقول بنية I هي كما يلي:" #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_ino>" msgstr "I<.d_ino>" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "This is the inode number of the file in the filesystem containing the " "directory on which B() was called. If the directory entry is a " "mount point, then I<.d_ino> differs from I<.st_ino> returned by B(2) " "on this file: I<.d_ino> is the inode number of the mount point, while I<." "st_ino> is the inode number of the root directory of the mounted filesystem." msgstr "" "هذا هو رقم inode للملف في نظام الملفات الذي يحتوي على الدليل الذي استُدعيت " "عليه B(). إذا كان إدخال الدليل نقطة وصل، فإن I<.d_ino> يختلف عن I<." "st_ino> الذي ترجعه B(2) على هذا الملف: I<.d_ino> هو رقم inode لنقطة " "الوصل، بينما I<.st_ino> هو رقم inode للدليل الجذر لنظام الملفات الموصول." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_off>" msgstr "I<.d_off>" #. https://lwn.net/Articles/544298/ #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The value returned in I<.d_off> is the same as would be returned by calling " "B(3) at the current position in the directory stream. Be aware " "that despite its type and name, the I<.d_off> field is seldom any kind of " "directory offset on modern filesystems. Applications should treat this " "field as an opaque value, making no assumptions about its contents; see also " "B(3)." msgstr "" "القيمة المرجعة في I<.d_off> هي نفسها التي سترجعها استدعاء B(3) في " "الموضع الحالي في دفق الدليل. كن على علم أنه على الرغم من نوعه واسمه، فإن حقل " "I<.d_off> نادرًا ما يكون أي نوع من إزاحة الدليل في أنظمة الملفات الحديثة. يجب " "على التطبيقات معاملة هذا الحقل كقيمة غير شفافة، دون افتراضات حول محتوياته؛ " "انظر أيضًا B(3)." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_reclen>" msgstr "I<.d_reclen>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This is the size (in bytes) of the returned record. This may not match the " "size of the structure definition shown above; see VERSIONS." msgstr "" "هذا هو حجم (بالبايت) السجل المرتجع. قد لا يتطابق هذا مع حجم تعريف البنية " "الموضح أعلاه؛ انظر VERSIONS." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_type>" msgstr "I<.d_type>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "This field contains a value indicating the file type, making it possible to " "avoid the expense of calling B(2) if further actions depend on the " "type of the file." msgstr "" "يحتوي هذا الحقل على قيمة تشير إلى نوع الملف، مما يجعل من الممكن تجنب تكلفة " "استدعاء B(2) إذا كانت الإجراءات الإضافية تعتمد على نوع الملف." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since " "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the " "following macro constants for the value returned in I<.d_type>:" msgstr "" "عند تعريف ماكرو اختبار ميزة مناسب (B<_DEFAULT_SOURCE> منذ glibc 2.19، أو " "B<_BSD_SOURCE> على glibc 2.19 والإصدارات الأقدم)، يعرف glibc الثوابت الماكرو " "التالية للقيمة المرجعة في I<.d_type>:" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a block device." msgstr "هذا جهاز كتلي." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a character device." msgstr "هذا جهاز محرفي." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a directory." msgstr "هذا دليل." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a named pipe (FIFO)." msgstr "هذا أنبوب مسمى (FIFO)." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a symbolic link." msgstr "هذا رابط رمزي." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This is a regular 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 "This is a UNIX domain socket." msgstr "هذا مقبس نطاق UNIX." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B" msgstr "B" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The file type could not be determined." msgstr "لم يمكن تحديد نوع الملف." #. kernel 2.6.27 #. The same sentence is in getdents.2 #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) " "have full support for returning the file type in I<.d_type>. All " "applications must properly handle a return of B." msgstr "" "حاليًا، فقط بعض أنظمة الملفات (من بينها: Btrfs، ext2، ext3، و ext4) لديها دعم " "كامل لإرجاع نوع الملف في I<.d_type>. يجب على جميع التطبيقات معالجة إرجاع " "B بشكل صحيح." #. type: TP #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "I<.d_name>" msgstr "I<.d_name>" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "This field contains the null terminated filename; see VERSIONS." msgstr "يحتوي هذا الحقل على اسم الملف المنتهي بقيمة فارغة؛ انظر VERSIONS." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The data returned by B() may be overwritten by subsequent calls to " "B() for the same directory stream." 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 "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, B() returns a pointer to a I structure. (This " "structure may be statically allocated; do not attempt to B(3) it.)" msgstr "" "عند النجاح، تُرجع 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 the end of the directory stream is reached, NULL is returned and I " "is not changed. If an error occurs, NULL is returned and I is set to " "indicate the error. To distinguish end of stream from an error, set " "I to zero before calling B() and then check the value of " "I if NULL is returned." msgstr "" "إذا وُصلت نهاية دفق الدليل، يُرجع NULL ولا يُغير I. إذا حدث خطأ، يُرجع " "NULL ويُضبط I للإشارة إلى الخطأ. للتمييز بين نهاية الدفق والخطأ، اضبط " "I على الصفر قبل استدعاء B() ثم تحقق من قيمة I إذا " "أُرجع NULL." #. 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 "Invalid directory stream descriptor I." msgstr "واصف تدفق دليل 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-Unsafe race:dirstream" msgstr "MT-Unsafe race:dirstream" #. FIXME . #. http://www.austingroupbugs.net/view.php?id=696 #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the current POSIX.1 specification (POSIX.1-2008), B() is not " "required to be thread-safe. However, in modern implementations (including " "the glibc implementation), concurrent calls to B() that specify " "different directory streams are thread-safe. In cases where multiple " "threads must read from the same directory stream, using B() with " "external synchronization is still preferable to the use of the deprecated " "B(3) function. It is expected that a future version of POSIX.1 " "will require that B() be thread-safe when concurrently employed on " "different directory streams." msgstr "" "في مواصفات POSIX.1 الحالية (POSIX.1-2008)، لا يُطلب من B() أن يكون " "آمن الخيوط. ومع ذلك، في التطبيقات الحديثة (بما في ذلك تطبيق glibc)، تكون " "الاستدعاءات المتزامنة لـ B() التي تحدد تدفقات دليل مختلفة آمنة " "الخيوط. في الحالات التي يجب أن تقرأ فيها خيوط متعددة من نفس دفق الدليل، لا " "يزال استخدام B() مع مزامنة خارجية أفضل من استخدام الدالة المُهملة " "B(3). يُتوقع أن تتطلب نسخة مستقبلية من POSIX.1 أن يكون " "B() آمن الخيوط عند استخدامه بالتزامن على تدفقات دليل مختلفة." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. POSIX.1-2001, POSIX.1-2008 #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Only the fields I<.d_name> and (as an XSI extension) I<.d_ino> are " "specified in POSIX.1. Other than Linux, the I<.d_type> field is available " "mainly only on BSD systems. The remaining fields are available on many, but " "not all systems. Under glibc, programs can check for the availability of " "the fields not defined in POSIX.1 by testing whether the macros " "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, " "or B<_DIRENT_HAVE_D_TYPE> are defined." msgstr "" "فقط الحقول I<.d_name> و (كإضافة XSI) I<.d_ino> مُحددة في POSIX.1. بخلاف " "Linux، الحقل I<.d_type> متاح بشكل رئيسي فقط على أنظمة BSD. الحقول المتبقية " "متاحة على العديد من الأنظمة، ولكن ليس كلها. تحت glibc، يمكن للبرامج التحقق " "من توفر الحقول غير المُعرفة في POSIX.1 باختبار ما إذا كانت الماكرو " "B<_DIRENT_HAVE_D_NAMLEN> أو B<_DIRENT_HAVE_D_RECLEN> أو " "B<_DIRENT_HAVE_D_OFF> أو B<_DIRENT_HAVE_D_TYPE> مُعرفة." #. type: SS #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "The \\f[I].d_name\\fB field" msgstr "الحقل \\f[I].d_name\\fB" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The I structure definition shown above is taken from the glibc " "headers, and shows the I<.d_name> field with a fixed size." msgstr "" "تعريف بنية I الموضح أعلاه مأخوذ من رؤوس glibc، ويُظهر الحقل I<." "d_name> بحجم ثابت." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "I: applications should avoid any dependence on the size of the I<." "d_name> field. POSIX defines it as I, a character array of " "unspecified size, with at most B characters preceding the " "terminating null byte (\\[aq]\\[rs]0\\[aq])." msgstr "" "I<تحذير>: يجب على التطبيقات تجنب أي اعتماد على حجم الحقل I<.d_name>. يُعرفه " "POSIX كـ I، مصفوفة محارف بحجم غير محدد، مع B حرفًا " "على الأكثر قبل البايت الصفري الختامي (\\[aq]\\[rs]0\\[aq])." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #| msgid "" #| "POSIX.1 explicitly notes that this field should not be used as an " #| "lvalue. The standard also notes that the use of I is " #| "incorrect; use I instead. (On some systems, this field " #| "is defined as I!) By implication, the use " #| "I to capture the size of the record including the " #| "size of I<.d_name> is also incorrect." msgid "" "POSIX.1 explicitly notes that this field should not be used as an lvalue. " "The standard also notes that the use of I is incorrect; use " "I instead. (On some systems, this field is defined as " "I!) By implication, the use I to " "capture the size of the record including the size of I<.d_name> is also " "incorrect." msgstr "" "يُشير POSIX.1 صراحةً إلى أن هذا الحقل لا ينبغي استخدامه كقيمة يسارية. يُلاحظ " "المعيار أيضًا أن استخدام I غير صحيح؛ استخدم I بدلاً من ذلك. (على بعض الأنظمة، يُعرف هذا الحقل كـ " "I!) بالتبعية، استخدام I لالتقاط حجم " "السجل بما في ذلك حجم I<.d_name> غير صحيح أيضًا." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Note that while the call" msgstr "لاحظ أنه بينما الاستدعاء" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "fpathconf(fd, _PC_NAME_MAX)\n" msgstr "fpathconf(fd, _PC_NAME_MAX)\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, " "Windows SMB servers), the null-terminated filename that is (correctly) " "returned in I<.d_name> can actually exceed this size. In such cases, the I<." "d_reclen> field will contain a value that exceeds the size of the glibc " "I structure shown above." msgstr "" "يُرجع القيمة 255 لمعظم أنظمة الملفات، على بعض أنظمة الملفات (مثل CIFS، خوادم " "Windows SMB)، اسم الملف المنتهي بصفر الذي يُرجع (بشكل صحيح) في I<.d_name> " "يمكن أن يتجاوز هذا الحجم فعليًا. في مثل هذه الحالات، سيحتوي الحقل I<." "d_reclen> على قيمة تتجاوز حجم بنية glibc I الموضحة أعلاه." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-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, SVr4, 4.3BSD." msgstr "POSIX.1-2001، SVr4، 4.3BSD." #. 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 "A directory stream is opened using B(3)." msgstr "يُفتح دفق الدليل باستخدام B(3)." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The order in which filenames are read by successive calls to B() " "depends on the filesystem implementation; it is unlikely that the names will " "be sorted in any fashion." msgstr "" "الترتيب الذي تُقرأ به أسماء الملفات باستدعاءات متتالية لـ B() يعتمد " "على تطبيق نظام الملفات؛ من غير المحتمل أن تُرتب الأسماء بأي شكل." #. 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(3), B(3), B(3), " "B(3), B(3), B(3), B(3), " "B(3), B(3), B(3)" msgstr "" "B(2), B(2), 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-16" msgstr "16 يونيو 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 "" "The only fields in the I structure that are mandated by POSIX.1 are " "I and I. The other fields are unstandardized, and not " "present on all systems; see VERSIONS." msgstr "" "الحقول الوحيدة في بنية I التي تُلزم بها POSIX.1 هي I و " "I. الحقول الأخرى غير موحدة، وغير موجودة على جميع الأنظمة؛ انظر " "VERSIONS." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "This is the inode number of the file." msgstr "هذا هو رقم inode للملف." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. https://lwn.net/Articles/544298/ #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The value returned in I is the same as would be returned by calling " "B(3) at the current position in the directory stream. Be aware " "that despite its type and name, the I field is seldom any kind of " "directory offset on modern filesystems. Applications should treat this " "field as an opaque value, making no assumptions about its contents; see also " "B(3)." msgstr "" "القيمة المُرجَعة في I هي نفس القيمة التي سترجعها استدعاء B(3) " "في الموضع الحالي في دفق الدليل. انتبه أنه على الرغم من نوعه واسمه، نادرًا ما " "يكون حقل I أي نوع من إزاحة الدليل في أنظمة الملفات الحديثة. يجب على " "التطبيقات معاملة هذا الحقل كقيمة غير شفافة، دون افتراض أي شيء عن محتوياته؛ " "انظر أيضًا B(3)." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since " "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the " "following macro constants for the value returned in I:" msgstr "" "عند تعريف كلي اختبار ميزة مناسب (B<_DEFAULT_SOURCE> منذ glibc 2.19، أو " "B<_BSD_SOURCE> على glibc 2.19 وما قبله)، يُعرّف glibc الثوابت الكلية التالية " "للقيمة المُرجَعة في I:" #. kernel 2.6.27 #. The same sentence is in getdents.2 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) " "have full support for returning the file type in I. All " "applications must properly handle a return of B." msgstr "" "حاليًا، بعض أنظمة الملفات فقط (من بينها: Btrfs، و ext2، و ext3، و ext4) لديها " "دعم كامل لإعادة نوع الملف في I. يجب على جميع التطبيقات التعامل بشكل " "صحيح مع عودة B." #. type: TP #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "I" msgstr "I" #. POSIX.1-2001, POSIX.1-2008 #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Only the fields I and (as an XSI extension) I are specified " "in POSIX.1. Other than Linux, the I field is available mainly only " "on BSD systems. The remaining fields are available on many, but not all " "systems. Under glibc, programs can check for the availability of the fields " "not defined in POSIX.1 by testing whether the macros " "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, " "or B<_DIRENT_HAVE_D_TYPE> are defined." msgstr "" "فقط الحقول I و (كإضافة XSI) I مُحددة في POSIX.1. بخلاف Linux، " "حقل I متاح بشكل رئيسي فقط على أنظمة BSD. الحقول المتبقية متاحة على " "العديد من الأنظمة، ولكن ليس كلها. تحت glibc، يمكن للبرامج التحقق من توفر " "الحقول غير المعرفة في POSIX.1 باختبار ما إذا كانت الكليات " "B<_DIRENT_HAVE_D_NAMLEN>، B<_DIRENT_HAVE_D_RECLEN>، B<_DIRENT_HAVE_D_OFF>، " "أو B<_DIRENT_HAVE_D_TYPE> مُعرّفة." #. type: SS #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "The d_name field" msgstr "حقل d_name" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "The I structure definition shown above is taken from the glibc " "headers, and shows the I field with a fixed size." msgstr "" "تعريف بنية I الموضح أعلاه مأخوذ من رؤوس glibc، ويُظهر حقل I " "بحجم ثابت." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "I: applications should avoid any dependence on the size of the " "I field. POSIX defines it as I, a character array " "of unspecified size, with at most B characters preceding the " "terminating null byte (\\[aq]\\[rs]0\\[aq])." msgstr "" "I<تحذير>: يجب على التطبيقات تجنب أي اعتماد على حجم حقل I. يُعرّفه " "POSIX كـ I، مصفوفة محارف ذات حجم غير محدد، مع على الأكثر " "B حرفًا قبل بايت النهاية الصفري (\\[aq]\\[rs]0\\[aq])." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #| msgid "" #| "POSIX.1 explicitly notes that this field should not be used as an " #| "lvalue. The standard also notes that the use of I is " #| "incorrect; use I instead. (On some systems, this field " #| "is defined as I!) By implication, the use " #| "I to capture the size of the record including the " #| "size of I is also incorrect." msgid "" "POSIX.1 explicitly notes that this field should not be used as an lvalue. " "The standard also notes that the use of I is incorrect; use " "I instead. (On some systems, this field is defined as " "I!) By implication, the use I to " "capture the size of the record including the size of I is also " "incorrect." msgstr "" "يُلاحظ POSIX.1 صراحةً أن هذا الحقل لا ينبغي استخدامه كقيمة يسارية. يُلاحظ " "المعيار أيضًا أن استخدام I غير صحيح؛ استخدم I " "بدلاً من ذلك. (على بعض الأنظمة، يُعرّف هذا الحقل كـ I!) " "بالتبعية، استخدام I لالتقاط حجم السجل بما في ذلك حجم " "I غير صحيح أيضًا." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, " "Windows SMB servers), the null-terminated filename that is (correctly) " "returned in I can actually exceed this size. In such cases, the " "I field will contain a value that exceeds the size of the glibc " "I structure shown above." msgstr "" "يُرجع القيمة 255 لمعظم أنظمة الملفات، على بعض أنظمة الملفات (مثل CIFS، خوادم " "Windows SMB)، اسم الملف المنتهي بصفر والذي يُرجع (بشكل صحيح) في I " "يمكنه فعليًا تجاوز هذا الحجم. في مثل هذه الحالات، سيحتوي حقل I على " "قيمة تتجاوز حجم بنية glibc I الموضحة أعلاه." #. 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 "صفحات دليل لينكس (لم تصدر بعد)"