# 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 "strtok" msgstr "strtok" #. 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-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "strtok - extract tokens from strings" msgstr "strtok - استخراج الرموز من السلاسل" #. 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 opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<, const char *restrict >I<" "delim>B<);>\n" msgstr "" "BIB<, const char *restrict >I<" "delim>B<);>\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 "" "The B() function breaks a string into a sequence of zero or more " "nonempty tokens. On the first call to B(), the string to be parsed " "should be specified in I. In each subsequent call that should parse " "the same string, I must be NULL." msgstr "" "الدالة B() تقسم سلسلة محارف إلى تسلسل من صفر أو أكثر من الرموز غير " "الفارغة. في الاستدعاء الأول لـ B()، يجب تحديد السلسلة المراد " "تحليلها في I. في كل استدعاء لاحق يجب أن يحلل نفس السلسلة، يجب أن يكون " "I NULL." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The I argument specifies a set of bytes that delimit the tokens in " "the parsed string. The caller may specify different strings in I in " "successive calls that parse the same string." msgstr "" "الوسيط I يحدد مجموعة من البايتات التي تفصل الرموز في السلسلة " "المحللة. قد يحدد المستدعي سلاسل مختلفة في I في استدعاءات متتالية " "تحلل نفس السلسلة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "Each call to B() returns a pointer to a null-terminated string " "containing the next token. This string does not include the delimiting " "byte. If no more tokens are found, B() returns NULL." msgstr "" "كل استدعاء لـ B() يُرجع مؤشرًا إلى سلسلة محارف منتهية بقيمة خالية " "تحتوي على الرمز التالي. هذه السلسلة لا تتضمن البايت الفاصل. إذا لم يتم " "العثور على المزيد من الرموز، تُرجع B() NULL." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A sequence of calls to B() that operate on the same string " "maintains a pointer that determines the point from which to start searching " "for the next token. The first call to B() sets this pointer to " "point to the first byte of the string. The start of the next token is " "determined by scanning forward for the next nondelimiter byte in I. If " "such a byte is found, it is taken as the start of the next token. If no " "such byte is found, then there are no more tokens, and B() returns " "NULL. (A string that is empty or that contains only delimiters will thus " "cause B() to return NULL on the first call.)" msgstr "" "تسلسل من الاستدعاءات لـ B() التي تعمل على نفس السلسلة يحافظ على " "مؤشر يحدد النقطة التي يبدأ منها البحث عن الرمز التالي. الاستدعاء الأول لـ " "B() يضبط هذا المؤشر ليشير إلى أول بايت من السلسلة. يتم تحديد بداية " "الرمز التالي بالمسح للأمام بحثًا عن البايت غير الفاصل التالي في I. إذا " "تم العثور على مثل هذا البايت، يُعتبر بداية الرمز التالي. إذا لم يتم العثور " "على مثل هذا البايت، فلا توجد رموز أخرى، وتُرجع B() NULL. (سلسلة " "فارغة أو تحتوي فقط على فواصل ستتسبب في إرجاع B() NULL في الاستدعاء " "الأول.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The end of each token is found by scanning forward until either the next " "delimiter byte is found or until the terminating null byte " "(\\[aq]\\[rs]0\\[aq]) is encountered. If a delimiter byte is found, it is " "overwritten with a null byte to terminate the current token, and " "B() saves a pointer to the following byte; that pointer will be " "used as the starting point when searching for the next token. In this case, " "B() returns a pointer to the start of the found token." msgstr "" "يتم العثور على نهاية كل رمز بالمسح للأمام حتى يتم العثور على البايت الفاصل " "التالي أو حتى يتم مواجهة البايت الختامي الصفري (\\[aq]\\[rs]0\\[aq]). إذا " "تم العثور على بايت فاصل، يُستبدل ببايت صفري لإنهاء الرمز الحالي، وتحفظ " "B() مؤشرًا إلى البايت التالي؛ سيُستخدم هذا المؤشر كنقطة بداية عند " "البحث عن الرمز التالي. في هذه الحالة، تُرجع B() مؤشرًا إلى بداية " "الرمز الذي تم العثور عليه." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "From the above description, it follows that a sequence of two or more " "contiguous delimiter bytes in the parsed string is considered to be a single " "delimiter, and that delimiter bytes at the start or end of the string are " "ignored. Put another way: the tokens returned by B() are always " "nonempty strings. Thus, for example, given the string \\[dq]I\\[dq], successive calls to B() that specify the delimiter string " "\\[dq]I<;,>\\[dq] would return the strings \\[dq]I\\[dq] and " "\\[dq]I\\[dq], and then a null pointer." msgstr "" "من الوصف أعلاه، يتبع ذلك أن تسلسلًا من بايتين فاصلين متجاورين أو أكثر في " "السلسلة المحللة يُعتبر فاصلًا واحدًا، وأن البايتات الفاصلة في بداية أو نهاية " "السلسلة تُتجاهل. بعبارة أخرى: الرموز التي تُرجعها B() هي دائمًا" " سلاسل " "غير فارغة. وبالتالي، على سبيل المثال، بالنظر إلى السلسلة \\[dq]I\\[dq]، فإن الاستدعاءات المتتالية لـ B() التي تحدد سلسلة الفاصل " "\\[dq]I<;,>\\[dq] سترجع السلاسل \\[dq]I\\[dq] و \\[dq]I\\[dq]، ثم " "مؤشرًا فارغًا." #. 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-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() returns a pointer to the next token, or NULL if there are no " "more tokens." msgstr "" "B() تُرجع مؤشرًا إلى الرمز التالي، أو NULL إذا لم تكن هناك رموز أخرى." #. 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" #. #-#-#-#-# archlinux: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# debian-trixie: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: TP #. #-#-#-#-# debian-unstable: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# fedora-44: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: TP #. #-#-#-#-# fedora-rawhide: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: TP #. #-#-#-#-# mageia-cauldron: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: TP #. #-#-#-#-# opensuse-leap-16-1: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #. #-#-#-#-# opensuse-tumbleweed: strtok.3.pot (PACKAGE VERSION) #-#-#-#-# #. type: tbl table #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "B()" msgstr "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-Unsafe race:strtok" msgstr "MT-Unsafe race:strtok" #. 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-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "CAVEATS" msgstr "تحذيرات" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "Be cautious when using this function. If you do use it, note that:" msgstr "توخ الحذر عند استخدام هذه الدالة. إذا استخدمتها، فلاحظ أن:" #. type: IP #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "\\[bu]" msgstr "\\[bu]" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The identity of the delimiting byte is lost." msgstr "يُفقد هوية البايت الفاصل." #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "" "The B() function uses a static buffer while parsing, so it's not " "thread safe. Use B(3) if this matters to you." msgstr "" "الدالة 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 "EXAMPLES" msgstr "أمثلة" #. type: Plain text #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed msgid "See B(3)." msgstr "انظر B(3)." #. 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)" msgstr "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3)" #. type: TH #: debian-trixie #, no-wrap msgid "2024-06-16" msgstr "16 يونيو 2024" #. type: TH #: debian-trixie #, no-wrap msgid "Linux man-pages 6.9.1" msgstr "صفحات دليل لينكس 6.9.1" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "strtok, strtok_r - extract tokens from strings" msgstr "strtok, strtok_r - استخراج الرموز من السلاسل" #. 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 mageia-cauldron #, no-wrap msgid "" "BIB<, const char *restrict >I<" "delim>B<);>\n" "BIB<, const char *restrict >I<" "delim>B<,>\n" "B< char **restrict >IB<);>\n" msgstr "" "BIB<, const char *restrict >I<" "delim>B<);>\n" "BIB<, const char *restrict >I<" "delim>B<,>\n" "B< char **restrict >IB<);>\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "" "متطلبات ماكروات اختبار الميزات لـ glibc (انظر B(7)):" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "B():" msgstr "B():" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" " _POSIX_C_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" msgstr "" " _POSIX_C_SOURCE\n" " || /* glibc E= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "From the above description, it follows that a sequence of two or more " "contiguous delimiter bytes in the parsed string is considered to be a single " "delimiter, and that delimiter bytes at the start or end of the string are " "ignored. Put another way: the tokens returned by B() are always " "nonempty strings. Thus, for example, given the string \"I\", " "successive calls to B() that specify the delimiter string \"I<;,>\" " "would return the strings \"I\" and \"I\", and then a null pointer." msgstr "" "من الوصف أعلاه، يتبع ذلك أن تسلسلًا من بايتين فاصلين متجاورين أو أكثر في " "السلسلة المحللة يُعتبر فاصلًا واحدًا، وأن البايتات الفاصلة في بداية أو نهاية " "السلسلة تُتجاهل. بعبارة أخرى: الرموز التي تُرجعها B() هي دائمًا" " سلاسل " "غير فارغة. وبالتالي، على سبيل المثال، بالنظر إلى السلسلة \"I\"، " "فإن الاستدعاءات المتتالية لـ B() التي تحدد سلسلة الفاصل \"I<;,>\" " "سترجع السلاسل \"I\" و \"I\"، ثم مؤشرًا فارغًا." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #| msgid "" #| "The B() function is a reentrant version of B(). The " #| "I argument is a pointer to a I variable that is used " #| "internally by B() in order to maintain context between " #| "successive calls that parse the same string." msgid "" "The B() function is a reentrant version of B(). The " "I argument is a pointer to a I variable that is used " "internally by B() in order to maintain context between successive " "calls that parse the same string." msgstr "" "الدالة B() هي نسخة قابلة لإعادة الدخول من B(). المعامل " "I هو مؤشر لمتغير من نوع I يُستخدم داخليًا بواسطة " "B للحفاظ على السياق بين الاستدعاءات المتتالية التي تحلل نفس " "السلسلة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "On the first call to B(), I should point to the string to be " "parsed, and the value of I<*saveptr> is ignored (but see VERSIONS). In " "subsequent calls, I should be NULL, and I (and the buffer that " "it points to) should be unchanged since the previous call." msgstr "" "في أول استدعاء لـ B()، يجب أن يشير I إلى السلسلة المراد " "تحليلها، ويُتجاهل قيمة I<*saveptr> (لكن انظر الإصدارات). في الاستدعاءات " "اللاحقة، يجب أن يكون I NULL، ويجب أن يبقى I (والمخزن المؤقت " "الذي يشير إليه) دون تغيير منذ الاستدعاء السابق." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "Different strings may be parsed concurrently using sequences of calls to " "B() that specify different I arguments." msgstr "" "يمكن تحليل سلاسل مختلفة بشكل متزامن باستخدام تسلسلات من الاستدعاءات لـ " "B() تحدد معاملات I مختلفة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "The B() and B() functions return a pointer to the next " "token, or NULL if there are no more tokens." msgstr "" "ترجع الدالتان B() و B() مؤشرًا إلى الرمز التالي، أو NULL " "إذا لم تكن هناك رموز أخرى." #. type: TP #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "B()" msgstr "B()" #. type: tbl table #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "MT-Safe" msgstr "MT-Safe" #. type: SH #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "VERSIONS" msgstr "الإصدارات" #. Tru64, according to its manual page #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "On some implementations, I<*saveptr> is required to be NULL on the first " "call to B() that is being used to parse I." msgstr "" "في بعض التطبيقات، يُطلب أن يكون I<*saveptr> NULL في أول استدعاء لـ " "B() يُستخدم لتحليل I." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "POSIX.1-2001." msgstr "POSIX.1-2001." #. type: SH #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "BUGS" msgstr "العلل" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "Be cautious when using these functions. If you do use them, note that:" msgstr "كن حذرًا عند استخدام هذه الدوال. إذا استخدمتها، فلاحظ أن:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "These functions modify their first argument." msgstr "هذه الدوال تُعدل معاملها الأول." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "These functions cannot be used on constant strings." msgstr "لا يمكن استخدام هذه الدوال على السلاسل الثابتة." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "The B() function uses a static buffer while parsing, so it's not " "thread safe. Use B() if this matters to you." msgstr "" "تستخدم الدالة B() مخزنًا مؤقتًا ثابتًا أثناء التحليل، لذا فهي غير" " آمنة " "للخيوط. استخدم B() إذا كان هذا مهمًا لك." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "The program below uses nested loops that employ B() to break a " "string into a two-level hierarchy of tokens. The first command-line " "argument specifies the string to be parsed. The second argument specifies " "the delimiter byte(s) to be used to separate that string into \"major\" " "tokens. The third argument specifies the delimiter byte(s) to be used to " "separate the \"major\" tokens into subtokens." msgstr "" "يستخدم البرنامج أدناه حلقات متداخلة توظف B() لتقسيم سلسلة إلى " "تسلسل هرمي ذي مستويين من الرموز. تحدد وسيطة سطر الأوامر الأولى السلسلة " "المراد تحليلها. تحدد الوسيطة الثانية بايت (بايتات) المحدد المستخدمة لفصل تلك " "السلسلة إلى رموز \"رئيسية\". تحدد الوسيطة الثالثة بايت (بايتات) المحدد " "المستخدمة لفصل الرموز \"الرئيسية\" إلى رموز فرعية." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "An example of the output produced by this program is the following:" msgstr "مثال على المخرجات التي ينتجها هذا البرنامج هو التالي:" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" "$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n" "1: a/bbb///cc\n" " --E a\n" " --E bbb\n" " --E cc\n" "2: xxx\n" " --E xxx\n" "3: yyy\n" " --E yyy\n" msgstr "" "$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n" "1: a/bbb///cc\n" " --E a\n" " --E bbb\n" " --E cc\n" "2: xxx\n" " --E xxx\n" "3: yyy\n" " --E yyy\n" #. type: SS #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "Program source" msgstr "مصدر البرنامج" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *str1, *str2, *token, *subtoken;\n" " char *saveptr1, *saveptr2;\n" " int j;\n" "\\&\n" " if (argc != 4) {\n" " fprintf(stderr, \"Usage: %s string delim subdelim\\[rs]n\",\n" " argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n" " token = strtok_r(str1, argv[2], &saveptr1);\n" " if (token == NULL)\n" " break;\n" " printf(\"%d: %s\\[rs]n\", j, token);\n" "\\&\n" " for (str2 = token; ; str2 = NULL) {\n" " subtoken = strtok_r(str2, argv[3], &saveptr2);\n" " if (subtoken == NULL)\n" " break;\n" " printf(\"\\[rs]t --E %s\\[rs]n\", subtoken);\n" " }\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Estring.hE\n" "\\&\n" "int\n" "main(int argc, char *argv[])\n" "{\n" " char *str1, *str2, *token, *subtoken;\n" " char *saveptr1, *saveptr2;\n" " int j;\n" "\\&\n" " if (argc != 4) {\n" " fprintf(stderr, \"Usage: %s string delim subdelim\\[rs]n\",\n" " argv[0]);\n" " exit(EXIT_FAILURE);\n" " }\n" "\\&\n" " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n" " token = strtok_r(str1, argv[2], &saveptr1);\n" " if (token == NULL)\n" " break;\n" " printf(\"%d: %s\\[rs]n\", j, token);\n" "\\&\n" " for (str2 = token; ; str2 = NULL) {\n" " subtoken = strtok_r(str2, argv[3], &saveptr2);\n" " if (subtoken == NULL)\n" " break;\n" " printf(\"\\[rs]t --E %s\\[rs]n\", subtoken);\n" " }\n" " }\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron msgid "" "Another example program using B() can be found in " "B(3)." msgstr "" "يمكن العثور على مثال آخر لبرنامج يستخدم B() في B(3)." #. 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)" msgstr "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3)" #. 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-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 "صفحات دليل لينكس (لم تصدر بعد)"