# 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\n" "POT-Creation-Date: 2026-06-05 06:25+0200\n" "PO-Revision-Date: 2026-06-03 04:49+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" ".MIME-Version: 1.0\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 "getgrent_r" msgstr "getgrent_r" #. type: TH #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "2026-02-14" msgstr "14 فبراير 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 "getgrent_r, fgetgrent_r - get group file entry reentrantly" msgstr "" "getgrent_r, fgetgrent_r - الحصول على مدخل ملف المجموعة بشكل قابل لإعادة " "الدخول" #. 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 Egrp.hE>\n" msgstr "B<#include Egrp.hE>\n" #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed #, no-wrap msgid "" "Bsize_t size;\n" "B< struct group *restrict >IB<,>\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" "Bsize_t size;\n" "B< FILE *restrict >IB<, struct group *restrict >IB<,>\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" msgstr "" "Bsize_t size;\n" "B< struct group *restrict >IB<,>\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" "Bsize_t size;\n" "B< FILE *restrict >IB<, struct group *restrict >IB<,>\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< struct group **restrict >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 " _GNU_SOURCE\n" msgstr " _GNU_SOURCE\n" #. 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.19:\n" " _DEFAULT_SOURCE\n" " glibc 2.19 and earlier:\n" " _SVID_SOURCE\n" msgstr "" " منذ glibc 2.19:\n" " _DEFAULT_SOURCE\n" " في glibc 2.19 وما قبله:\n" " _SVID_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 "" "The functions B() and B() are the reentrant " "versions of B(3) and B(3). The former reads the next " "group entry from the stream initialized by B(3). The latter reads " "the next group entry from I." msgstr "" "الدالتان B() و B() هما النسختان القابلتان لإعادة " "الدخول من B(3) و B(3). الأولى تقرأ مدخل المجموعة التالي " "من الدفق المُهيأ بواسطة B(3). الثانية تقرأ مدخل المجموعة التالي من " "I." #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "The I structure is defined in Igrp.hE> as follows:" msgstr "عُرف هيكل I في Igrp.hE> كالتالي:" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct group {\n" " char *gr_name; /* group name */\n" " char *gr_passwd; /* group password */\n" " gid_t gr_gid; /* group ID */\n" " char **gr_mem; /* NULL-terminated array of pointers\n" " to names of group members */\n" "};\n" msgstr "" "struct group {\n" " char *gr_name; /* اسم المجموعة */\n" " char *gr_passwd; /* كلمة سر المجموعة */\n" " gid_t gr_gid; /* معرف المجموعة */\n" " char **gr_mem; /* مصفوفة منتهية بـ NULL من المؤشرات\n" " إلى أسماء أعضاء المجموعة */\n" "};\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "For more information about the fields of this structure, see B(5)." msgstr "لمزيد من المعلومات حول حقول هذا الهيكل، راجع B(5)." #. type: Plain text #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "The nonreentrant functions return a pointer to static storage, where this " "static storage contains further pointers to group name, password, and " "members. The reentrant functions described here return all of that in " "caller-provided buffers. First of all there is the buffer I that can " "hold a I. And next the buffer I of size I that " "can hold additional strings. The result of these functions, the I read from the stream, is stored in the provided buffer I<*gbuf>, and " "a pointer to this I is returned in I<*gbufp>." msgstr "" "الدوال غير القابلة لإعادة الدخول تُرجع مؤشرًا إلى تخزين ثابت، حيث يحتوي هذا " "التخزين الثابت على مؤشرات إضافية لاسم المجموعة، كلمة السر، والأعضاء. الدوال " "القابلة لإعادة الدخول الموصوفة هنا تُرجع كل ذلك في مخازن مؤقتة يُوفرها " "المُستدعي. أولاً هناك المخزن المؤقت I الذي يمكنه حمل I. " "ثم المخزن المؤقت I بحجم I الذي يمكنه حمل سلاسل محارف إضافية. " "نتيجة هذه الدوال، I المقروء من الدفق، تُخزن في المخزن المؤقت " "المُوفر I<*gbuf>، ويُعاد مؤشر إلى هذا I في I<*gbufp>." #. 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 mageia-cauldron opensuse-leap-16-1 #: opensuse-tumbleweed msgid "" "On success, these functions return 0 and I<*gbufp> is a pointer to the " "I. On error, these functions return an error value and " "I<*gbufp> is NULL." msgstr "" "عند النجاح، تُرجع هذه الدوال 0 ويكون I<*gbufp> مؤشرًا إلى I. " "عند الخطأ، تُرجع هذه الدوال قيمة خطأ ويكون I<*gbufp> NULL." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "ERRORS" 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: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "No more entries." 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: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "Insufficient buffer space supplied. Try again with larger buffer." msgstr "مساحة المخزن المؤقت (buffer) المزودة غير كافية. حاول ثانية بمخزن أكبر." #. 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()" 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:grent locale" msgstr "غير آمن للمسارات المتعددة (MT-Unsafe) سباق:grent locale" #. 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 "MT-Safe" msgstr "MT-Safe" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "" "In the above table, I in I signifies that if any of the " "functions B(3), B(3), B(3), or " "B() are used in parallel in different threads of a program, " "then data races could occur." msgstr "" "في الجدول أعلاه، I في I يُشير إلى أنه إذا استُخدمت أي من " "الدوال B(3)، B(3)، B(3)، أو B() " "بالتوازي في خيوط مختلفة من برنامج، فقد تحدث سباقات بيانات." #. 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 "Other systems use the prototype" msgstr "أنظمة أخرى تستخدم النموذج الأولي" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "struct group *getgrent_r(struct group *grp, char buf[.size],\n" " int size);\n" msgstr "" "struct group *getgrent_r(struct group *grp, char buf[.size],\n" " int size);\n" #. type: Plain text #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed msgid "or, better," msgstr "أو، بشكل أفضل،" #. type: Plain text #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron #: opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "" "int getgrent_r(struct group *grp, char buf[.size], int size,\n" " FILE **gr_fp);\n" msgstr "" "int getgrent_r(struct group *grp, char buf[.size], int size,\n" " FILE **gr_fp);\n" #. 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 "GNU." msgstr "GNU." #. 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 "" "These functions are done in a style resembling the POSIX version of " "functions like B(3)." msgstr "أُنجزت هذه الدوال بأسلوب يشبه نسخة POSIX من دوال مثل B(3)." #. type: SH #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed #, no-wrap msgid "NOTES" msgstr "ملاحظات" #. 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 really reentrant since it shares the " "reading position in the stream with all other threads." msgstr "" "الدالة B() ليست قابلة لإعادة الدخول حقًا لأنها تشارك موضع القراءة " "في الدفق مع جميع الخيوط الأخرى." #. 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 #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Egrp.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#define BUFLEN 4096\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct group grp;\n" " struct group *grpp;\n" " char buf[BUFLEN];\n" " int i;\n" "\\&\n" " setgrent();\n" " for (;;) {\n" " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n" " if (i)\n" " break;\n" " printf(\"%s (%jd):\", grpp-Egr_name, (intmax_t) grpp-Egr_gid);\n" " for (size_t j = 0; ; j++) {\n" " if (grpp-Egr_mem[j] == NULL)\n" " break;\n" " printf(\" %s\", grpp-Egr_mem[j]);\n" " }\n" " printf(\"\\[rs]n\");\n" " }\n" " endgrent();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Egrp.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#define BUFLEN 4096\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct group grp;\n" " struct group *grpp;\n" " char buf[BUFLEN];\n" " int i;\n" "\\&\n" " setgrent();\n" " for (;;) {\n" " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n" " if (i)\n" " break;\n" " printf(\"%s (%jd):\", grpp-Egr_name, (intmax_t) grpp-Egr_gid);\n" " for (size_t j = 0; ; j++) {\n" " if (grpp-Egr_mem[j] == NULL)\n" " break;\n" " printf(\" %s\", grpp-Egr_mem[j]);\n" " }\n" " printf(\"\\[rs]n\");\n" " }\n" " endgrent();\n" " exit(EXIT_SUCCESS);\n" "}\n" #. perhaps add error checking - should use strerror_r #. #include #. #include #. if (i) { #. if (i == ENOENT) #. break; #. printf("getgrent_r: %s", strerror(i)); #. exit(EXIT_FAILURE); #. } #. 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(3), B(3), B(3), " "B(3), B(5)" msgstr "" "B(3), B(3), B(3), B(3), " "B(3), B(5)" #. 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 #, no-wrap msgid "" "BIB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" "BIB<, struct group *restrict >IB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" msgstr "" "BIB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" "BIB<, struct group *restrict >IB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" #. type: Plain text #: debian-trixie msgid "" "The nonreentrant functions return a pointer to static storage, where this " "static storage contains further pointers to group name, password, and " "members. The reentrant functions described here return all of that in " "caller-provided buffers. First of all there is the buffer I that can " "hold a I. And next the buffer I of size I that " "can hold additional strings. The result of these functions, the I read from the stream, is stored in the provided buffer I<*gbuf>, and " "a pointer to this I is returned in I<*gbufp>." msgstr "" "الدوال غير القابلة لإعادة الدخول تُرجع مؤشرًا إلى تخزين ثابت، حيث يحتوي هذا " "التخزين الثابت على مؤشرات إضافية لاسم المجموعة، كلمة السر، والأعضاء. الدوال " "القابلة لإعادة الدخول الموصوفة هنا تُرجع كل ذلك في مخازن مؤقتة يُوفرها " "المُستدعي. أولاً هناك المخزن المؤقت I الذي يمكنه حمل I. ثم " "المخزن المؤقت I بحجم I الذي يمكنه حمل سلاسل محارف إضافية. نتيجة " "هذه الدوال، I المقروء من الدفق، تُخزن في المخزن المؤقت المُوفر " "I<*gbuf>، ويُعاد مؤشر إلى هذا I في I<*gbufp>." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "On success, these functions return 0 and I<*gbufp> is a pointer to the " "I. On error, these functions return an error value and " "I<*gbufp> is NULL." msgstr "" "عند النجاح، تُرجع هذه الدوال 0 ويكون I<*gbufp> مؤشرًا إلى I. عند " "الخطأ، تُرجع هذه الدوال قيمة خطأ ويكون I<*gbufp> NULL." #. type: Plain text #: debian-trixie #, no-wrap msgid "" "struct group *getgrent_r(struct group *grp, char *buf,\n" " int buflen);\n" msgstr "" "struct group *getgrent_r(struct group *grp, char *buf,\n" " int buflen);\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "int getgrent_r(struct group *grp, char *buf, int buflen,\n" " FILE **gr_fp);\n" msgstr "" "int getgrent_r(struct group *grp, char *buf, int buflen,\n" " FILE **gr_fp);\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Egrp.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#define BUFLEN 4096\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct group grp;\n" " struct group *grpp;\n" " char buf[BUFLEN];\n" " int i;\n" "\\&\n" " setgrent();\n" " while (1) {\n" " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n" " if (i)\n" " break;\n" " printf(\"%s (%jd):\", grpp-Egr_name, (intmax_t) grpp-Egr_gid);\n" " for (size_t j = 0; ; j++) {\n" " if (grpp-Egr_mem[j] == NULL)\n" " break;\n" " printf(\" %s\", grpp-Egr_mem[j]);\n" " }\n" " printf(\"\\[rs]n\");\n" " }\n" " endgrent();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Egrp.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "#define BUFLEN 4096\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct group grp;\n" " struct group *grpp;\n" " char buf[BUFLEN];\n" " int i;\n" "\\&\n" " setgrent();\n" " while (1) {\n" " i = getgrent_r(&grp, buf, sizeof(buf), &grpp);\n" " if (i)\n" " break;\n" " printf(\"%s (%jd):\", grpp-Egr_name, (intmax_t) grpp-Egr_gid);\n" " for (size_t j = 0; ; j++) {\n" " if (grpp-Egr_mem[j] == NULL)\n" " break;\n" " printf(\" %s\", grpp-Egr_mem[j]);\n" " }\n" " printf(\"\\[rs]n\");\n" " }\n" " endgrent();\n" " exit(EXIT_SUCCESS);\n" "}\n" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "2024-12-24" msgstr "24 ديسمبر 2024" #. type: TH #: fedora-44 fedora-rawhide #, no-wrap msgid "Linux man-pages 6.13" msgstr "صفحات دليل لينكس 6.13" #. type: Plain text #: fedora-44 fedora-rawhide #, no-wrap msgid "" "BIB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" "BIB<, struct group *restrict >IB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" msgstr "" "BIB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" "BIB<, struct group *restrict >IB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct group **restrict >IB<);>\n" #. type: Plain text #: fedora-44 fedora-rawhide msgid "" "The nonreentrant functions return a pointer to static storage, where this " "static storage contains further pointers to group name, password, and " "members. The reentrant functions described here return all of that in " "caller-provided buffers. First of all there is the buffer I that can " "hold a I. And next the buffer I of size I that can " "hold additional strings. The result of these functions, the I " "read from the stream, is stored in the provided buffer I<*gbuf>, and a " "pointer to this I is returned in I<*gbufp>." msgstr "" "الدوال غير القابلة لإعادة الدخول ترجع مؤشرًا إلى تخزين ثابت، حيث يحتوي هذا " "التخزين الثابت على مؤشرات أخرى لاسم المجموعة وكلمة السر والأعضاء. الدوال " "القابلة لإعادة الدخول الموصوفة هنا ترجع كل ذلك في مخازن مؤقتة يقدمها " "المستدعي. أولاً هناك المخزن المؤقت I الذي يمكنه حمل I. " "ثم المخزن المؤقت I بحجم I الذي يمكنه حمل سلاسل محارف إضافية. " "نتيجة هذه الدوال، I المقروء من الدفق، تُخزَّن في المخزن المؤقت " "المُقدم I<*gbuf>، ويُرجَع مؤشر إلى هذا I في I<*gbufp>." #. 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 "صفحات دليل لينكس (لم تصدر بعد)"