# 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 "rand" msgstr "rand" #. 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 "rand, rand_r, srand - pseudo-random number generator" msgstr "rand, rand_r, srand - مولد أعداد شبه عشوائية" #. 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 Estdlib.hE>\n" msgstr "B<#include Estdlib.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 "" "B\n" "BIB<);>\n" msgstr "" "B\n" "BIB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B<[[deprecated]] int rand_r(unsigned int *>IB<);>\n" msgstr "B<[[deprecated]] int rand_r(unsigned int *>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.24:\n" " _POSIX_C_SOURCE E= 199506L\n" " glibc 2.23 and earlier\n" " _POSIX_C_SOURCE\n" msgstr "" " منذ glibc 2.24:\n" " _POSIX_C_SOURCE E= 199506L\n" " glibc 2.23 وما قبله:\n" " _POSIX_C_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-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #| msgid "" #| "The B() function returns a pseudo-random integer in the range 0 to " #| "B inclusive (i.e., the mathematical range [B<0>," #| "\\~B])." msgid "" "The B() function returns a pseudo-random integer in the range 0 to " "B inclusive (i.e., the mathematical range [B<0>,\\ B])." msgstr "" "ترجع الدالة B() عددًا صحيحًا شبه عشوائي في النطاق من 0 إلى B " "شاملاً (أي النطاق الرياضي [B<0>,\\ 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 sets its argument as the seed for a new sequence of " "pseudo-random integers to be returned by B(). These sequences are " "repeatable by calling B() with the same seed value." msgstr "" "تضبط الدالة B() معاملها كبذرة لتسلسل جديد من الأعداد الصحيحة شبه " "العشوائية التي تُرجعها B(). هذه التسلسلات قابلة للتكرار باستدعاء " "B() بنفس قيمة البذرة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "If no seed value is provided, the B() function is automatically " "seeded with a value of 1." msgstr "إذا لم تُقدم قيمة بذرة، تُزرع الدالة B() آليًا بقيمة 1." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The function B() is not reentrant, since it uses hidden state that is " "modified on each call. This might just be the seed value to be used by the " "next call, or it might be something more elaborate. In order to get " "reproducible behavior in a threaded application, this state must be made " "explicit; this can be done using the reentrant function B()." msgstr "" "الدالة B() ليست قابلة لإعادة الدخول، لأنها تستخدم حالة مخفية تُعدل في " "كل استدعاء. قد تكون هذه مجرد قيمة البذرة التي ستستخدمها الاستدعاءات " "التالية، أو قد تكون شيئًا أكثر تعقيدًا. للحصول على سلوك قابل للتكرار في" " تطبيق " "متعدد الخيوط، يجب جعل هذه الحالة صريحة؛ يمكن فعل ذلك باستخدام الدالة القابلة " "لإعادة الدخول B()." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #| msgid "" #| "Like B(), B() returns a pseudo-random integer in the range " #| "[B<0>,\\~B]. The I argument is a pointer to an " #| "I that is used to store state between calls. If " #| "B() is called with the same initial value for the integer " #| "pointed to by I, and that value is not modified between calls, " #| "then the same pseudo-random sequence will result." msgid "" "Like B(), B() returns a pseudo-random integer in the range " "[B<0>,\\ B]. The I argument is a pointer to an I that is used to store state between calls. If B() is called " "with the same initial value for the integer pointed to by I, and that " "value is not modified between calls, then the same pseudo-random sequence " "will result." msgstr "" "مثل B()، ترجع B() عددًا صحيحًا شبه عشوائي في النطاق [B<0>," "\\ B]. المعامل I هو مؤشر إلى I يُستخدم لتخزين " "الحالة بين الاستدعاءات. إذا استُدعيت B() بنفس القيمة الأولية للعدد " "الصحيح المشار إليه بواسطة I، ولم تُعدل تلك القيمة بين الاستدعاءات، " "فسينتج نفس التسلسل شبه العشوائي." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The value pointed to by the I argument of B() provides only " "a very small amount of state, so this function will be a weak pseudo-random " "generator. Try B(3) instead." msgstr "" "القيمة المشار إليها بواسطة معامل I للدالة 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 "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 a value between 0 and " "B (inclusive). The B() function returns no value." msgstr "" "ترجع الدالتان B() و B() قيمة بين 0 و B (شاملاً). " "لا ترجع الدالة B() أي قيمة." #. 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(),\n" "B()" msgstr "" "B(),\n" "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 "" "The versions of B() and B() in the Linux C Library use the " "same random number generator as B(3) and B(3), so the " "lower-order bits should be as random as the higher-order bits. However, on " "older B() implementations, and on current implementations on " "different systems, the lower-order bits are much less random than the higher-" "order bits. Do not use this function in applications intended to be " "portable when good randomness is needed. (Use B(3) instead.)" msgstr "" "إصدارات B() و B() في مكتبة C للينكس تستخدم نفس مولد الأعداد " "العشوائية مثل B(3) و B(3)، لذا يجب أن تكون البتات ذات " "الرتبة المنخفضة عشوائية بقدر البتات ذات الرتبة العالية. ومع ذلك، في تطبيقات " "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 "STANDARDS" 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: TQ #: 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 "C11, POSIX.1-2008." msgstr "C11, POSIX.1-2008." #. 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 "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 "SVr4, 4.3BSD, C89, POSIX.1-2001." msgstr "SVr4, 4.3BSD, C89, POSIX.1-2001." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "POSIX.1-2001. Obsolete in POSIX.1-2008." msgstr "POSIX.1-2001. مهمل في 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 "EXAMPLES" 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 gives the following example of an implementation of B() " "and B(), possibly useful when one needs the same sequence on two " "different machines." msgstr "" "يعطي POSIX.1-2001 المثال التالي لتنفيذ B() و B()، ربما يكون " "مفيدًا عندما يحتاج المرء نفس التسلسل على جهازين مختلفين." #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "static unsigned long next = 1;\n" "\\&\n" "/* RAND_MAX assumed to be 32767 */\n" "int myrand(void) {\n" " next = next * 1103515245 + 12345;\n" " return((unsigned) (next/65536) % 32768);\n" "}\n" "\\&\n" "void mysrand(unsigned int seed) {\n" " next = seed;\n" "}\n" msgstr "" "static unsigned long next = 1;\n" "\\&\n" "/* RAND_MAX assumed to be 32767 */\n" "int myrand(void) {\n" " next = next * 1103515245 + 12345;\n" " return((unsigned) (next/65536) % 32768);\n" "}\n" "\\&\n" "void mysrand(unsigned int seed) {\n" " next = seed;\n" "}\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The following program can be used to display the pseudo-random sequence " "produced by B() when given a particular seed. When the seed is " "I<-1>, the program uses a random seed." msgstr "" "يمكن استخدام البرنامج التالي لعرض التسلسل شبه العشوائي الذي تُنتجه B() " "عند إعطائها بذرة معينة. عندما تكون البذرة I<-1>، يستخدم البرنامج بذرة " "عشوائية." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int r;\n" " unsigned int seed, nloops;\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s EseedE EnloopsE\\[rs]n\"," " argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " seed = atoi(argv[1]);\n" " nloops = atoi(argv[2]);\n" "\\&\n" " if (seed == -1) {\n" " seed = arc4random();\n" " printf(\"seed: %u\\[rs]n\", seed);\n" " }\n" "\\&\n" " srand(seed);\n" " for (unsigned int j = 0; j E nloops; j++) {\n" " r = rand();\n" " printf(\"%d\\[rs]n\", r);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " int r;\n" " unsigned int seed, nloops;\n" "\\&\n" " if (argc != 3) {\n" " fprintf(stderr, \"Usage: %s EseedE EnloopsE\\[rs]n\"," " argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " seed = atoi(argv[1]);\n" " nloops = atoi(argv[2]);\n" "\\&\n" " if (seed == -1) {\n" " seed = arc4random();\n" " printf(\"seed: %u\\[rs]n\", seed);\n" " }\n" "\\&\n" " srand(seed);\n" " for (unsigned int j = 0; j E nloops; j++) {\n" " r = rand();\n" " printf(\"%d\\[rs]n\", r);\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\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(3), B(3)" msgstr "B(3), B(3)" #. 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 msgid "" "The B() function returns a pseudo-random integer in the range 0 to " "B inclusive (i.e., the mathematical range [0,\\ B])." msgstr "" "تُرجع الدالة B() عددًا صحيحًا شبه عشوائي في النطاق من 0 إلى B " "شاملًا (أي النطاق الرياضي [0,\\ B])." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "Like B(), B() returns a pseudo-random integer in the range [0," "\\ B]. The I argument is a pointer to an I " "that is used to store state between calls. If B() is called with " "the same initial value for the integer pointed to by I, and that " "value is not modified between calls, then the same pseudo-random sequence " "will result." msgstr "" "مثل B()، تُرجع B() عددًا صحيحًا شبه عشوائي في النطاق [0,\\ " "B]. المعامل I هو مؤشر إلى I يُستخدم لتخزين " "الحالة بين الاستدعاءات. إذا استُدعيت B() بنفس القيمة الأولية للعدد " "الصحيح المشار إليه بواسطة I، ولم تُعدل تلك القيمة بين الاستدعاءات، " "فسينتج نفس التسلسل شبه العشوائي." #. type: Plain text #: debian-trixie #, no-wrap msgid "" "static unsigned long next = 1;\n" "\\&\n" "/* RAND_MAX assumed to be 32767 */\n" "int myrand(void) {\n" " next = next * 1103515245 + 12345;\n" " return((unsigned)(next/65536) % 32768);\n" "}\n" "\\&\n" "void mysrand(unsigned int seed) {\n" " next = seed;\n" "}\n" msgstr "" "static unsigned long next = 1;\n" "\\&\n" "/* RAND_MAX assumed to be 32767 */\n" "int myrand(void) {\n" " next = next * 1103515245 + 12345;\n" " return((unsigned)(next/65536) % 32768);\n" "}\n" "\\&\n" "void mysrand(unsigned int seed) {\n" " next = seed;\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2025-01-05" msgstr "5 يناير 2025" #. 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 "صفحات دليل لينكس (لم تصدر بعد)"