# 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-06 08:54+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 "stpncpy" msgstr "stpncpy" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-02-25" msgstr "25 فبراير 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 "" "stpncpy, strncpy - fill a fixed-size buffer with non-null bytes from a " "string, padding with null bytes as needed" msgstr "" "stpncpy, strncpy - ملء مخزن مؤقت بحجم ثابت ببايتات غير فارغة من سلسلة محارف، " "مع حشو ببايتات فارغة حسب الحاجة" #. 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 "" "Bsize_t dsize;\n" "B< char >IB<[restrict >IB<], const char *restrict " ">IB<,>\n" "B< size_t >IB<);>\n" "Bsize_t dsize;\n" "B< char >IB<[restrict >IB<], const char *restrict " ">IB<,>\n" "B< size_t >IB<);>\n" msgstr "" "Bsize_t dsize;\n" "B< char >IB<[restrict >IB<], const char *restrict " ">IB<,>\n" "B< size_t >IB<);>\n" "Bsize_t dsize;\n" "B< char >IB<[restrict >IB<], const char *restrict " ">IB<,>\n" "B< size_t >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():" 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 "" " Since glibc 2.10:\n" " _POSIX_C_SOURCE E= 200809L\n" " Before glibc 2.10:\n" " _GNU_SOURCE\n" msgstr "" " منذ glibc 2.10:\n" " _POSIX_C_SOURCE E= 200809L\n" " قبل glibc 2.10:\n" " _GNU_SOURCE\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 "" "These functions copy non-null bytes from the string pointed to by I " "into the array pointed to by I. If the source has too few non-null " "bytes to fill the destination, the functions pad the destination with " "trailing null bytes. If the destination buffer, limited by its size, isn't " "large enough to hold the copy, the resulting character sequence is " "truncated. For the difference between the two functions, see RETURN VALUE." msgstr "" "تنسخ هذه الدوال بايتات غير فارغة من سلسلة المحارف المشار إليها بـ I إلى " "المصفوفة المشار إليها بـ I. إذا كان المصدر يحتوي على بايتات غير فارغة " "قليلة جدًا لملء الوجهة، تقوم الدوال بحشو الوجهة ببايتات فارغة في النهاية. إذا " "كان المخزن المؤقت للوجهة، المحدود بحجمه، غير كبير بما يكفي لاستيعاب النسخة، " "فسيتم اقتطاع تسلسل المحارف الناتج. للفرق بين الدالتين، انظر قيمة الإرجاع." #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-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 "stpncpy(dst, src, dsize), dst\n" msgstr "stpncpy(dst, src, dsize), dst\n" #. type: TP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "memset(mempcpy(dst, src, strnlen(src, dsize)), \\[aq]\\[rs]0\\[aq],\n" " dsize - strnlen(src, dsize))\n" msgstr "" "memset(mempcpy(dst, src, strnlen(src, dsize)), \\[aq]\\[rs]0\\[aq],\n" " dsize - strnlen(src, dsize))\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 "returns I." msgstr "تُرجع I." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #| msgid "" #| "returns a pointer to one past the last non-null character written, that " #| "is, I." msgid "" "returns a pointer to one past the last non-null character written, that is, " "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(),\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 "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: 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 "C89, POSIX.1-2001, SVr4, 4.3BSD." msgstr "C89, POSIX.1-2001, SVr4, 4.3BSD." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "glibc 1.07. POSIX.1-2008." msgstr "glibc 1.07. 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 "CAVEATS" msgstr "تحذيرات" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The name of these functions is confusing. These functions produce a null-" "padded character sequence, not a string (see B(7)). For " "example:" msgstr "" "اسم هذه الدوال مضلل. تنتج هذه الدوال تسلسل محارف مُحشو بأصفار، وليس سلسلة " "محارف (انظر B(7)). على سبيل المثال:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "strncpy(buf, \"1\", 5); // { \\[aq]1\\[aq], 0, 0, 0, 0 }\n" "strncpy(buf, \"1234\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq]," " \\[aq]3\\[aq], \\[aq]4\\[aq], 0 }\n" "strncpy(buf, \"12345\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq]," " \\[aq]3\\[aq], \\[aq]4\\[aq], \\[aq]5\\[aq] }\n" "strncpy(buf, \"123456\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq]," " \\[aq]3\\[aq], \\[aq]4\\[aq], \\[aq]5\\[aq] }\n" msgstr "" "strncpy(buf, \"1\", 5); // { \\[aq]1\\[aq], 0, 0, 0, 0 }\n" "strncpy(buf, \"1234\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq]," " \\[aq]3\\[aq], \\[aq]4\\[aq], 0 }\n" "strncpy(buf, \"12345\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq]," " \\[aq]3\\[aq], \\[aq]4\\[aq], \\[aq]5\\[aq] }\n" "strncpy(buf, \"123456\", 5); // { \\[aq]1\\[aq], \\[aq]2\\[aq]," " \\[aq]3\\[aq], \\[aq]4\\[aq], \\[aq]5\\[aq] }\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "It's impossible to distinguish truncation by the result of the call, from a " "character sequence that just fits the destination buffer; truncation should " "be detected by comparing the length of the input string with the size of the " "destination buffer." msgstr "" "من المستحيل التمييز بين الاقتطاع من نتيجة الاستدعاء، وبين تسلسل محارف يناسب " "المخزن المؤقت للوجهة تمامًا؛ يجب اكتشاف الاقتطاع بمقارنة طول سلسلة المحارف " "المدخلة مع حجم المخزن المؤقت للوجهة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If you're going to use this function in chained calls, it would be useful to " "develop a similar function that accepts a pointer to the end (one after the " "last element) of the destination buffer instead of its size." msgstr "" "إذا كنت ستستخدم هذه الدالة في استدعاءات متسلسلة، فسيكون من المفيد تطوير دالة " "مماثلة تقبل مؤشرًا إلى النهاية (واحد بعد آخر عنصر) من المخزن المؤقت للوجهة " "بدلاً من حجمه." #. 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 #, no-wrap msgid "" "#include Eerr.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " char *p;\n" " char buf1[20];\n" " char buf2[20];\n" " size_t len;\n" "\\&\n" " if (sizeof(buf2) E strlen(\"Hello world!\"))\n" " errx(\"strncpy: truncating character sequence\");\n" " strncpy(buf2, \"Hello world!\", sizeof(buf2));\n" " len = strnlen(buf2, sizeof(buf2));\n" "\\&\n" " printf(\"[len = %zu]: \", len);\n" " fwrite(buf2, 1, len, stdout);\n" " putchar(\\[aq]\\[rs]n\\[aq]);\n" "\\&\n" " if (sizeof(buf1) E strlen(\"Hello world!\"))\n" " errx(\"stpncpy: truncating character sequence\");\n" " p = stpncpy(buf1, \"Hello world!\", sizeof(buf1));\n" " len = p - buf1;\n" "\\&\n" " printf(\"[len = %zu]: \", len);\n" " fwrite(buf1, 1, len, stdout);\n" " putchar(\\[aq]\\[rs]n\\[aq]);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Eerr.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(void)\n" "{\n" " char *p;\n" " char buf1[20];\n" " char buf2[20];\n" " size_t len;\n" "\\&\n" " if (sizeof(buf2) E strlen(\"Hello world!\"))\n" " errx(\"strncpy: truncating character sequence\");\n" " strncpy(buf2, \"Hello world!\", sizeof(buf2));\n" " len = strnlen(buf2, sizeof(buf2));\n" "\\&\n" " printf(\"[len = %zu]: \", len);\n" " fwrite(buf2, 1, len, stdout);\n" " putchar(\\[aq]\\[rs]n\\[aq]);\n" "\\&\n" " if (sizeof(buf1) E strlen(\"Hello world!\"))\n" " errx(\"stpncpy: truncating character sequence\");\n" " p = stpncpy(buf1, \"Hello world!\", sizeof(buf1));\n" " len = p - buf1;\n" "\\&\n" " printf(\"[len = %zu]: \", len);\n" " fwrite(buf1, 1, len, stdout);\n" " putchar(\\[aq]\\[rs]n\\[aq]);\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(7)" msgstr "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<[restrict .>IB<], const char *restrict " ">IB<,>\n" "B< size_t >IB<);>\n" "BIB<[restrict .>IB<], const char *restrict " ">IB<,>\n" "B< size_t >IB<);>\n" msgstr "" "BIB<[restrict .>IB<], const char *restrict " ">IB<,>\n" "B< size_t >IB<);>\n" "BIB<[restrict .>IB<], const char *restrict " ">IB<,>\n" "B< size_t >IB<);>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "An implementation of these functions might be:" msgstr "قد يكون تنفيذ هذه الدوال كالتالي:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" "char *\n" "strncpy(char *restrict dst, const char *restrict src, size_t dsize)\n" "{\n" " stpncpy(dst, src, dsize);\n" " return dst;\n" "}\n" "\\&\n" "char *\n" "stpncpy(char *restrict dst, const char *restrict src, size_t dsize)\n" "{\n" " size_t dlen;\n" "\\&\n" " dlen = strnlen(src, dsize);\n" " return memset(mempcpy(dst, src, dlen), 0, dsize - dlen);\n" "}\n" msgstr "" "char *\n" "strncpy(char *restrict dst, const char *restrict src, size_t dsize)\n" "{\n" " stpncpy(dst, src, dsize);\n" " return dst;\n" "}\n" "\\&\n" "char *\n" "stpncpy(char *restrict dst, const char *restrict src, size_t dsize)\n" "{\n" " size_t dlen;\n" "\\&\n" " dlen = strnlen(src, dsize);\n" " return memset(mempcpy(dst, src, dlen), 0, dsize - dlen);\n" "}\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "returns a pointer to one after the last character in the destination " "character sequence." 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 "2026-01-06" msgstr "6 يناير 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 "صفحات دليل لينكس (لم تصدر بعد)"