# 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 18:19+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 "SLIST" msgstr "SLIST" #. type: TH #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "2025-05-17" msgstr "17 مايو 2025" #. 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 "الاسم" #. SLIST_FOREACH_FROM, #. SLIST_FOREACH_FROM_SAFE, #. SLIST_FOREACH_SAFE, #. SLIST_REMOVE_AFTER, #. SLIST_SWAP #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "SLIST_EMPTY, SLIST_ENTRY, SLIST_FIRST, SLIST_FOREACH, SLIST_HEAD, " "SLIST_HEAD_INITIALIZER, SLIST_INIT, SLIST_INSERT_AFTER, SLIST_INSERT_HEAD, " "SLIST_NEXT, SLIST_REMOVE, SLIST_REMOVE_HEAD - implementation of a singly " "linked list" msgstr "" "SLIST_EMPTY، SLIST_ENTRY، SLIST_FIRST، SLIST_FOREACH، SLIST_HEAD، " "SLIST_HEAD_INITIALIZER، SLIST_INIT، SLIST_INSERT_AFTER، SLIST_INSERT_HEAD، " "SLIST_NEXT، SLIST_REMOVE، SLIST_REMOVE_HEAD - تنفيذ قائمة مرتبطة منفردة" #. 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 Esys/queue.hE>\n" msgstr "B<#include Esys/queue.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" msgstr "B\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" "BIB<);>\n" msgstr "" "B\n" "BIB<);>\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 "BIB<);>\n" msgstr "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 "" "BIB<,>\n" "B< struct TYPE *>IB<, SLIST_ENTRY >IB<);>\n" "BIB<,>\n" "B< struct TYPE *>IB<, SLIST_ENTRY >IB<);>\n" msgstr "" "BIB<,>\n" "B< struct TYPE *>IB<, SLIST_ENTRY >IB<);>\n" "BIB<,>\n" "B< struct TYPE *>IB<, SLIST_ENTRY >IB<);>\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "BIB<);>\n" "BIB<, SLIST_ENTRY >IB<);>\n" msgstr "" "BIB<);>\n" "BIB<, SLIST_ENTRY >IB<);>\n" #. .BI "SLIST_FOREACH_FROM(struct TYPE *" var ", SLIST_HEAD *" head , #. .BI " SLIST_ENTRY " NAME ); #. .P #. .BI "SLIST_FOREACH_SAFE(struct TYPE *" var ", SLIST_HEAD *" head , #. .BI " SLIST_ENTRY " NAME ", struct TYPE *" temp_var ); #. .BI "SLIST_FOREACH_FROM_SAFE(struct TYPE *" var ", SLIST_HEAD *" head , #. .BI " SLIST_ENTRY " NAME ", struct TYPE *" temp_var ); #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BIB<, SLIST_HEAD *>IB<, SLIST_ENTRY >IB<);>\n" msgstr "BIB<, SLIST_HEAD *>IB<, SLIST_ENTRY >IB<);>\n" #. .BI "void SLIST_REMOVE_AFTER(struct TYPE *" elm , #. .BI " SLIST_ENTRY " NAME ); #. .P #. .BI "void SLIST_SWAP(SLIST_HEAD *" head1 ", SLIST_HEAD *" head2 , #. .BI " SLIST_ENTRY " NAME ); #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "BIB<, struct TYPE *>IB<, TYPE,>\n" "B< SLIST_ENTRY >IB<);>\n" "BIB<,>\n" "B< SLIST_ENTRY >IB<);>\n" msgstr "" "BIB<, struct TYPE *>IB<, TYPE,>\n" "B< SLIST_ENTRY >IB<);>\n" "BIB<,>\n" "B< SLIST_ENTRY >IB<);>\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 macros define and operate on singly linked lists." msgstr "تُعرِّف هذه الكليّات وتُشغِّل القوائم المرتبطة منفردة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the macro definitions, I is the name of a user-defined structure, " "that must contain a field of type I, named I. The " "argument I is the name of a user-defined structure that must be " "declared using the macro B()." msgstr "" "في تعريفات الكليّات، I هو اسم بنية مُعرَّفة من قبل المستخدم، يجب أن تحتوي " "على حقل من النوع I، مُسمّى I. المُعامل I هو اسم " "بنية مُعرَّفة من قبل المستخدم يجب أن تُصرَّح باستخدام الكليّة B()." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Creation" msgstr "الإنشاء" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "A singly linked list is headed by a structure defined by the " "B() macro. This structure contains a single pointer to the " "first element on the list. The elements are singly linked for minimum space " "and pointer manipulation overhead at the expense of O(n) removal for " "arbitrary elements. New elements can be added to the list after an existing " "element or at the head of the list. An I structure is declared " "as follows:" msgstr "" "القائمة المرتبطة منفردة يرأسها بنية مُعرَّفة بواسطة الكليّة B(). " "تحتوي هذه البنية على مؤشر وحيد إلى أول عنصر في القائمة. العناصر مرتبطة " "منفردة لتقليل المساحة وكلفة معالجة المؤشرات على حساب إزالة O(n) للعناصر " "العشوائية. يمكن إضافة عناصر جديدة إلى القائمة بعد عنصر موجود أو في رأس " "القائمة. تُصرَّح بنية I كالتالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "SLIST_HEAD(HEADNAME, TYPE) head;\n" msgstr "SLIST_HEAD(HEADNAME, TYPE) head;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "where I is the structure to be defined, and I " "is the type of the elements to be linked into the list. A pointer to the " "head of the list can later be declared as:" msgstr "" "حيث I هي البنية المراد تعريفها، و I هو نوع " "العناصر المراد ربطها في القائمة. يمكن لاحقًا التصريح عن مؤشر لرأس القائمة كـ:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "struct HEADNAME *headp;\n" msgstr "struct HEADNAME *headp;\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "(The names I and I are user selectable.)" msgstr "(الاسمان I و I يمكن للمستخدم اختيارهما.)" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() declares a structure that connects the elements in the " "list." msgstr "B() تُصرِّح ببنية تربط العناصر في القائمة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() evaluates to an initializer for the list " "I." msgstr "B() تُقيَّم إلى مُهيِّئ للقائمة I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B() initializes the list referenced by I." msgstr "B() تُهيِّئ القائمة المُشار إليها بواسطة I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() evaluates to true if there are no elements in the list." msgstr "B() تُقيَّم إلى صحيح إذا لم تكن هناك عناصر في القائمة." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Insertion" msgstr "إدراج" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() inserts the new element I at the head of the " "list." msgstr "B() تُدرج العنصر الجديد I في رأس القائمة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() inserts the new element I after the element " "I." msgstr "" "B() تُدرج العنصر الجديد I بعد العنصر I." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Traversal" msgstr "اجتياز" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() returns the first element in the list, or NULL if the list " "is empty." msgstr "" "B() تُعيد أول عنصر في القائمة، أو NULL إذا كانت القائمة فارغة." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B() returns the next element in the list." msgstr "B() تُعيد العنصر التالي في القائمة." #. .P #. .BR SLIST_FOREACH_FROM () #. behaves identically to #. .BR SLIST_FOREACH () #. when #. .I var #. is NULL, else it treats #. .I var #. as a previously found SLIST element and begins the loop at #. .I var #. instead of the first element in the SLIST referenced by #. .IR head . #. .Pp #. .BR SLIST_FOREACH_SAFE () #. traverses the list referenced by #. .I head #. in the forward direction, assigning each element in #. turn to #. .IR var . #. However, unlike #. .BR SLIST_FOREACH () #. here it is permitted to both remove #. .I var #. as well as free it from within the loop safely without interfering with the #. traversal. #. .P #. .BR SLIST_FOREACH_FROM_SAFE () #. behaves identically to #. .BR SLIST_FOREACH_SAFE () #. when #. .I var #. is NULL, else it treats #. .I var #. as a previously found SLIST element and begins the loop at #. .I var #. instead of the first element in the SLIST referenced by #. .IR head . #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() traverses the list referenced by I in the forward " "direction, assigning each element in turn to I." msgstr "" "B() تجتاز القائمة المشار إليها بواسطة I في الاتجاه " "الأمامي، مع تعيين كل عنصر بدوره إلى I." #. type: SS #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Removal" msgstr "إزالة" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "B() removes the element I from the list." msgstr "B() يزيل العنصر I من القائمة." #. .P #. .BR SLIST_REMOVE_AFTER () #. removes the element after #. .I elm #. from the list. #. Unlike #. .IR SLIST_REMOVE , #. this macro does not traverse the entire list. #. .SS Other features #. .BR SLIST_SWAP () #. swaps the contents of #. .I head1 #. and #. .IR head2 . #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() removes the element I from the head of the " "list. For optimum efficiency, elements being removed from the head of the " "list should explicitly use this macro instead of the generic " "B()." msgstr "" "B() يزيل العنصر I من رأس القائمة. لتحقيق الكفاءة " "المثلى، يجب على العناصر التي تُزال من رأس القائمة استخدام هذا الماكرو صراحةً " "بدلاً من B() العام." #. 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 "" "B() returns nonzero if the list is empty, and zero if the list " "contains at least one entry." msgstr "" "B() تُرجع قيمة غير صفرية إذا كانت القائمة فارغة، وصفرًا إذا كانت " "القائمة تحتوي على إدخال واحد على الأقل." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B(), and B() return a pointer to the first or next " "I structure, respectively." msgstr "" "B()، و B() تُرجعان مؤشرًا إلى أول أو تالي بنية " "I، على التوالي." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() returns an initializer that can be assigned to " "the list I." msgstr "B() تُرجع مُهيئًا يمكن تعيينه للقائمة I." #. 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 "BSD." msgstr "BSD." #. 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 "4.4BSD." msgstr "4.4BSD." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "BUGS" msgstr "العلل" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "B() doesn't allow I to be removed or freed within the " "loop, as it would interfere with the traversal. B(), " "which is present on the BSDs but is not present in glibc, fixes this " "limitation by allowing I to safely be removed from the list and freed " "from within the loop without interfering with the traversal." msgstr "" "B() لا يسمح بإزالة أو تحرير I داخل الحلقة، لأن ذلك " "سيتعارض مع الاجتياز. B()، الموجود في أنظمة BSD ولكنه غير " "موجود في glibc، يُصلح هذا القيد بالسماح بإزالة I بأمان من القائمة " "وتحريره من داخل الحلقة دون التدخل في الاجتياز." #. 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 Estddef.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/queue.hE\n" "\\&\n" "struct entry {\n" " int data;\n" " SLIST_ENTRY(entry) entries; /* Singly linked list */\n" "};\n" "\\&\n" "SLIST_HEAD(slisthead, entry);\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct entry *n1, *n2, *n3, *np;\n" " struct slisthead head; /* Singly linked list\n" " head */\n" "\\&\n" " SLIST_INIT(&head); /* Initialize the queue */\n" "\\&\n" " n1 = malloc(sizeof(struct entry)); /* Insert at the head */\n" " SLIST_INSERT_HEAD(&head, n1, entries);\n" "\\&\n" " n2 = malloc(sizeof(struct entry)); /* Insert after */\n" " SLIST_INSERT_AFTER(n1, n2, entries);\n" "\\&\n" " SLIST_REMOVE(&head, n2, entry, entries);/* Deletion */\n" " free(n2);\n" "\\&\n" " n3 = SLIST_FIRST(&head);\n" " SLIST_REMOVE_HEAD(&head, entries); /* Deletion from the head */\n" " free(n3);\n" "\\&\n" " for (unsigned int i = 0; i E 5; i++) {\n" " n1 = malloc(sizeof(struct entry));\n" " SLIST_INSERT_HEAD(&head, n1, entries);\n" " n1-Edata = i;\n" " }\n" "\\&\n" " /* Forward traversal */\n" " SLIST_FOREACH(np, &head, entries)\n" " printf(\"%i\\[rs]n\", np-Edata);\n" "\\&\n" " while (!SLIST_EMPTY(&head)) { /* List deletion */\n" " n1 = SLIST_FIRST(&head);\n" " SLIST_REMOVE_HEAD(&head, entries);\n" " free(n1);\n" " }\n" " SLIST_INIT(&head);\n" "\\&\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#include Estddef.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#include Esys/queue.hE\n" "\\&\n" "struct entry {\n" " int data;\n" " SLIST_ENTRY(entry) entries; /* Singly linked list */\n" "};\n" "\\&\n" "SLIST_HEAD(slisthead, entry);\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct entry *n1, *n2, *n3, *np;\n" " struct slisthead head; /* Singly linked list\n" " head */\n" "\\&\n" " SLIST_INIT(&head); /* Initialize the queue */\n" "\\&\n" " n1 = malloc(sizeof(struct entry)); /* Insert at the head */\n" " SLIST_INSERT_HEAD(&head, n1, entries);\n" "\\&\n" " n2 = malloc(sizeof(struct entry)); /* Insert after */\n" " SLIST_INSERT_AFTER(n1, n2, entries);\n" "\\&\n" " SLIST_REMOVE(&head, n2, entry, entries);/* Deletion */\n" " free(n2);\n" "\\&\n" " n3 = SLIST_FIRST(&head);\n" " SLIST_REMOVE_HEAD(&head, entries); /* Deletion from the head */\n" " free(n3);\n" "\\&\n" " for (unsigned int i = 0; i E 5; i++) {\n" " n1 = malloc(sizeof(struct entry));\n" " SLIST_INSERT_HEAD(&head, n1, entries);\n" " n1-Edata = i;\n" " }\n" "\\&\n" " /* Forward traversal */\n" " SLIST_FOREACH(np, &head, entries)\n" " printf(\"%i\\[rs]n\", np-Edata);\n" "\\&\n" " while (!SLIST_EMPTY(&head)) { /* List deletion */\n" " n1 = SLIST_FIRST(&head);\n" " SLIST_REMOVE_HEAD(&head, entries);\n" " free(n1);\n" " }\n" " SLIST_INIT(&head);\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>)" #. .BI "void SLIST_REMOVE_AFTER(struct TYPE *" elm , #. .BI " SLIST_ENTRY " NAME ); #. .P #. .BI "void SLIST_SWAP(SLIST_HEAD *" head1 ", SLIST_HEAD *" head2 , #. .BI " SLIST_ENTRY " NAME ); #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<, struct TYPE *>IB<,>\n" "B< SLIST_ENTRY >IB<);>\n" "BIB<,>\n" "B< SLIST_ENTRY >IB<);>\n" msgstr "" "BIB<, struct TYPE *>IB<,>\n" "B< SLIST_ENTRY >IB<);>\n" "BIB<,>\n" "B< SLIST_ENTRY >IB<);>\n" #. 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 "Linux man-pages 6.17" msgstr "صفحات دليل لينكس 6.17" #. type: TH #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "Linux man-pages (unreleased)" msgstr "صفحات دليل لينكس (لم تصدر بعد)"