# 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:43+0200\n" "PO-Revision-Date: 2026-06-03 19:25+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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "snprintf" msgstr "snprintf" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2025-12-07" msgstr "7 ديسمبر 2025" #. type: TH #: archlinux debian-unstable #, no-wrap msgid "Linux man-pages 6.18" msgstr "صفحات دليل لينكس 6.18" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "NAME" msgstr "الاسم" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "snprintf, vsnprintf - string print formatted" msgstr "snprintf, vsnprintf - طباعة سلسلة محارف منسقة" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "LIBRARY" msgstr "المكتبة" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Standard C library (I,\\ I<-lc>)" msgstr "مكتبة سي المعيارية (I،\\ I<-lc>)" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "SYNOPSIS" msgstr "موجز" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "B<#include Estdio.hE>\n" msgstr "B<#include Estdio.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t size;\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< const char *restrict >IB<, ...);>\n" "Bsize_t size;\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< const char *restrict >IB<, va_list >IB<);>\n" msgstr "" "Bsize_t size;\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< const char *restrict >IB<, ...);>\n" "Bsize_t size;\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< const char *restrict >IB<, va_list >IB<);>\n" #. type: Plain text #: archlinux debian-unstable 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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "B(), B():" msgstr "B(), B():" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" " _XOPEN_SOURCE E= 500 || _ISOC99_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" msgstr "" " _XOPEN_SOURCE E= 500 || _ISOC99_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE\n" #. type: SH #: archlinux debian-unstable 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 "" "These functions are similar to B(3), except that they write to the " "character string I instead of a stream." msgstr "" "هذه الدوال مشابهة لـ B(3)، باستثناء أنها تكتب إلى سلسلة المحارف " "I بدلاً من تيار." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The functions B() and B() write at most I bytes " "(including the terminating null byte (\\[aq]\\[rs]0\\[aq])) to I." msgstr "" "تكتب الدالتان B() وB() على الأكثر I بايت (بما في " "ذلك بايت الخلو المنتهي (\\[aq]\\[rs]0\\[aq])) إلى I." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B() is equivalent to B(), except that it is called " "with a I instead of a variable number of arguments. This function " "does not call the I macro. Because it invokes the I macro, " "the value of I is undefined after the call. See B(3)." msgstr "" "B() مكافئة لـ B()، باستثناء أنها تُستدعى مع I " "بدلاً من عدد متغير من المعاملات. هذه الدالة لا تستدعي ماكرو I. نظرًا " "لأنها تستدعي ماكرو I، فإن قيمة I تكون غير معرفة بعد الاستدعاء. " "انظر B(3)." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "C99 and POSIX.1-2001 specify that the results are undefined if a call to " "B() or B() would cause copying to take place between " "objects that overlap (e.g., if the target string array and one of the " "supplied input arguments refer to the same buffer). See CAVEATS." msgstr "" "C99 وPOSIX.1-2001 يحددان أن النتائج غير معرفة إذا تسبب استدعاء " "B() أو B() في نسخ بين كائنات متداخلة (مثلًا، إذا كانت " "مصفوفة السلسلة الهدف وأحد معاملات الإدخال المقدمة تشير إلى نفس المخزن " "المؤقت). انظر تحذيرات." #. type: SS #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Format of the format string" msgstr "تنسيق سلسلة التنسيق" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "See B(3)." msgstr "انظر B(3)." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "RETURN VALUE" msgstr "قيمة الإرجاع" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Upon successful return, these functions return the number of bytes printed " "(excluding the null byte used to end output to strings)." msgstr "" "عند العودة بنجاح، تعيد هذه الدوال عدد البايتات المطبوعة (باستثناء بايت الخلو " "المستخدم لإنهاء المخرجات إلى السلاسل النصية)." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The functions B() and B() do not write more than " "I bytes (including the terminating null byte (\\[aq]\\[rs]0\\[aq])). " "If the output was truncated due to this limit, then the return value is the " "number of characters (excluding the terminating null byte) which would have " "been written to the final string if enough space had been available. Thus, " "a return value of I or more means that the output was truncated. (See " "also below under CAVEATS.)" msgstr "" "لا تكتب الدالتان B() وB() أكثر من I بايت (بما في " "ذلك بايت الخلو المنتهي (\\[aq]\\[rs]0\\[aq])). إذا بُترت المخرجات بسبب هذا " "الحد، فإن القيمة المعادة هي عدد المحارف (باستثناء بايت الخلو المنتهي) التي " "كانت ستُكتب في السلسلة النهائية لو توفرت مساحة كافية. وبذلك، فإن القيمة " "المعادة التي تساوي I أو أكثر تعني أن المخرجات قد بُترت. (انظر أيضًا " "أدناه تحت التنبيهات CAVEATS.)" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "On error, a negative value is returned, and I is set to indicate the " "error." msgstr "عند حدوث خطأ، تُعاد قيمة سالبة، ويُضبط I للإشارة إلى الخطأ." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "ERRORS" msgstr "الأخطاء" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "ATTRIBUTES" msgstr "السمات" #. type: Plain text #: archlinux debian-unstable 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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Interface" msgstr "الواجهة" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Attribute" msgstr "السمة" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Value" msgstr "القيمة" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid ".na\n" msgstr ".na\n" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid ".nh\n" msgstr ".nh\n" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "B(),\n" "B()" msgstr "" "B()،\n" "B()" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "Thread safety" msgstr "سلامة الخيوط" #. type: tbl table #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "MT-Safe locale" msgstr "المنطقة (locale) آمنة لتعدد المسالك (MT-Safe)" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "STANDARDS" msgstr "المعايير" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "C11, POSIX.1-2008." msgstr "C11, POSIX.1-2008." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "HISTORY" msgstr "التاريخ" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "SUSv2, C99, POSIX.1-2001." msgstr "SUSv2, C99, POSIX.1-2001." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "Concerning the return value, SUSv2 and C99 contradict each other: when " "B() is called with I=0 then SUSv2 stipulates an unspecified " "return value less than 1, while C99 allows I to be NULL in this case, " "and gives the return value (as always) as the number of characters that " "would have been written in case the output string has been large enough. " "POSIX.1-2001 and later align their specification of B() with C99." msgstr "" "بخصوص القيمة المُرجعة، يتعارض SUSv2 وC99 مع بعضهما البعض: عندما يُستدعى " "B() مع I=0، ينص SUSv2 على قيمة إرجاع غير محددة أقل من 1، " "بينما يسمح C99 بأن تكون I فارغة (NULL) في هذه الحالة، ويعطي القيمة " "المُرجعة (كما هو الحال دائمًا) كعدد المحارف التي كانت ستُكتب لو كانت سلسلة " "الإخراج كبيرة بما يكفي. POSIX.1-2001 والإصدارات الأحدث توائم مواصفاتها لـ " "B() مع C99." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "CAVEATS" msgstr "تحذيرات" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "Some programs imprudently rely on code such as the following" msgstr "تعتمد بعض البرامج بتهور على كود مثل الآتي" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "snprintf(buf, countof(buf), \"%s some further text\", buf);\n" msgstr "snprintf(buf, countof(buf), \"%s some further text\", buf);\n" #. http://sourceware.org/bugzilla/show_bug.cgi?id=7075 #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "to append text to I. However, the standards explicitly note that the " "results are undefined if source and destination buffers overlap when calling " "B() and B(). Depending on the version of B(1) " "used, and the compiler options employed, calls such as the above will B " "produce the expected results." msgstr "" "لإلحاق نص بـ I. ومع ذلك، تنص المعايير صراحةً على أن النتائج غير معرفة " "إذا تداخلت المخازن المؤقتة المصدر والوجهة عند استدعاء B() " "وB(). اعتمادًا على إصدار B(1) المستخدم، وخيارات المترجم " "المُستخدمة، فإن الاستدعاءات مثل المذكور أعلاه B<لن> تُنتج النتائج المتوقعة." #. .SH HISTORY #. UNIX V7 defines the three routines #. .BR sprintf (). #. 2.11BSD has #. .BR vsprintf (). #. 4.4BSD introduces the functions #. .BR snprintf () #. and #. .BR vsnprintf (). #. FreeBSD also has functions #. .BR asprintf () #. and #. .BR vasprintf (), #. that allocate a buffer large enough for #. .BR sprintf (). #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The glibc implementation of the functions B() and B() " "conforms to the C99 standard, that is, behaves as described above, since " "glibc 2.1. Until glibc 2.0.6, they would return -1 when the output was " "truncated." msgstr "" "يتوافق تطبيق glibc للدالتين B() وB() مع معيار C99، أي " "أنه يتصرف كما هو موضح أعلاه، وذلك منذ الإصدار glibc 2.1. حتى الإصدار glibc " "2.0.6، كانتا تعيدان -1 عند بتر المخرجات." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "To allocate a sufficiently large string and print into it (code correct for " "both glibc 2.0 and glibc 2.1):" msgstr "" "لتخصيص سلسلة كبيرة بما يكفي والطباعة فيها (كود صحيح لكل من glibc 2.0 و glibc " "2.1):" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estdarg.hE\n" "\\&\n" "char *\n" "make_message(const char *fmt, ...)\n" "{\n" " int n = 0;\n" " size_t size = 0;\n" " char *p = NULL;\n" " va_list ap;\n" "\\&\n" " /* Determine required size. */\n" "\\&\n" " va_start(ap, fmt);\n" " n = vsnprintf(p, size, fmt, ap);\n" " va_end(ap);\n" "\\&\n" " if (n E 0)\n" " return NULL;\n" "\\&\n" " size = (size_t) n + 1; /* One extra byte for \\[aq]\\[rs]0\\[aq] */\n" " p = malloc(size);\n" " if (p == NULL)\n" " return NULL;\n" "\\&\n" " va_start(ap, fmt);\n" " n = vsnprintf(p, size, fmt, ap);\n" " va_end(ap);\n" "\\&\n" " if (n E 0) {\n" " free(p);\n" " return NULL;\n" " }\n" "\\&\n" " return p;\n" "}\n" msgstr "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estdarg.hE\n" "\\&\n" "char *\n" "make_message(const char *fmt, ...)\n" "{\n" " int n = 0;\n" " size_t size = 0;\n" " char *p = NULL;\n" " va_list ap;\n" "\\&\n" " /* تحديد الحجم المطلوب. */\n" "\\&\n" " va_start(ap, fmt);\n" " n = vsnprintf(p, size, fmt, ap);\n" " va_end(ap);\n" "\\&\n" " if (n E 0)\n" " return NULL;\n" "\\&\n" " size = (size_t) n + 1; /* بايت إضافي واحد لـ \\[aq]\\[rs]0\\[aq] */\n" " p = malloc(size);\n" " if (p == NULL)\n" " return NULL;\n" "\\&\n" " va_start(ap, fmt);\n" " n = vsnprintf(p, size, fmt, ap);\n" " va_end(ap);\n" "\\&\n" " if (n E 0) {\n" " free(p);\n" " return NULL;\n" " }\n" "\\&\n" " return p;\n" "}\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "If truncation occurs in glibc versions prior to glibc 2.0.6, this is treated " "as an error instead of being handled gracefully." msgstr "" "إذا حدث البتر في إصدارات glibc الأقدم من 2.0.6، فيُعامل هذا كخطأ بدلاً من " "التعامل معه بلباقة." #. type: SH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "SEE ALSO" msgstr "انظر أيضًا" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "B(1), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(5)" msgstr "" "B(1), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(5)" #. 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 "صفحات دليل لينكس (لم تصدر بعد)"