# 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:19+0200\n" "PO-Revision-Date: 2026-05-31 18: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" "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: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "basename" msgstr "basename" #. 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 "basename, dirname - parse pathname components" msgstr "basename, dirname - تحليل مكونات مسار الملف" #. 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 Elibgen.hE>\n" msgstr "B<#include Elibgen.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<);>\n" msgstr "" "BIB<);>\n" "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 "Warning: there are two different functions B(); see below." msgstr "تحذير: هناك دالتان مختلفتان B()؛ انظر أدناه." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The functions B() and B() break a null-terminated " "pathname string into directory and filename components. In the usual case, " "B() returns the string up to, but not including, the final \\[aq]/" "\\[aq], and B() returns the component following the final \\[aq]/" "\\[aq]. Trailing \\[aq]/\\[aq] characters are not counted as part of the " "pathname." msgstr "" "الدالتان B() و B() تقسمان سلسلة مسار منتهية بصفر إلى " "مكونات الدليل واسم الملف. في الحالة المعتادة، تُرجع B() السلسلة حتى " "آخر \\[aq]/\\[aq] دون تضمينه، وتُرجع B() المكون الذي يلي آخر \\[aq]/" "\\[aq]. لا تُحسب أحرف \\[aq]/\\[aq] الزائدة كجزء من المسار." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If I does not contain a slash, B() returns the string \".\" " "while B() returns a copy of I. If I is the string \"/" "\", then both B() and B() return the string \"/\". If " "I is a null pointer or points to an empty string, then both " "B() and B() return the string \".\"." msgstr "" "إذا لم يحتوي I على شرطة مائلة، تُرجع B() السلسلة \".\" بينما " "تُرجع B() نسخة من I. إذا كان I هو السلسلة \"/\"، فترجع " "كل من B() و 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 "" "Concatenating the string returned by B(), a \"/\", and the string " "returned by B() yields a complete pathname." msgstr "" "يؤدي دمج السلسلة المُرجعة من B()، و\"/\"، والسلسلة المُرجعة من " "B() إلى الحصول على مسار كامل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Both B() and B() may modify the contents of I, so " "it may be desirable to pass a copy when calling one of these functions." 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 "" "These functions may return pointers to statically allocated memory which may " "be overwritten by subsequent calls. Alternatively, they may return a " "pointer to some part of I, so that the string referred to by I " "should not be modified or freed until the pointer returned by the function " "is no longer required." msgstr "" "قد تُرجع هذه الدوال مؤشرات إلى ذاكرة مخصصة بشكل ثابت قد تُستبدل باستدعاءات " "لاحقة. بدلاً من ذلك، قد تُرجع مؤشرًا إلى جزء من I، لذا يجب عدم تعديل أو " "تحرير السلسلة المشار إليها بواسطة I حتى لا تكون هناك حاجة للمؤشر " "المُعاد من الدالة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following list of examples (taken from SUSv2) shows the strings " "returned by B() and B() for different paths:" msgstr "" "القائمة التالية من الأمثلة (مأخوذة من SUSv2) تُظهر السلاسل المُرجعة من " "B() و B() لمسارات مختلفة:" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "path" msgstr "المسار" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "dirname" msgstr "dirname" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "/usr/lib" msgstr "/usr/lib" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "/usr" msgstr "/usr" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "lib" msgstr "lib" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "/usr/" msgstr "/usr/" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "/" msgstr "/" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "usr" msgstr "usr" #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "." msgstr "." #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "\\&." msgstr "\\&." #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "\\&.." msgstr "\\&.." #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid ".." msgstr ".." #. 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 "" "Both B() and B() return pointers to null-terminated " "strings. (Do not pass these pointers to B(3).)" msgstr "" "كل من B() و B() تُرجعان مؤشرات إلى سلاسل منتهية بصفر. (لا " "تمرر هذه المؤشرات إلى 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()" 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: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "There are two different versions of B() - the POSIX version " "described above, and the GNU version, which one gets after" msgstr "" "يوجد إصداران مختلفان من B() - إصدار POSIX الموصوف أعلاه، وإصدار " "GNU الذي يُحصل عليه بعد" #. 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 Estring.hE>\n" msgstr "" "B< #define _GNU_SOURCE> /* See feature_test_macros(7) */\n" "B<#include Estring.hE>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The GNU version never modifies its argument, and returns the empty string " "when I has a trailing slash, and in particular also when it is \"/\". " "There is no GNU version of B()." msgstr "" "إصدار GNU لا يعدّل وسيطه أبدًا، ويعيد السلسلة الفارغة عندما يحتوي I على " "شرطة مائلة لاحقة، وبشكل خاص أيضًا عندما يكون \"/\". لا يوجد إصدار GNU لـ " "B()." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "With glibc, one gets the POSIX version of B() when Ilibgen." "hE> is included, and the GNU version otherwise." msgstr "" "مع glibc، يُحصل على إصدار POSIX من B() عند تضمين Ilibgen." "hE>، وإلا يُحصل على إصدار GNU." #. 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." 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 "BUGS" msgstr "العلل" #. 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 POSIX versions of these functions modify " "the I argument, and segfault when called with a static string such as " "\"/usr/\"." msgstr "" "في تطبيق glibc، إصدارات POSIX لهذه الدوال تُعدّل وسيط I، وتُحدث خطأ تجزئة " "عند استدعائها بسلسلة ثابتة مثل \"/usr/\"." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Before glibc 2.2.1, the glibc version of B() did not correctly " "handle pathnames with trailing \\[aq]/\\[aq] characters, and generated a " "segfault if given a NULL argument." msgstr "" "قبل glibc 2.2.1، إصدار glibc من B() لم يعالج أسماء المسارات ذات " "الأحرف \\[aq]/\\[aq] اللاحقة بشكل صحيح، وأحدث خطأ تجزئة إذا أُعطي وسيط NULL." #. 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 following code snippet demonstrates the use of B() and " "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 "" "char *dirc, *basec, *bname, *dname;\n" "char *path = \"/etc/passwd\";\n" "\\&\n" "dirc = strdup(path);\n" "basec = strdup(path);\n" "dname = dirname(dirc);\n" "bname = basename(basec);\n" "printf(\"dirname=%s, basename=%s\\[rs]n\", dname, bname);\n" msgstr "" "char *dirc, *basec, *bname, *dname;\n" "char *path = \"/etc/passwd\";\n" "\\&\n" "dirc = strdup(path);\n" "basec = strdup(path);\n" "dname = dirname(dirc);\n" "bname = basename(basec);\n" "printf(\"dirname=%s, basename=%s\\[rs]n\", dname, bname);\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(1), B(1)" msgstr "B(1)، B(1)" #. 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: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "path " msgstr "المسار " #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "/usr/ " msgstr "/usr/ " #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "usr " msgstr "usr " #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "/ " msgstr "/ " #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "\\&. " msgstr "\\&. " #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "\\&.. " msgstr "\\&.. " #. 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 "صفحات دليل لينكس (لم تصدر بعد)"