# 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 "getpwent_r" msgstr "getpwent_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 "getpwent_r, fgetpwent_r - get passwd file entry reentrantly" msgstr "" "getpwent_r, fgetpwent_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 Epwd.hE>\n" msgstr "B<#include Epwd.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 passwd *restrict >IB<,>\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< struct passwd **restrict >IB<);>\n" "Bsize_t size;\n" "B< FILE *restrict >IB<, struct passwd *restrict >IB<,>\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< struct passwd **restrict >IB<);>\n" msgstr "" "Bsize_t size;\n" "B< struct passwd *restrict >IB<,>\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< struct passwd **restrict >IB<);>\n" "Bsize_t size;\n" "B< FILE *restrict >IB<, struct passwd *restrict >IB<,>\n" "B< char >IB<[restrict >IB<], size_t >IB<,>\n" "B< struct passwd **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 "" " Since glibc 2.19:\n" " _DEFAULT_SOURCE\n" " glibc 2.19 and earlier:\n" " _BSD_SOURCE || _SVID_SOURCE\n" msgstr "" " منذ glibc 2.19:\n" " _DEFAULT_SOURCE\n" " glibc 2.19 وما قبله:\n" " _BSD_SOURCE || _SVID_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 " "passwd entry from the stream initialized by B(3). The latter " "reads the next passwd entry from I." msgstr "" "الدالتان B() و B() هما النسختان القابلتان لإعادة " "الدخول من B(3) و B(3). الأولى تقرأ مدخل passwd التالي " "من الدفق المُهيأ بواسطة B(3). الثانية تقرأ مدخل passwd التالي من " "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 Ipwd.hE> as follows:" msgstr "عُرف هيكل I في Ipwd.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 passwd {\n" " char *pw_name; /* username */\n" " char *pw_passwd; /* user password */\n" " uid_t pw_uid; /* user ID */\n" " gid_t pw_gid; /* group ID */\n" " char *pw_gecos; /* user information */\n" " char *pw_dir; /* home directory */\n" " char *pw_shell; /* shell program */\n" "};\n" msgstr "" "struct passwd {\n" " char *pw_name; /* اسم المستخدم */\n" " char *pw_passwd; /* كلمة سر المستخدم */\n" " uid_t pw_uid; /* معرف المستخدم */\n" " gid_t pw_gid; /* معرف المجموعة */\n" " char *pw_gecos; /* معلومات المستخدم */\n" " char *pw_dir; /* الدليل الرئيسي */\n" " char *pw_shell; /* برنامج الصدفة */\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 user name, password, gecos " "field, home directory and shell. 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<*pwbuf>, and a pointer to this I is " "returned in I<*pwbufp>." msgstr "" "الدوال غير القابلة لإعادة الدخول تُرجع مؤشرًا إلى تخزين ثابت، حيث يحتوي هذا " "التخزين الثابت على مؤشرات أخرى لاسم المستخدم، كلمة السر، حقل gecos، الدليل " "الرئيسي والصدفة. الدوال القابلة لإعادة الدخول الموصوفة هنا تُرجع كل ذلك في " "مخازن مؤقتة يقدمها المستدعي. أولاً هناك المخزن المؤقت I الذي يمكنه حمل " "I. ثم المخزن المؤقت I بحجم I الذي يمكنه حمل " "سلاسل محارف إضافية. نتيجة هذه الدوال، I المقروء من الدفق، " "تُخزن في المخزن المؤقت المُقدم I<*pwbuf>، ويُعاد مؤشر إلى هذا I في I<*pwbufp>." #. 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<*pwbufp> is a pointer to the " "I. On error, these functions return an error value and " "I<*pwbufp> is NULL." msgstr "" "عند النجاح، تُرجع هذه الدوال 0 ويكون I<*pwbufp> مؤشرًا إلى I. " "عند الخطأ، تُرجع هذه الدوال قيمة خطأ ويكون I<*pwbufp> 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:pwent locale" msgstr "غير آمن للمسارات المتعددة (MT-Unsafe) سباق:pwent 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(), B(), B(), or B() " "are used in parallel in different threads of a program, then data races " "could occur." msgstr "" "في الجدول أعلاه، I في I يعني أنه إذا استُخدمت أي من الدوال " "B()، B()، B()، أو 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 passwd *\n" "getpwent_r(struct passwd *pwd, char buf[.size], int size);\n" msgstr "" "struct passwd *\n" "getpwent_r(struct passwd *pwd, char buf[.size], 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\n" "getpwent_r(struct passwd *pwd, char buf[.size], int size,\n" " FILE **pw_fp);\n" msgstr "" "int\n" "getpwent_r(struct passwd *pwd, char buf[.size], int size,\n" " FILE **pw_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 "None." msgstr "لا شيء." #. 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 Epwd.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "#define BUFLEN 4096\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct passwd pw;\n" " struct passwd *pwp;\n" " char buf[BUFLEN];\n" " int i;\n" "\\&\n" " setpwent();\n" " for (;;) {\n" " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n" " if (i)\n" " break;\n" " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-Epw_name,\n" " (intmax_t) pwp-Epw_uid, pwp-Epw_dir, pwp-Epw_shell);\n" " }\n" " endpwent();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Epwd.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "#define BUFLEN 4096\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct passwd pw;\n" " struct passwd *pwp;\n" " char buf[BUFLEN];\n" " int i;\n" "\\&\n" " setpwent();\n" " for (;;) {\n" " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n" " if (i)\n" " break;\n" " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-Epw_name,\n" " (intmax_t) pwp-Epw_uid, pwp-Epw_dir, pwp-Epw_shell);\n" " }\n" " endpwent();\n" " exit(EXIT_SUCCESS);\n" "}\n" #. perhaps add error checking - should use strerror_r #. #include #. #include #. if (i) { #. if (i == ENOENT) #. break; #. printf("getpwent_r: %s", strerror(i)); #. exit(EXIT_SUCCESS); #. } #. 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(3), B(5)" msgstr "" "B(3)، 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 passwd **restrict >IB<);>\n" "BIB<, struct passwd *restrict >IB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct passwd **restrict >IB<);>\n" msgstr "" "BIB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct passwd **restrict >IB<);>\n" "BIB<, struct passwd *restrict >IB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct passwd **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 user name, password, gecos " "field, home directory and shell. 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<*pwbuf>, and a pointer to this I is " "returned in I<*pwbufp>." msgstr "" "الدوال غير القابلة لإعادة الدخول تُرجع مؤشرًا إلى تخزين ثابت، حيث يحتوي هذا " "التخزين الثابت على مؤشرات أخرى لاسم المستخدم، كلمة السر، حقل gecos، الدليل " "الرئيسي والصدفة. الدوال القابلة لإعادة الدخول الموصوفة هنا تُرجع كل ذلك في " "مخازن مؤقتة يقدمها المستدعي. أولاً هناك المخزن المؤقت I الذي يمكنه حمل " "I. ثم المخزن المؤقت I بحجم I الذي يمكنه حمل " "سلاسل محارف إضافية. نتيجة هذه الدوال، I المقروء من الدفق، " "تُخزن في المخزن المؤقت المُقدم I<*pwbuf>، ويُعاد مؤشر إلى هذا I " "في I<*pwbufp>." #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide msgid "" "On success, these functions return 0 and I<*pwbufp> is a pointer to the " "I. On error, these functions return an error value and " "I<*pwbufp> is NULL." msgstr "" "عند النجاح، تُرجع هذه الدوال 0 ويكون I<*pwbufp> مؤشرًا إلى I. " "عند الخطأ، تُرجع هذه الدوال قيمة خطأ ويكون I<*pwbufp> فارغًا." #. type: Plain text #: debian-trixie #, no-wrap msgid "" "struct passwd *\n" "getpwent_r(struct passwd *pwd, char *buf, int buflen);\n" msgstr "" "struct passwd *\n" "getpwent_r(struct passwd *pwd, char *buf, int buflen);\n" #. type: Plain text #: debian-trixie #, no-wrap msgid "" "int\n" "getpwent_r(struct passwd *pwd, char *buf, int buflen,\n" " FILE **pw_fp);\n" msgstr "" "int\n" "getpwent_r(struct passwd *pwd, char *buf, int buflen,\n" " FILE **pw_fp);\n" #. type: Plain text #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron #, no-wrap msgid "" "#define _GNU_SOURCE\n" "#include Epwd.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "#define BUFLEN 4096\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct passwd pw;\n" " struct passwd *pwp;\n" " char buf[BUFLEN];\n" " int i;\n" "\\&\n" " setpwent();\n" " while (1) {\n" " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n" " if (i)\n" " break;\n" " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-Epw_name,\n" " (intmax_t) pwp-Epw_uid, pwp-Epw_dir, pwp-Epw_shell);\n" " }\n" " endpwent();\n" " exit(EXIT_SUCCESS);\n" "}\n" msgstr "" "#define _GNU_SOURCE\n" "#include Epwd.hE\n" "#include Estdint.hE\n" "#include Estdio.hE\n" "#include Estdlib.hE\n" "\\&\n" "#define BUFLEN 4096\n" "\\&\n" "int\n" "main(void)\n" "{\n" " struct passwd pw;\n" " struct passwd *pwp;\n" " char buf[BUFLEN];\n" " int i;\n" "\\&\n" " setpwent();\n" " while (1) {\n" " i = getpwent_r(&pw, buf, sizeof(buf), &pwp);\n" " if (i)\n" " break;\n" " printf(\"%s (%jd)\\[rs]tHOME %s\\[rs]tSHELL %s\\[rs]n\", pwp-Epw_name,\n" " (intmax_t) pwp-Epw_uid, pwp-Epw_dir, pwp-Epw_shell);\n" " }\n" " endpwent();\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 passwd **restrict >IB<);>\n" "BIB<, struct passwd *restrict >IB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct passwd **restrict >IB<);>\n" msgstr "" "BIB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct passwd **restrict >IB<);>\n" "BIB<, struct passwd *restrict >IB<,>\n" "B< char >IB<[restrict .>IB<], size_t >IB<,>\n" "B< struct passwd **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 user name, password, gecos " "field, home directory and shell. 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<*pwbuf>, and a pointer to this I is " "returned in I<*pwbufp>." msgstr "" "تُرجع الدوال غير القابلة لإعادة الدخول مؤشرًا إلى تخزين ثابت، حيث يحتوي هذا " "التخزين الثابت على مؤشرات إضافية إلى اسم المستخدم، كلمة السر، حقل gecos، " "الدليل الرئيسي، والصدفة. تُرجع الدوال القابلة لإعادة الدخول الموصوفة هنا كل " "ذلك في مخازن مقدمة من المستدعي. أولاً هناك المخزن I الذي يمكنه حمل " "I. ثم المخزن I بحجم I الذي يمكنه حمل سلاسل محارف " "إضافية. تُخزَّن نتيجة هذه الدوال، I المقروء من الدفق، في المخزن " "المقدم I<*pwbuf>، ويُعاد مؤشر إلى هذا I في I<*pwbufp>." #. 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 "صفحات دليل لينكس (لم تصدر بعد)"