| 1 |
# Arabic translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# زايد السعيدي <[email protected]>, 2026. |
| 5 |
msgid "" |
| 6 |
msgstr "" |
| 7 |
"Project-Id-Version: manpages-l10n 4.30.2\n" |
| 8 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 9 |
"PO-Revision-Date: 2026-06-01 18:36+0400\n" |
| 10 |
"Last-Translator: Zayed Al-Saidi <[email protected]>\n" |
| 11 |
"Language-Team: Arabic <[email protected]>\n" |
| 12 |
"Language: ar\n" |
| 13 |
"MIME-Version: 1.0\n" |
| 14 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 15 |
"Content-Transfer-Encoding: 8bit\n" |
| 16 |
"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 " |
| 17 |
"&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" |
| 18 |
"X-Generator: Lokalize 23.08.5\n" |
| 19 |
|
| 20 |
#. type: TH |
| 21 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 22 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 23 |
#, no-wrap |
| 24 |
msgid "getpwnam" |
| 25 |
msgstr "getpwnam" |
| 26 |
|
| 27 |
#. type: TH |
| 28 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 29 |
#: opensuse-tumbleweed |
| 30 |
#, no-wrap |
| 31 |
msgid "2026-02-08" |
| 32 |
msgstr "8 فبراير 2026" |
| 33 |
|
| 34 |
#. type: TH |
| 35 |
#: archlinux debian-unstable |
| 36 |
#, no-wrap |
| 37 |
msgid "Linux man-pages 6.18" |
| 38 |
msgstr "صفحات دليل لينكس 6.18" |
| 39 |
|
| 40 |
#. type: SH |
| 41 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 42 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 43 |
#, no-wrap |
| 44 |
msgid "NAME" |
| 45 |
msgstr "الاسم" |
| 46 |
|
| 47 |
#. type: Plain text |
| 48 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 49 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 50 |
msgid "getpwnam, getpwnam_r, getpwuid, getpwuid_r - get password file entry" |
| 51 |
msgstr "" |
| 52 |
"getpwnam, getpwnam_r, getpwuid, getpwuid_r - الحصول على مدخل ملف كلمة السر" |
| 53 |
|
| 54 |
#. type: SH |
| 55 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 56 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 57 |
#, no-wrap |
| 58 |
msgid "LIBRARY" |
| 59 |
msgstr "المكتبة" |
| 60 |
|
| 61 |
#. type: Plain text |
| 62 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 63 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 64 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 65 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 66 |
|
| 67 |
#. type: SH |
| 68 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 69 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 70 |
#, no-wrap |
| 71 |
msgid "SYNOPSIS" |
| 72 |
msgstr "موجز" |
| 73 |
|
| 74 |
#. type: Plain text |
| 75 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 76 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 77 |
#, no-wrap |
| 78 |
msgid "" |
| 79 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 80 |
"B<#include E<lt>pwd.hE<gt>>\n" |
| 81 |
msgstr "" |
| 82 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 83 |
"B<#include E<lt>pwd.hE<gt>>\n" |
| 84 |
|
| 85 |
#. type: Plain text |
| 86 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 87 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 88 |
#, no-wrap |
| 89 |
msgid "" |
| 90 |
"B<struct passwd *getpwnam(const char *>I<name>B<);>\n" |
| 91 |
"B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n" |
| 92 |
msgstr "" |
| 93 |
"B<struct passwd *getpwnam(const char *>I<name>B<);>\n" |
| 94 |
"B<struct passwd *getpwuid(uid_t >I<uid>B<);>\n" |
| 95 |
|
| 96 |
#. type: Plain text |
| 97 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 98 |
#: opensuse-tumbleweed |
| 99 |
#, no-wrap |
| 100 |
msgid "" |
| 101 |
"B<int getpwnam_r(>size_t size;\n" |
| 102 |
"B< const char *restrict >I<name>B<,>\n" |
| 103 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 104 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 105 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 106 |
"B<int getpwuid_r(>size_t size;\n" |
| 107 |
"B< uid_t >I<uid>B<,>\n" |
| 108 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 109 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 110 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 111 |
msgstr "" |
| 112 |
"B<int getpwnam_r(>size_t size;\n" |
| 113 |
"B< const char *restrict >I<name>B<,>\n" |
| 114 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 115 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 116 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 117 |
"B<int getpwuid_r(>size_t size;\n" |
| 118 |
"B< uid_t >I<uid>B<,>\n" |
| 119 |
"B< struct passwd *restrict >I<pwd>B<,>\n" |
| 120 |
"B< char >I<buf>B<[restrict >I<size>B<], size_t >I<size>B<,>\n" |
| 121 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 122 |
|
| 123 |
#. type: Plain text |
| 124 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 125 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 126 |
msgid "" |
| 127 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 128 |
msgstr "" |
| 129 |
"متطلبات ماكروات اختبار الميزات لـ glibc (انظر B<feature_test_macros>(7)):" |
| 130 |
|
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
msgid "B<getpwnam_r>(), B<getpwuid_r>():" |
| 135 |
msgstr "B<getpwnam_r>(), B<getpwuid_r>():" |
| 136 |
|
| 137 |
#. type: Plain text |
| 138 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 139 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 140 |
#, no-wrap |
| 141 |
msgid "" |
| 142 |
" _POSIX_C_SOURCE\n" |
| 143 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 144 |
msgstr "" |
| 145 |
" _POSIX_C_SOURCE\n" |
| 146 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 147 |
|
| 148 |
#. type: SH |
| 149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 151 |
#, no-wrap |
| 152 |
msgid "DESCRIPTION" |
| 153 |
msgstr "الوصف" |
| 154 |
|
| 155 |
#. type: Plain text |
| 156 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 157 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 158 |
msgid "" |
| 159 |
"The B<getpwnam>() function returns a pointer to a structure containing the " |
| 160 |
"broken-out fields of the record in the password database (e.g., the local " |
| 161 |
"password file I</etc/passwd>, NIS, and LDAP) that matches the username " |
| 162 |
"I<name>." |
| 163 |
msgstr "" |
| 164 |
"ترجع الدالة B<getpwnam>() مؤشرًا إلى بنية تحتوي على الحقول المفصولة للسجل في " |
| 165 |
"قاعدة بيانات كلمة السر (مثل ملف كلمة السر المحلي I</etc/passwd> وNIS وLDAP) " |
| 166 |
"الذي يطابق اسم المستخدم I<name>." |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
msgid "" |
| 172 |
"The B<getpwuid>() function returns a pointer to a structure containing the " |
| 173 |
"broken-out fields of the record in the password database that matches the " |
| 174 |
"user ID I<uid>." |
| 175 |
msgstr "" |
| 176 |
"ترجع الدالة B<getpwuid>() مؤشرًا إلى بنية تحتوي على الحقول المفصولة للسجل في " |
| 177 |
"قاعدة بيانات كلمة السر الذي يطابق معرف المستخدم I<uid>." |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
msgid "The I<passwd> structure is defined in I<E<lt>pwd.hE<gt>> as follows:" |
| 183 |
msgstr "عُرف هيكل I<passwd> في I<E<lt>pwd.hE<gt>> كالتالي:" |
| 184 |
|
| 185 |
#. type: Plain text |
| 186 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 187 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 188 |
#, no-wrap |
| 189 |
msgid "" |
| 190 |
"struct passwd {\n" |
| 191 |
" char *pw_name; /* username */\n" |
| 192 |
" char *pw_passwd; /* user password */\n" |
| 193 |
" uid_t pw_uid; /* user ID */\n" |
| 194 |
" gid_t pw_gid; /* group ID */\n" |
| 195 |
" char *pw_gecos; /* user information */\n" |
| 196 |
" char *pw_dir; /* home directory */\n" |
| 197 |
" char *pw_shell; /* shell program */\n" |
| 198 |
"};\n" |
| 199 |
msgstr "" |
| 200 |
"struct passwd {\n" |
| 201 |
" char *pw_name; /* اسم المستخدم */\n" |
| 202 |
" char *pw_passwd; /* كلمة سر المستخدم */\n" |
| 203 |
" uid_t pw_uid; /* معرف المستخدم */\n" |
| 204 |
" gid_t pw_gid; /* معرف المجموعة */\n" |
| 205 |
" char *pw_gecos; /* معلومات المستخدم */\n" |
| 206 |
" char *pw_dir; /* دليل المنزل */\n" |
| 207 |
" char *pw_shell; /* برنامج الصدفة */\n" |
| 208 |
"};\n" |
| 209 |
|
| 210 |
#. type: Plain text |
| 211 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 212 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 213 |
msgid "See B<passwd>(5) for more information about these fields." |
| 214 |
msgstr "انظر B<passwd>(5) لمزيد من المعلومات حول هذه الحقول." |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 218 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 221 |
"information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 222 |
"I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 223 |
"pointed to by the members of the I<passwd> structure are stored in the " |
| 224 |
"buffer I<buf> of size I<size>. A pointer to the result (in case of success) " |
| 225 |
"or NULL (in case no entry was found or an error occurred) is stored in " |
| 226 |
"I<*result>." |
| 227 |
msgstr "" |
| 228 |
"تحصل الدالتان B<getpwnam_r>() وB<getpwuid_r>() على نفس المعلومات مثل " |
| 229 |
"B<getpwnam>() وB<getpwuid>()، لكن تخزنان بنية I<passwd> المسترجعة في المساحة " |
| 230 |
"المشار إليها بواسطة I<pwd>. تُخزن حقول السلاسل المحارف المشار إليها بواسطة " |
| 231 |
"أعضاء بنية I<passwd> في المخزن المؤقت I<buf> بحجم I<size>. يُخزن مؤشر إلى " |
| 232 |
"النتيجة (في حالة النجاح) أو NULL (في حالة عدم العثور على مدخل أو حدوث خطأ) " |
| 233 |
"في I<*result>." |
| 234 |
|
| 235 |
#. type: Plain text |
| 236 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 237 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 238 |
msgid "The call" |
| 239 |
msgstr "الاستدعاء" |
| 240 |
|
| 241 |
#. type: Plain text |
| 242 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 243 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 244 |
#, no-wrap |
| 245 |
msgid "sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 246 |
msgstr "sysconf(_SC_GETPW_R_SIZE_MAX)\n" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
msgid "" |
| 252 |
"returns either -1, without changing I<errno>, or an initial suggested size " |
| 253 |
"for I<buf>. (If this size is too small, the call fails with B<ERANGE>, in " |
| 254 |
"which case the caller can retry with a larger buffer.)" |
| 255 |
msgstr "" |
| 256 |
"يرجع إما -1، دون تغيير I<errno>، أو حجمًا مقترحًا مبدئيًا لـ I<buf>. (إذا كان " |
| 257 |
"هذا الحجم صغيرًا جدًا، يفشل الاستدعاء بـ B<ERANGE>، وفي هذه الحالة يمكن " |
| 258 |
"للمستدعي (caller) المحاولة مرة أخرى بذاكرة وسيطة أكبر.)" |
| 259 |
|
| 260 |
#. type: SH |
| 261 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 262 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 263 |
#, no-wrap |
| 264 |
msgid "RETURN VALUE" |
| 265 |
msgstr "قيمة الإرجاع" |
| 266 |
|
| 267 |
#. type: Plain text |
| 268 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 269 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 270 |
msgid "" |
| 271 |
"The B<getpwnam>() and B<getpwuid>() functions return a pointer to a " |
| 272 |
"I<passwd> structure, or NULL if the matching entry is not found or an error " |
| 273 |
"occurs. If an error occurs, I<errno> is set to indicate the error. If one " |
| 274 |
"wants to check I<errno> after the call, it should be set to zero before the " |
| 275 |
"call." |
| 276 |
msgstr "" |
| 277 |
"ترجع الدالتان B<getpwnam>() وB<getpwuid>() مؤشرًا إلى بنية I<passwd>، أو NULL " |
| 278 |
"إذا لم يُعثر على المدخل المطابق أو حدث خطأ. إذا حدث خطأ، يُضبط I<errno> " |
| 279 |
"للإشارة إلى الخطأ. إذا أراد المرء التحقق من I<errno> بعد الاستدعاء، فيجب " |
| 280 |
"ضبطه على الصفر قبل الاستدعاء." |
| 281 |
|
| 282 |
#. type: Plain text |
| 283 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 284 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 285 |
msgid "" |
| 286 |
"The return value may point to a static area, and may be overwritten by " |
| 287 |
"subsequent calls to B<getpwent>(3), B<getpwnam>(), or B<getpwuid>(). (Do " |
| 288 |
"not pass the returned pointer to B<free>(3).)" |
| 289 |
msgstr "" |
| 290 |
"قد يشير القيمة المرجعة إلى منطقة ثابتة، وقد تُستبدل باستدعاءات لاحقة لـ " |
| 291 |
"B<getpwent>(3) أو B<getpwnam>() أو B<getpwuid>(). (لا تمرر المؤشر المرتجع " |
| 292 |
"إلى B<free>(3).)" |
| 293 |
|
| 294 |
#. type: Plain text |
| 295 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 296 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 297 |
msgid "" |
| 298 |
"On success, B<getpwnam_r>() and B<getpwuid_r>() return zero, and set " |
| 299 |
"I<*result> to I<pwd>. If no matching password record was found, these " |
| 300 |
"functions return 0 and store NULL in I<*result>. In case of error, an error " |
| 301 |
"number is returned, and NULL is stored in I<*result>." |
| 302 |
msgstr "" |
| 303 |
"عند النجاح، ترجع B<getpwnam_r>() وB<getpwuid_r>() صفرًا، وتضبط I<*result> على " |
| 304 |
"I<pwd>. إذا لم يُعثر على سجل كلمة سر مطابق، ترجع هاتان الدالتان 0 وتخزنان " |
| 305 |
"NULL في I<*result>. في حالة الخطأ، يُرجع رقم خطأ، ويُخزن NULL في I<*result>." |
| 306 |
|
| 307 |
#. type: SH |
| 308 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 309 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 310 |
#, no-wrap |
| 311 |
msgid "ERRORS" |
| 312 |
msgstr "الأخطاء" |
| 313 |
|
| 314 |
#. type: TP |
| 315 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 316 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 317 |
#, no-wrap |
| 318 |
msgid "B<0> or B<ENOENT> or B<ESRCH> or B<EBADF> or B<EPERM> or ..." |
| 319 |
msgstr "B<0> أو B<ENOENT> أو B<ESRCH> أو B<EBADF> أو B<EPERM> أو ..." |
| 320 |
|
| 321 |
#. type: Plain text |
| 322 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 323 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 324 |
msgid "The given I<name> or I<uid> was not found." |
| 325 |
msgstr "لم يُعثر على I<name> أو I<uid> المعطى." |
| 326 |
|
| 327 |
#. type: TP |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
#, no-wrap |
| 331 |
msgid "B<EINTR>" |
| 332 |
msgstr "B<EINTR>" |
| 333 |
|
| 334 |
#. type: Plain text |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
msgid "A signal was caught; see B<signal>(7)." |
| 338 |
msgstr "اُلتُقطت إشارة؛ انظر B<signal>(7)." |
| 339 |
|
| 340 |
#. type: TP |
| 341 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 342 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 343 |
#, no-wrap |
| 344 |
msgid "B<EIO>" |
| 345 |
msgstr "B<EIO>" |
| 346 |
|
| 347 |
#. type: Plain text |
| 348 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 349 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 350 |
msgid "I/O error." |
| 351 |
msgstr "خطأ إدخال/إخراج." |
| 352 |
|
| 353 |
#. type: TP |
| 354 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 355 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 356 |
#, no-wrap |
| 357 |
msgid "B<EMFILE>" |
| 358 |
msgstr "B<EMFILE>" |
| 359 |
|
| 360 |
#. type: Plain text |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
msgid "" |
| 364 |
"The per-process limit on the number of open file descriptors has been " |
| 365 |
"reached." |
| 366 |
msgstr "وُصل إلى الحد الأقصى لواصفات الملفات المفتوحة لكل عملية." |
| 367 |
|
| 368 |
#. type: TP |
| 369 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 370 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 371 |
#, no-wrap |
| 372 |
msgid "B<ENFILE>" |
| 373 |
msgstr "B<ENFILE>" |
| 374 |
|
| 375 |
#. type: Plain text |
| 376 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 377 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 378 |
msgid "" |
| 379 |
"The system-wide limit on the total number of open files has been reached." |
| 380 |
msgstr "وُصل إلى الحد الأقصى لإجمالي عدد الملفات المفتوحة على مستوى النظام." |
| 381 |
|
| 382 |
#. type: TP |
| 383 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 384 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 385 |
#, no-wrap |
| 386 |
msgid "B<ENOMEM>" |
| 387 |
msgstr "B<ENOMEM>" |
| 388 |
|
| 389 |
#. #-#-#-#-# archlinux: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 390 |
#. not in POSIX |
| 391 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 392 |
#. type: Plain text |
| 393 |
#. #-#-#-#-# debian-trixie: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 394 |
#. not in POSIX |
| 395 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 396 |
#. type: Plain text |
| 397 |
#. #-#-#-#-# debian-unstable: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 398 |
#. not in POSIX |
| 399 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 400 |
#. type: Plain text |
| 401 |
#. #-#-#-#-# fedora-44: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 402 |
#. not in POSIX |
| 403 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 404 |
#. type: Plain text |
| 405 |
#. #-#-#-#-# fedora-rawhide: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 406 |
#. not in POSIX |
| 407 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 408 |
#. type: Plain text |
| 409 |
#. #-#-#-#-# mageia-cauldron: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 410 |
#. not in POSIX |
| 411 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 412 |
#. type: Plain text |
| 413 |
#. #-#-#-#-# opensuse-leap-16-1: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 414 |
#. not in POSIX |
| 415 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 416 |
#. type: Plain text |
| 417 |
#. #-#-#-#-# opensuse-tumbleweed: getpwnam.3.pot (PACKAGE VERSION) #-#-#-#-# |
| 418 |
#. not in POSIX |
| 419 |
#. This structure is static, allocated 0 or 1 times. No memory leak. (libc45) |
| 420 |
#. type: Plain text |
| 421 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 422 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 423 |
msgid "Insufficient memory to allocate I<passwd> structure." |
| 424 |
msgstr "ذاكرة غير كافية لتخصيص بنية I<passwd>." |
| 425 |
|
| 426 |
#. type: TP |
| 427 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 428 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 429 |
#, no-wrap |
| 430 |
msgid "B<ERANGE>" |
| 431 |
msgstr "B<ERANGE>" |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
msgid "Insufficient buffer space supplied." |
| 437 |
msgstr "مساحة المخزن المؤقت المقدمة غير كافية." |
| 438 |
|
| 439 |
#. type: SH |
| 440 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 441 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 442 |
#, no-wrap |
| 443 |
msgid "FILES" |
| 444 |
msgstr "الملفات" |
| 445 |
|
| 446 |
#. type: TP |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "I</etc/passwd>" |
| 451 |
msgstr "I</etc/passwd>" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 455 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 456 |
msgid "local password database file" |
| 457 |
msgstr "ملف قاعدة بيانات كلمات السر المحلية" |
| 458 |
|
| 459 |
#. type: SH |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
#, no-wrap |
| 463 |
msgid "ATTRIBUTES" |
| 464 |
msgstr "السمات" |
| 465 |
|
| 466 |
#. type: Plain text |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
msgid "" |
| 470 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 471 |
msgstr "" |
| 472 |
"للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)." |
| 473 |
|
| 474 |
#. type: tbl table |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
#, no-wrap |
| 478 |
msgid "Interface" |
| 479 |
msgstr "الواجهة" |
| 480 |
|
| 481 |
#. type: tbl table |
| 482 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 483 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 484 |
#, no-wrap |
| 485 |
msgid "Attribute" |
| 486 |
msgstr "السمة" |
| 487 |
|
| 488 |
#. type: tbl table |
| 489 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 490 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 491 |
#, no-wrap |
| 492 |
msgid "Value" |
| 493 |
msgstr "القيمة" |
| 494 |
|
| 495 |
#. type: tbl table |
| 496 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 497 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 498 |
#, no-wrap |
| 499 |
msgid ".na\n" |
| 500 |
msgstr ".na\n" |
| 501 |
|
| 502 |
#. type: tbl table |
| 503 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 504 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 505 |
#, no-wrap |
| 506 |
msgid ".nh\n" |
| 507 |
msgstr ".nh\n" |
| 508 |
|
| 509 |
#. type: tbl table |
| 510 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 511 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 512 |
#, no-wrap |
| 513 |
msgid "B<getpwnam>()" |
| 514 |
msgstr "B<getpwnam>()" |
| 515 |
|
| 516 |
#. type: tbl table |
| 517 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 518 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 519 |
#, no-wrap |
| 520 |
msgid "Thread safety" |
| 521 |
msgstr "سلامة الخيوط" |
| 522 |
|
| 523 |
#. type: tbl table |
| 524 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 525 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 526 |
#, no-wrap |
| 527 |
msgid "MT-Unsafe race:pwnam locale" |
| 528 |
msgstr "MT-Unsafe race:pwnam locale" |
| 529 |
|
| 530 |
#. type: tbl table |
| 531 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 532 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 533 |
#, no-wrap |
| 534 |
msgid "B<getpwuid>()" |
| 535 |
msgstr "B<getpwuid>()" |
| 536 |
|
| 537 |
#. type: tbl table |
| 538 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 539 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
#, no-wrap |
| 541 |
msgid "MT-Unsafe race:pwuid locale" |
| 542 |
msgstr "MT-Unsafe race:pwuid locale" |
| 543 |
|
| 544 |
#. type: tbl table |
| 545 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 546 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 547 |
#, no-wrap |
| 548 |
msgid "" |
| 549 |
"B<getpwnam_r>(),\n" |
| 550 |
"B<getpwuid_r>()" |
| 551 |
msgstr "" |
| 552 |
"B<getpwnam_r>(),\n" |
| 553 |
"B<getpwuid_r>()" |
| 554 |
|
| 555 |
#. type: tbl table |
| 556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 558 |
#, no-wrap |
| 559 |
msgid "MT-Safe locale" |
| 560 |
msgstr "المنطقة (locale) آمنة لتعدد المسالك (MT-Safe)" |
| 561 |
|
| 562 |
#. type: SH |
| 563 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 564 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
#, no-wrap |
| 566 |
msgid "VERSIONS" |
| 567 |
msgstr "الإصدارات" |
| 568 |
|
| 569 |
#. type: Plain text |
| 570 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 571 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 572 |
msgid "" |
| 573 |
"The I<pw_gecos> field is not specified in POSIX, but is present on most " |
| 574 |
"implementations." |
| 575 |
msgstr "لم يُحدد حقل I<pw_gecos> في POSIX، ولكنه موجود في معظم التنفيذات." |
| 576 |
|
| 577 |
#. type: SH |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
#, no-wrap |
| 581 |
msgid "STANDARDS" |
| 582 |
msgstr "المعايير" |
| 583 |
|
| 584 |
#. type: Plain text |
| 585 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 586 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 587 |
msgid "POSIX.1-2008." |
| 588 |
msgstr "POSIX.1-2008." |
| 589 |
|
| 590 |
#. type: SH |
| 591 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 592 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 593 |
#, no-wrap |
| 594 |
msgid "HISTORY" |
| 595 |
msgstr "التاريخ" |
| 596 |
|
| 597 |
#. type: Plain text |
| 598 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 599 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 600 |
msgid "POSIX.1-2001, SVr4, 4.3BSD." |
| 601 |
msgstr "POSIX.1-2001، SVr4، 4.3BSD." |
| 602 |
|
| 603 |
#. type: SH |
| 604 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 605 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 606 |
#, no-wrap |
| 607 |
msgid "NOTES" |
| 608 |
msgstr "ملاحظات" |
| 609 |
|
| 610 |
#. more precisely: |
| 611 |
#. AIX 5.1 - gives ESRCH |
| 612 |
#. OSF1 4.0g - gives EWOULDBLOCK |
| 613 |
#. libc, glibc up to glibc 2.6, Irix 6.5 - give ENOENT |
| 614 |
#. since glibc 2.7 - give 0 |
| 615 |
#. FreeBSD 4.8, OpenBSD 3.2, NetBSD 1.6 - give EPERM |
| 616 |
#. SunOS 5.8 - gives EBADF |
| 617 |
#. Tru64 5.1b, HP-UX-11i, SunOS 5.7 - give 0 |
| 618 |
#. type: Plain text |
| 619 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 620 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 621 |
msgid "" |
| 622 |
"The formulation given above under \"RETURN VALUE\" is from POSIX.1-2001. It " |
| 623 |
"does not call \"not found\" an error, and hence does not specify what value " |
| 624 |
"I<errno> might have in this situation. But that makes it impossible to " |
| 625 |
"recognize errors. One might argue that according to POSIX I<errno> should " |
| 626 |
"be left unchanged if an entry is not found. Experiments on various UNIX-" |
| 627 |
"like systems show that lots of different values occur in this situation: 0, " |
| 628 |
"ENOENT, EBADF, ESRCH, EWOULDBLOCK, EPERM, and probably others." |
| 629 |
msgstr "" |
| 630 |
"الصياغة المذكورة أعلاه تحت \"القيمة المرجعة\" مأخوذة من POSIX.1-2001. لا " |
| 631 |
"تعتبر \"غير موجود\" خطأ، وبالتالي لا تحدد القيمة التي قد يحملها I<errno> في " |
| 632 |
"هذه الحالة. لكن هذا يجعل من المستحيل التعرف على الأخطاء. قد يجادل المرء بأنه " |
| 633 |
"وفقًا لـ POSIX، يجب ترك I<errno> دون تغيير إذا لم يُعثر على مدخل. تُظهر التجارب " |
| 634 |
"على أنظمة شبيهة بيونكس المختلفة أن العديد من القيم المختلفة تظهر في هذه " |
| 635 |
"الحالة: 0 وENOENT وEBADF وESRCH وEWOULDBLOCK وEPERM وربما غيرها." |
| 636 |
|
| 637 |
#. type: Plain text |
| 638 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 639 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 640 |
msgid "" |
| 641 |
"The I<pw_dir> field contains the name of the initial working directory of " |
| 642 |
"the user. Login programs use the value of this field to initialize the " |
| 643 |
"B<HOME> environment variable for the login shell. An application that wants " |
| 644 |
"to determine its user's home directory should inspect the value of B<HOME> " |
| 645 |
"(rather than the value I<getpwuid(getuid())-E<gt>pw_dir>) since this allows " |
| 646 |
"the user to modify their notion of \"the home directory\" during a login " |
| 647 |
"session. To determine the (initial) home directory of another user, it is " |
| 648 |
"necessary to use I<getpwnam(\"username\")-E<gt>pw_dir> or similar." |
| 649 |
msgstr "" |
| 650 |
"يحتوي الحقل I<pw_dir> على اسم دليل العمل المبدئي للمستخدم. تستخدم برامج " |
| 651 |
"تسجيل الدخول قيمة هذا الحقل لتهيئة متغير البيئة B<HOME> لصدفة تسجيل الدخول. " |
| 652 |
"يجب على التطبيق الذي يريد تحديد دليل المستخدم الرئيسي أن يفحص قيمة B<HOME> " |
| 653 |
"(بدلاً من القيمة I<getpwuid(getuid())-E<gt>pw_dir>) لأن هذا يسمح للمستخدم " |
| 654 |
"بتعديل مفهومه عن \"الدليل الرئيسي\" أثناء جلسة تسجيل الدخول. لتحديد الدليل " |
| 655 |
"الرئيسي (المبدئي) لمستخدم آخر، من الضروري استخدام I<getpwnam(\"username\")-" |
| 656 |
"E<gt>pw_dir> أو ما شابه." |
| 657 |
|
| 658 |
#. type: SH |
| 659 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 660 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 661 |
#, no-wrap |
| 662 |
msgid "EXAMPLES" |
| 663 |
msgstr "أمثلة" |
| 664 |
|
| 665 |
#. type: Plain text |
| 666 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 667 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 668 |
msgid "" |
| 669 |
"The program below demonstrates the use of B<getpwnam_r>() to find the full " |
| 670 |
"username and user ID for the username supplied as a command-line argument." |
| 671 |
msgstr "" |
| 672 |
"البرنامج أدناه يوضح استخدام B<getpwnam_r>() لإيجاد اسم المستخدم الكامل ومعرّف " |
| 673 |
"المستخدم لاسم المستخدم المُقدَّم كوسيط سطر أوامر." |
| 674 |
|
| 675 |
#. type: Plain text |
| 676 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 677 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 678 |
#, no-wrap |
| 679 |
msgid "" |
| 680 |
"#include E<lt>errno.hE<gt>\n" |
| 681 |
"#include E<lt>pwd.hE<gt>\n" |
| 682 |
"#include E<lt>stdint.hE<gt>\n" |
| 683 |
"#include E<lt>stdio.hE<gt>\n" |
| 684 |
"#include E<lt>stdlib.hE<gt>\n" |
| 685 |
"#include E<lt>unistd.hE<gt>\n" |
| 686 |
"\\&\n" |
| 687 |
"int\n" |
| 688 |
"main(int argc, char *argv[])\n" |
| 689 |
"{\n" |
| 690 |
" struct passwd pwd;\n" |
| 691 |
" struct passwd *result;\n" |
| 692 |
" char *buf;\n" |
| 693 |
" long bufsize;\n" |
| 694 |
" int s;\n" |
| 695 |
"\\&\n" |
| 696 |
" if (argc != 2) {\n" |
| 697 |
" fprintf(stderr, \"Usage: %s username\\[rs]n\", argv[0]);\n" |
| 698 |
" exit(EXIT_FAILURE);\n" |
| 699 |
" }\n" |
| 700 |
"\\&\n" |
| 701 |
" bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);\n" |
| 702 |
" if (bufsize == -1) /* Value was indeterminate */\n" |
| 703 |
" bufsize = 16384; /* Should be more than enough */\n" |
| 704 |
"\\&\n" |
| 705 |
" buf = malloc(bufsize);\n" |
| 706 |
" if (buf == NULL) {\n" |
| 707 |
" perror(\"malloc\");\n" |
| 708 |
" exit(EXIT_FAILURE);\n" |
| 709 |
" }\n" |
| 710 |
"\\&\n" |
| 711 |
" s = getpwnam_r(argv[1], &pwd, buf, bufsize, &result);\n" |
| 712 |
" if (result == NULL) {\n" |
| 713 |
" if (s == 0)\n" |
| 714 |
" printf(\"Not found\\[rs]n\");\n" |
| 715 |
" else {\n" |
| 716 |
" errno = s;\n" |
| 717 |
" perror(\"getpwnam_r\");\n" |
| 718 |
" }\n" |
| 719 |
" exit(EXIT_FAILURE);\n" |
| 720 |
" }\n" |
| 721 |
"\\&\n" |
| 722 |
" printf(\"Name: %s; UID: %jd\\[rs]n\", pwd.pw_gecos,\n" |
| 723 |
" (intmax_t) pwd.pw_uid);\n" |
| 724 |
" exit(EXIT_SUCCESS);\n" |
| 725 |
"}\n" |
| 726 |
msgstr "" |
| 727 |
"#include E<lt>errno.hE<gt>\n" |
| 728 |
"#include E<lt>pwd.hE<gt>\n" |
| 729 |
"#include E<lt>stdint.hE<gt>\n" |
| 730 |
"#include E<lt>stdio.hE<gt>\n" |
| 731 |
"#include E<lt>stdlib.hE<gt>\n" |
| 732 |
"#include E<lt>unistd.hE<gt>\n" |
| 733 |
"\\&\n" |
| 734 |
"int\n" |
| 735 |
"main(int argc, char *argv[])\n" |
| 736 |
"{\n" |
| 737 |
" struct passwd pwd;\n" |
| 738 |
" struct passwd *result;\n" |
| 739 |
" char *buf;\n" |
| 740 |
" long bufsize;\n" |
| 741 |
" int s;\n" |
| 742 |
"\\&\n" |
| 743 |
" if (argc != 2) {\n" |
| 744 |
" fprintf(stderr, \"Usage: %s username\\[rs]n\", argv[0]);\n" |
| 745 |
" exit(EXIT_FAILURE);\n" |
| 746 |
" }\n" |
| 747 |
"\\&\n" |
| 748 |
" bufsize = sysconf(_SC_GETPW_R_SIZE_MAX);\n" |
| 749 |
" if (bufsize == -1) /* Value was indeterminate */\n" |
| 750 |
" bufsize = 16384; /* Should be more than enough */\n" |
| 751 |
"\\&\n" |
| 752 |
" buf = malloc(bufsize);\n" |
| 753 |
" if (buf == NULL) {\n" |
| 754 |
" perror(\"malloc\");\n" |
| 755 |
" exit(EXIT_FAILURE);\n" |
| 756 |
" }\n" |
| 757 |
"\\&\n" |
| 758 |
" s = getpwnam_r(argv[1], &pwd, buf, bufsize, &result);\n" |
| 759 |
" if (result == NULL) {\n" |
| 760 |
" if (s == 0)\n" |
| 761 |
" printf(\"Not found\\[rs]n\");\n" |
| 762 |
" else {\n" |
| 763 |
" errno = s;\n" |
| 764 |
" perror(\"getpwnam_r\");\n" |
| 765 |
" }\n" |
| 766 |
" exit(EXIT_FAILURE);\n" |
| 767 |
" }\n" |
| 768 |
"\\&\n" |
| 769 |
" printf(\"Name: %s; UID: %jd\\[rs]n\", pwd.pw_gecos,\n" |
| 770 |
" (intmax_t) pwd.pw_uid);\n" |
| 771 |
" exit(EXIT_SUCCESS);\n" |
| 772 |
"}\n" |
| 773 |
|
| 774 |
#. SRC END |
| 775 |
#. type: SH |
| 776 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 777 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 778 |
#, no-wrap |
| 779 |
msgid "SEE ALSO" |
| 780 |
msgstr "انظر أيضًا" |
| 781 |
|
| 782 |
#. type: Plain text |
| 783 |
#: archlinux fedora-44 fedora-rawhide mageia-cauldron opensuse-leap-16-1 |
| 784 |
#: opensuse-tumbleweed |
| 785 |
msgid "" |
| 786 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 787 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 788 |
msgstr "" |
| 789 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 790 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<passwd>(5)" |
| 791 |
|
| 792 |
#. type: TH |
| 793 |
#: debian-trixie |
| 794 |
#, no-wrap |
| 795 |
msgid "2024-06-15" |
| 796 |
msgstr "15 يونيو 2024" |
| 797 |
|
| 798 |
#. type: TH |
| 799 |
#: debian-trixie |
| 800 |
#, no-wrap |
| 801 |
msgid "Linux man-pages 6.9.1" |
| 802 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 803 |
|
| 804 |
#. type: Plain text |
| 805 |
#: debian-trixie |
| 806 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 807 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 808 |
|
| 809 |
#. type: Plain text |
| 810 |
#: debian-trixie |
| 811 |
#, no-wrap |
| 812 |
msgid "" |
| 813 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 814 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 815 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 816 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 817 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 818 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 819 |
msgstr "" |
| 820 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 821 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 822 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 823 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 824 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 825 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 826 |
|
| 827 |
#. type: Plain text |
| 828 |
#: debian-trixie |
| 829 |
msgid "" |
| 830 |
"The B<getpwnam_r>() and B<getpwuid_r>() functions obtain the same " |
| 831 |
"information as B<getpwnam>() and B<getpwuid>(), but store the retrieved " |
| 832 |
"I<passwd> structure in the space pointed to by I<pwd>. The string fields " |
| 833 |
"pointed to by the members of the I<passwd> structure are stored in the " |
| 834 |
"buffer I<buf> of size I<buflen>. A pointer to the result (in case of " |
| 835 |
"success) or NULL (in case no entry was found or an error occurred) is stored " |
| 836 |
"in I<*result>." |
| 837 |
msgstr "" |
| 838 |
"الدالتان B<getpwnam_r>() و B<getpwuid_r>() تحصلان على نفس المعلومات مثل " |
| 839 |
"B<getpwnam>() و B<getpwuid>()، لكن تخزنان بنية I<passwd> المسترجعة في " |
| 840 |
"المساحة المشار إليها بواسطة I<pwd>. حقول السلاسل المشار إليها بواسطة أعضاء " |
| 841 |
"بنية I<passwd> تُخزَّن في المخزن المؤقت I<buf> بحجم I<buflen>. مؤشر إلى النتيجة " |
| 842 |
"(في حالة النجاح) أو NULL (في حالة عدم العثور على إدخال أو حدوث خطأ) يُخزَّن في " |
| 843 |
"I<*result>." |
| 844 |
|
| 845 |
#. type: SH |
| 846 |
#: debian-trixie debian-unstable |
| 847 |
#, no-wrap |
| 848 |
msgid "NOTE" |
| 849 |
msgstr "ملاحظة" |
| 850 |
|
| 851 |
#. type: Plain text |
| 852 |
#: debian-trixie debian-unstable |
| 853 |
msgid "" |
| 854 |
"The user password database mostly refers to I</etc/passwd>. However, with " |
| 855 |
"recent systems it also refers to network wide databases using NIS, LDAP and " |
| 856 |
"other local files as configured in I</etc/nsswitch.conf>." |
| 857 |
msgstr "" |
| 858 |
"قاعدة بيانات كلمة السر للمستخدم تشير غالبًا إلى I</etc/passwd>. لكن، مع " |
| 859 |
"الأنظمة الحديثة تشير أيضًا إلى قواعد بيانات شبكية واسعة باستخدام NIS و LDAP " |
| 860 |
"وملفات محلية أخرى كما هو مُهيَّأ في I</etc/nsswitch.conf>." |
| 861 |
|
| 862 |
#. type: TP |
| 863 |
#: debian-trixie debian-unstable |
| 864 |
#, no-wrap |
| 865 |
msgid "I</etc/nsswitch.conf>" |
| 866 |
msgstr "I</etc/nsswitch.conf>" |
| 867 |
|
| 868 |
#. type: Plain text |
| 869 |
#: debian-trixie debian-unstable |
| 870 |
msgid "System Databases and Name Service Switch configuration file" |
| 871 |
msgstr "قواعد بيانات النظام وملف تهيئة مبدّل خدمة الأسماء" |
| 872 |
|
| 873 |
#. type: Plain text |
| 874 |
#: debian-trixie debian-unstable |
| 875 |
msgid "" |
| 876 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 877 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<nsswitch." |
| 878 |
"conf>(5), B<passwd>(5)" |
| 879 |
msgstr "" |
| 880 |
"B<endpwent>(3), B<fgetpwent>(3), B<getgrnam>(3), B<getpw>(3), " |
| 881 |
"B<getpwent>(3), B<getspnam>(3), B<putpwent>(3), B<setpwent>(3), B<nsswitch." |
| 882 |
"conf>(5), B<passwd>(5)" |
| 883 |
|
| 884 |
#. type: TH |
| 885 |
#: fedora-44 fedora-rawhide |
| 886 |
#, no-wrap |
| 887 |
msgid "2024-12-24" |
| 888 |
msgstr "24 ديسمبر 2024" |
| 889 |
|
| 890 |
#. type: TH |
| 891 |
#: fedora-44 fedora-rawhide |
| 892 |
#, no-wrap |
| 893 |
msgid "Linux man-pages 6.13" |
| 894 |
msgstr "صفحات دليل لينكس 6.13" |
| 895 |
|
| 896 |
#. type: Plain text |
| 897 |
#: fedora-44 fedora-rawhide |
| 898 |
#, no-wrap |
| 899 |
msgid "" |
| 900 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 901 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 902 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 903 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 904 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 905 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 906 |
msgstr "" |
| 907 |
"B<int getpwnam_r(const char *restrict >I<name>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 908 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 909 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 910 |
"B<int getpwuid_r(uid_t >I<uid>B<, struct passwd *restrict >I<pwd>B<,>\n" |
| 911 |
"B< char >I<buf>B<[restrict .>I<size>B<], size_t >I<size>B<,>\n" |
| 912 |
"B< struct passwd **restrict >I<result>B<);>\n" |
| 913 |
|
| 914 |
#. type: TH |
| 915 |
#: mageia-cauldron |
| 916 |
#, no-wrap |
| 917 |
msgid "Linux man-pages 6.17" |
| 918 |
msgstr "صفحات دليل لينكس 6.17" |
| 919 |
|
| 920 |
#. type: TH |
| 921 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 922 |
#, no-wrap |
| 923 |
msgid "Linux man-pages (unreleased)" |
| 924 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |