# 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:45+0200\n" "PO-Revision-Date: 2026-06-03 19:28+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 "strcmp" msgstr "strcmp" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-03-16" msgstr "16 مارس 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 "strcmp, strncmp - compare two strings" msgstr "strcmp, strncmp - مقارنة سلسلتي محارف" #. 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 Estring.hE>\n" msgstr "B<#include Estring.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "BIB<, const char *>IB<);>\n" "Bs1B<[], const char >s2B<[], size_t >nB<);>\n" msgstr "" "BIB<, const char *>IB<);>\n" "Bs1B<[], const char >s2B<[], size_t >nB<);>\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: TP #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function compares the two strings I and I, as if by " "calling B(3)." msgstr "" "تقارن الدالة B() سلسلتي المحارف I و I، كما لو كانت تستدعي " "B(3)." #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The locale is not taken into account (for a locale-aware comparison, see " "B(3))." msgstr "" "لا يُؤخذ الإعداد المحلي في الاعتبار (لمقارنة تراعي الإعداد المحلي، انظر " "B(3))." #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "It is equivalent to" msgstr "يكافئ" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "memcmp(s1, s2, MIN(strlen(s1),strlen(s2))+1)\n" msgstr "memcmp(s1, s2, MIN(strlen(s1),strlen(s2))+1)\n" #. type: TP #: archlinux debian-unstable 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() function is similar, except it compares only the first (at " "most) I bytes of I and I." msgstr "" "الدالة B() مماثلة، إلا أنها تقارن فقط أول (على الأكثر) I بايت من " "I و I." #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "memcmp(s1, s2, MIN(MIN(strnlen(s1,n),strnlen(s2,n))+1, n))\n" msgstr "memcmp(s1, s2, MIN(MIN(strnlen(s1,n),strnlen(s2,n))+1, n))\n" #. 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() and B() functions return an integer less than, " "equal to, or greater than zero if I (or the first I bytes thereof) is " "found, respectively, to be less than, to match, or be greater than I." msgstr "" "ترجع الدالتان B() و B عددًا صحيحًا أقل من الصفر، أو مساويًا " "له، أو أكبر منه إذا وُجد أن I (أو أول I بايت منها) أقل من I، أو " "مطابقًا له، أو أكبر منه، على التوالي." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "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 "POSIX.1 specifies only that:" msgstr "يحدد POSIX.1 فقط ما يلي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The sign of a nonzero return value shall be determined by the sign of the " "difference between the values of the first pair of bytes (both interpreted " "as type I) that differ in the strings being compared." msgstr "" "يُحدد إشارة قيمة الإرجاع غير الصفرية بإشارة الفرق بين قيم أول زوج من البايتات " "(كلاهما يُفسر كنوع I) يختلفان في السلاسل التي تُقارن." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In glibc, as in most other implementations, the return value is the " "arithmetic result of subtracting the last compared byte in I from the " "last compared byte in I. (If the two characters are equal, this " "difference is 0.)" msgstr "" "في glibc، كما في معظم التطبيقات الأخرى، قيمة الإرجاع هي النتيجة الحسابية " "لطرح آخر بايت تمت مقارنته في I من آخر بايت تمت مقارنته في I. (إذا " "كان الحرفان متساويين، فإن هذا الفرق هو 0.)" #. 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 "C11, POSIX.1-2008." msgstr "C11, POSIX.1-2008." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2001, C89, SVr4, 4.3BSD." msgstr "POSIX.1-2001، C89، 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 "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 can be used to demonstrate the operation of B() " "(when given two arguments) and B() (when given three arguments). " "First, some examples using B():" msgstr "" "يمكن استخدام البرنامج أدناه لتوضيح عمل B() (عند إعطائه وسيطين) و " "B() (عند إعطائه ثلاث وسائط). أولاً، بعض الأمثلة باستخدام B():" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< ./string_comp ABC ABC>;\n" "Estr1E and Estr2E are equal\n" "$B< ./string_comp ABC AB>; # \\[aq]C\\[aq] is ASCII 67; \\[aq]C\\[aq] - \\[aq]\\[rs]0\\[aq] = 67\n" "Estr1E is greater than Estr2E (67)\n" "$B< ./string_comp ABA ABZ>; # \\[aq]A\\[aq] is ASCII 65; \\[aq]Z\\[aq] is ASCII 90\n" "Estr1E is less than Estr2E (-25)\n" "$B< ./string_comp ABJ ABC>;\n" "Estr1E is greater than Estr2E (7)\n" "$B< ./string_comp $\\[aq]\\[rs]201\\[aq] A>; # 0201 - 0101 = 0100 (or 64 decimal)\n" "Estr1E is greater than Estr2E (64)\n" msgstr "" "$B< ./string_comp ABC ABC>;\n" "Estr1E و Estr2E متساويان\n" "$B< ./string_comp ABC AB>; # \\[aq]C\\[aq] هو ASCII 67; \\[aq]C\\[aq] - \\[aq]\\[rs]0\\[aq] = 67\n" "Estr1E أكبر من Estr2E (67)\n" "$B< ./string_comp ABA ABZ>; # \\[aq]A\\[aq] هو ASCII 65; \\[aq]Z\\[aq] هو ASCII 90\n" "Estr1E أصغر من Estr2E (-25)\n" "$B< ./string_comp ABJ ABC>;\n" "Estr1E أكبر من Estr2E (7)\n" "$B< ./string_comp $\\[aq]\\[rs]201\\[aq] A>; # 0201 - 0101 = 0100 (أو 64 عشريًا)\n" "Estr1E أكبر من Estr2E (64)\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The last example uses B(1)-specific syntax to produce a string " "containing an 8-bit ASCII code; the result demonstrates that the string " "comparison uses unsigned characters." msgstr "" "يستخدم المثال الأخير بناء جملة خاصًا بـ B(1) لإنتاج سلسلة محارف تحتوي " "على رمز ASCII 8-بت؛ تُظهر النتيجة أن مقارنة السلاسل تستخدم محارف غير مُوقَّعة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "And then some examples using B():" msgstr "ثم بعض الأمثلة باستخدام B():" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "$B< ./string_comp ABC AB 3>;\n" "Estr1E is greater than Estr2E (67)\n" "$B< ./string_comp ABC AB 2>;\n" "Estr1E and Estr2E are equal in the first 2 bytes\n" msgstr "" "$B< ./string_comp ABC AB 3>;\n" "Estr1E أكبر من Estr2E (67)\n" "$B< ./string_comp ABC AB 2>;\n" "Estr1E و Estr2E متساويان في أول 2 بايت\n" #. 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-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "/* string_comp.c\n" "\\&\n" " Licensed under GNU General Public License v2 or later.\n" "*/\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int res;\n" "\\&\n" " if (argc E 3) {\n" " fprintf(stderr, \"Usage: %s Estr1E Estr2E [EnE]\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (argc == 3)\n" " res = strcmp(argv[1], argv[2]);\n" " else\n" " res = strncmp(argv[1], argv[2], atoi(argv[3]));\n" "\\&\n" " if (res == 0) {\n" " printf(\"Estr1E and Estr2E are equal\");\n" " if (argc E 3)\n" " printf(\" in the first %d bytes\\[rs]n\", atoi(argv[3]));\n" " printf(\"\\[rs]n\");\n" " } else if (res E 0) {\n" " printf(\"Estr1E is less than Estr2E (%d)\\[rs]n\", res);\n" " } else {\n" " printf(\"Estr1E is greater than Estr2E (%d)\\[rs]n\", res);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "/* string_comp.c\n" "\\&\n" " مرخص بموجب رخصة جنو العمومية العامة الإصدار 2 أو الأحدث.\n" "*/\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int res;\n" "\\&\n" " if (argc E 3) {\n" " fprintf(stderr, \"الاستخدام: %s Estr1E Estr2E [EnE]\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (argc == 3)\n" " res = strcmp(argv[1], argv[2]);\n" " else\n" " res = strncmp(argv[1], argv[2], atoi(argv[3]));\n" "\\&\n" " if (res == 0) {\n" " printf(\"Estr1E و Estr2E متساويان\");\n" " if (argc E 3)\n" " printf(\" في أول %d بايت\\[rs]n\", atoi(argv[3]));\n" " printf(\"\\[rs]n\");\n" " } else if (res E 0) {\n" " printf(\"Estr1E أصغر من Estr2E (%d)\\[rs]n\", res);\n" " } else {\n" " printf(\"Estr1E أكبر من Estr2E (%d)\\[rs]n\", res);\n" " }\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-unstable 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(7)" msgstr "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(7)" #. 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 fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, const char *>IB<);>\n" "BIB<[.>IB<], const char >IB<[.>IB<], size_t >IB<);>\n" msgstr "" "BIB<, const char *>IB<);>\n" "BIB<[.>IB<], const char >IB<[.>IB<], size_t >IB<);>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "The B() function compares the two strings I and I. The " "locale is not taken into account (for a locale-aware comparison, see " "B(3)). The comparison is done using unsigned characters." msgstr "" "الدالة B() تقارن سلسلتي المحارف I و I. لا يُؤخذ الإعداد " "المحلي في الاعتبار (للمقارنة الواعية بالإعداد المحلي، انظر B(3)). " "تُجرى المقارنة باستخدام محارف غير مُوقَّعة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "B() returns an integer indicating the result of the comparison, as " "follows:" msgstr "تُرجع B() عددًا صحيحًا يُشير إلى نتيجة المقارنة، كما يلي:" #. type: IP #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "0, if the I and I are equal;" msgstr "0، إذا كانت I و I متساويتين؛" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "a negative value if I is less than I;" msgstr "قيمة سالبة إذا كانت I أصغر من I؛" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "a positive value if I is greater than I." msgstr "قيمة موجبة إذا كانت I أكبر من I." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B<./string_comp ABC ABC>\n" "Estr1E and Estr2E are equal\n" "$ B<./string_comp ABC AB> # \\[aq]C\\[aq] is ASCII 67; \\[aq]C\\[aq] - \\[aq]\\[rs]0\\[aq] = 67\n" "Estr1E is greater than Estr2E (67)\n" "$ B<./string_comp ABA ABZ> # \\[aq]A\\[aq] is ASCII 65; \\[aq]Z\\[aq] is ASCII 90\n" "Estr1E is less than Estr2E (-25)\n" "$ B<./string_comp ABJ ABC>\n" "Estr1E is greater than Estr2E (7)\n" "$ .B # 0201 - 0101 = 0100 (or 64 decimal)\n" "Estr1E is greater than Estr2E (64)\n" msgstr "" "$ B<./string_comp ABC ABC>\n" "Estr1E و Estr2E متساويتان\n" "$ B<./string_comp ABC AB> # \\[aq]C\\[aq] هو ASCII 67؛ \\[aq]C\\[aq] - \\[aq]\\[rs]0\\[aq] = 67\n" "Estr1E أكبر من Estr2E (67)\n" "$ B<./string_comp ABA ABZ> # \\[aq]A\\[aq] هو ASCII 65؛ \\[aq]Z\\[aq] هو ASCII 90\n" "Estr1E أصغر من Estr2E (-25)\n" "$ B<./string_comp ABJ ABC>\n" "Estr1E أكبر من Estr2E (7)\n" "$ .B # 0201 - 0101 = 0100 (أو 64 عشريًا)\n" "Estr1E أكبر من Estr2E (64)\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "$ B<./string_comp ABC AB 3>\n" "Estr1E is greater than Estr2E (67)\n" "$ B<./string_comp ABC AB 2>\n" "Estr1E and Estr2E are equal in the first 2 bytes\n" msgstr "" "$ B<./string_comp ABC AB 3>\n" "Estr1E أكبر من Estr2E (67)\n" "$ B<./string_comp ABC AB 2>\n" "Estr1E و Estr2E متساويتان في أول 2 بايت\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "/* string_comp.c\n" "\\&\n" " Licensed under GNU General Public License v2 or later.\n" "*/\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int res;\n" "\\&\n" " if (argc E 3) {\n" " fprintf(stderr, \"Usage: %s Estr1E Estr2E [ElenE]\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (argc == 3)\n" " res = strcmp(argv[1], argv[2]);\n" " else\n" " res = strncmp(argv[1], argv[2], atoi(argv[3]));\n" "\\&\n" " if (res == 0) {\n" " printf(\"Estr1E and Estr2E are equal\");\n" " if (argc E 3)\n" " printf(\" in the first %d bytes\\[rs]n\", atoi(argv[3]));\n" " printf(\"\\[rs]n\");\n" " } else if (res E 0) {\n" " printf(\"Estr1E is less than Estr2E (%d)\\[rs]n\", res);\n" " } else {\n" " printf(\"Estr1E is greater than Estr2E (%d)\\[rs]n\", res);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "/* string_comp.c\n" "\\&\n" " مرخص بموجب رخصة جنو العمومية العامة الإصدار 2 أو الأحدث.\n" "*/\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int res;\n" "\\&\n" " if (argc E 3) {\n" " fprintf(stderr, \"الاستخدام: %s Estr1E Estr2E [ElenE]\\[rs]n\", argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " if (argc == 3)\n" " res = strcmp(argv[1], argv[2]);\n" " else\n" " res = strncmp(argv[1], argv[2], atoi(argv[3]));\n" "\\&\n" " if (res == 0) {\n" " printf(\"Estr1E و Estr2E متساويتان\");\n" " if (argc E 3)\n" " printf(\" في أول %d بايت\\[rs]n\", atoi(argv[3]));\n" " printf(\"\\[rs]n\");\n" " } else if (res E 0) {\n" " printf(\"Estr1E أصغر من Estr2E (%d)\\[rs]n\", res);\n" " } else {\n" " printf(\"Estr1E أكبر من Estr2E (%d)\\[rs]n\", res);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(7)" msgstr "" "B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(7)" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-11-17" msgstr "17 نوفمبر 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 "2026-02-08" msgstr "8 فبراير 2026" #. 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 "صفحات دليل لينكس (لم تصدر بعد)"