| 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:27+0200\n" |
| 9 |
"PO-Revision-Date: 2026-06-02 19:25+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 "hsearch" |
| 25 |
msgstr "hsearch" |
| 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 "" |
| 51 |
"hcreate, hdestroy, hsearch, hcreate_r, hdestroy_r, hsearch_r - hash table " |
| 52 |
"management" |
| 53 |
msgstr "" |
| 54 |
"hcreate, hdestroy, hsearch, hcreate_r, hdestroy_r, hsearch_r - إدارة جدول " |
| 55 |
"التجزئة" |
| 56 |
|
| 57 |
#. type: SH |
| 58 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 59 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 60 |
#, no-wrap |
| 61 |
msgid "LIBRARY" |
| 62 |
msgstr "المكتبة" |
| 63 |
|
| 64 |
#. type: Plain text |
| 65 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 66 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 67 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 68 |
msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)" |
| 69 |
|
| 70 |
#. type: SH |
| 71 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 72 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 73 |
#, no-wrap |
| 74 |
msgid "SYNOPSIS" |
| 75 |
msgstr "موجز" |
| 76 |
|
| 77 |
#. type: Plain text |
| 78 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 79 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 80 |
#, no-wrap |
| 81 |
msgid "B<#include E<lt>search.hE<gt>>\n" |
| 82 |
msgstr "B<#include E<lt>search.hE<gt>>\n" |
| 83 |
|
| 84 |
#. type: Plain text |
| 85 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 86 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 87 |
#, no-wrap |
| 88 |
msgid "" |
| 89 |
"B<int hcreate(size_t >I<nel>B<);>\n" |
| 90 |
"B<void hdestroy(void);>\n" |
| 91 |
msgstr "" |
| 92 |
"B<int hcreate(size_t >I<nel>B<);>\n" |
| 93 |
"B<void hdestroy(void);>\n" |
| 94 |
|
| 95 |
#. type: Plain text |
| 96 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 97 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 98 |
#, no-wrap |
| 99 |
msgid "B<ENTRY *hsearch(ENTRY >I<item>B<, ACTION >I<action>B<);>\n" |
| 100 |
msgstr "B<ENTRY *hsearch(ENTRY >I<item>B<, ACTION >I<action>B<);>\n" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
#, no-wrap |
| 106 |
msgid "" |
| 107 |
"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" |
| 108 |
"B<#include E<lt>search.hE<gt>>\n" |
| 109 |
msgstr "" |
| 110 |
"B<#define _GNU_SOURCE> /* انظر feature_test_macros(7) */\n" |
| 111 |
"B<#include E<lt>search.hE<gt>>\n" |
| 112 |
|
| 113 |
#. type: Plain text |
| 114 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 115 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 116 |
#, no-wrap |
| 117 |
msgid "" |
| 118 |
"B<int hcreate_r(size_t >I<nel>B<, struct hsearch_data *>I<htab>B<);>\n" |
| 119 |
"B<void hdestroy_r(struct hsearch_data *>I<htab>B<);>\n" |
| 120 |
msgstr "" |
| 121 |
"B<int hcreate_r(size_t >I<nel>B<, struct hsearch_data *>I<htab>B<);>\n" |
| 122 |
"B<void hdestroy_r(struct hsearch_data *>I<htab>B<);>\n" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
#, no-wrap |
| 128 |
msgid "" |
| 129 |
"B<int hsearch_r(ENTRY >I<item>B<, ACTION >I<action>B<, ENTRY **>I<retval>B<,>\n" |
| 130 |
"B< struct hsearch_data *>I<htab>B<);>\n" |
| 131 |
msgstr "" |
| 132 |
"B<int hsearch_r(ENTRY >I<item>B<, ACTION >I<action>B<, ENTRY **>I<retval>B<,>\n" |
| 133 |
"B< struct hsearch_data *>I<htab>B<);>\n" |
| 134 |
|
| 135 |
#. type: SH |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
#, no-wrap |
| 139 |
msgid "DESCRIPTION" |
| 140 |
msgstr "الوصف" |
| 141 |
|
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
msgid "" |
| 146 |
"The three functions B<hcreate>(), B<hsearch>(), and B<hdestroy>() allow the " |
| 147 |
"caller to create and manage a hash search table containing entries " |
| 148 |
"consisting of a key (a string) and associated data. Using these functions, " |
| 149 |
"only one hash table can be used at a time." |
| 150 |
msgstr "" |
| 151 |
"الدوال الثلاث B<hcreate>() و B<hsearch>() و B<hdestroy>() تسمح للمستدعي " |
| 152 |
"بإنشاء وإدارة جدول بحث تجزئة يحتوي على مدخلات تتكون من مفتاح (سلسلة محارف) " |
| 153 |
"وبيانات مرتبطة. باستخدام هذه الدوال، يمكن استخدام جدول تجزئة واحد فقط في كل " |
| 154 |
"مرة." |
| 155 |
|
| 156 |
#. type: Plain text |
| 157 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 158 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 159 |
msgid "" |
| 160 |
"The three functions B<hcreate_r>(), B<hsearch_r>(), B<hdestroy_r>() are " |
| 161 |
"reentrant versions that allow a program to use more than one hash search " |
| 162 |
"table at the same time. The last argument, I<htab>, points to a structure " |
| 163 |
"that describes the table on which the function is to operate. The " |
| 164 |
"programmer should treat this structure as opaque (i.e., do not attempt to " |
| 165 |
"directly access or modify the fields in this structure)." |
| 166 |
msgstr "" |
| 167 |
"الدوال الثلاث B<hcreate_r>() و B<hsearch_r>() و B<hdestroy_r>() هي إصدارات " |
| 168 |
"قابلة لإعادة الدخول تسمح للبرنامج باستخدام أكثر من جدول بحث تجزئة في نفس " |
| 169 |
"الوقت. المعامل الأخير I<htab> يشير إلى بنية تصف الجدول الذي ستعمل عليه " |
| 170 |
"الدالة. يجب على المبرمج معاملة هذه البنية كبنية معتمة (أي لا يحاول الوصول " |
| 171 |
"المباشر أو تعديل الحقول في هذه البنية)." |
| 172 |
|
| 173 |
#. e.g., in glibc it is raised to the next higher prime number |
| 174 |
#. type: Plain text |
| 175 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 176 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 177 |
msgid "" |
| 178 |
"First a hash table must be created using B<hcreate>(). The argument I<nel> " |
| 179 |
"specifies the maximum number of entries in the table. (This maximum cannot " |
| 180 |
"be changed later, so choose it wisely.) The implementation may adjust this " |
| 181 |
"value upward to improve the performance of the resulting hash table." |
| 182 |
msgstr "" |
| 183 |
"أولاً، يجب إنشاء جدول تجزئة باستخدام B<hcreate>(). المعامل I<nel> يحدد الحد " |
| 184 |
"الأقصى لعدد المدخلات في الجدول. (لا يمكن تغيير هذا الحد الأقصى لاحقًا، لذا " |
| 185 |
"اختره بحكمة.) قد يعدل التطبيق هذه القيمة لأعلى لتحسين أداء جدول التجزئة " |
| 186 |
"الناتج." |
| 187 |
|
| 188 |
#. type: Plain text |
| 189 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 190 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 191 |
msgid "" |
| 192 |
"The B<hcreate_r>() function performs the same task as B<hcreate>(), but for " |
| 193 |
"the table described by the structure I<*htab>. The structure pointed to by " |
| 194 |
"I<htab> must be zeroed before the first call to B<hcreate_r>()." |
| 195 |
msgstr "" |
| 196 |
"الدالة B<hcreate_r>() تؤدي نفس مهمة B<hcreate>()، ولكن للجدول الموصوف بواسطة " |
| 197 |
"البنية I<*htab>. يجب تصفير البنية المشار إليها بواسطة I<htab> قبل الاستدعاء " |
| 198 |
"الأول لـ B<hcreate_r>()." |
| 199 |
|
| 200 |
#. type: Plain text |
| 201 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 202 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 203 |
msgid "" |
| 204 |
"The function B<hdestroy>() frees the memory occupied by the hash table that " |
| 205 |
"was created by B<hcreate>(). After calling B<hdestroy>(), a new hash table " |
| 206 |
"can be created using B<hcreate>(). The B<hdestroy_r>() function performs " |
| 207 |
"the analogous task for a hash table described by I<*htab>, which was " |
| 208 |
"previously created using B<hcreate_r>()." |
| 209 |
msgstr "" |
| 210 |
"الدالة B<hdestroy>() تحرر الذاكرة التي يشغلها جدول التجزئة الذي أُنشئ بواسطة " |
| 211 |
"B<hcreate>(). بعد استدعاء B<hdestroy>()، يمكن إنشاء جدول تجزئة جديد باستخدام " |
| 212 |
"B<hcreate>(). الدالة B<hdestroy_r>() تؤدي المهمة المماثلة لجدول تجزئة موصوف " |
| 213 |
"بواسطة I<*htab>، والذي أُنشئ سابقًا باستخدام B<hcreate_r>()." |
| 214 |
|
| 215 |
#. type: Plain text |
| 216 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 217 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 218 |
msgid "" |
| 219 |
"The B<hsearch>() function searches the hash table for an item with the same " |
| 220 |
"key as I<item> (where \"the same\" is determined using B<strcmp>(3)), and if " |
| 221 |
"successful returns a pointer to it." |
| 222 |
msgstr "" |
| 223 |
"الدالة B<hsearch>() تبحث في جدول التجزئة عن عنصر بنفس مفتاح I<item> (حيث " |
| 224 |
"يُحدد \"نفس\" باستخدام B<strcmp>(3))، وإذا نجحت، تُرجع مؤشرًا إليه." |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
msgid "" |
| 230 |
"The argument I<item> is of type I<ENTRY>, which is defined in I<E<lt>search." |
| 231 |
"hE<gt>> as follows:" |
| 232 |
msgstr "" |
| 233 |
"المعامل I<item> من النوع I<ENTRY>، والذي يُعرف في I<E<lt>search.hE<gt>> " |
| 234 |
"كالتالي:" |
| 235 |
|
| 236 |
#. type: Plain text |
| 237 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 238 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 239 |
#, no-wrap |
| 240 |
msgid "" |
| 241 |
"typedef struct entry {\n" |
| 242 |
" char *key;\n" |
| 243 |
" void *data;\n" |
| 244 |
"} ENTRY;\n" |
| 245 |
msgstr "" |
| 246 |
"typedef struct entry {\n" |
| 247 |
" char *key;\n" |
| 248 |
" void *data;\n" |
| 249 |
"} ENTRY;\n" |
| 250 |
|
| 251 |
#. type: Plain text |
| 252 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 253 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 254 |
msgid "" |
| 255 |
"The field I<key> points to a null-terminated string which is the search " |
| 256 |
"key. The field I<data> points to data that is associated with that key." |
| 257 |
msgstr "" |
| 258 |
"الحقل I<key> يشير إلى سلسلة محارف منتهية بقيمة خالية وهي مفتاح البحث. الحقل " |
| 259 |
"I<data> يشير إلى بيانات مرتبطة بذلك المفتاح." |
| 260 |
|
| 261 |
#. type: Plain text |
| 262 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 263 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 264 |
msgid "" |
| 265 |
"The argument I<action> determines what B<hsearch>() does after an " |
| 266 |
"unsuccessful search. This argument must either have the value B<ENTER>, " |
| 267 |
"meaning insert a copy of I<item> (and return a pointer to the new hash table " |
| 268 |
"entry as the function result), or the value B<FIND>, meaning that NULL " |
| 269 |
"should be returned. (If I<action> is B<FIND>, then I<data> is ignored.)" |
| 270 |
msgstr "" |
| 271 |
"المعامل I<action> يحدد ما تفعله B<hsearch>() بعد بحث غير ناجح. يجب أن يكون " |
| 272 |
"لهذا المعامل إما القيمة B<ENTER>، بمعنى إدراج نسخة من I<item> (وإرجاع مؤشر " |
| 273 |
"إلى مدخل جدول التجزئة الجديد كنتيجة للدالة)، أو القيمة B<FIND>، بمعنى أنه " |
| 274 |
"يجب إرجاع NULL. (إذا كان I<action> هو B<FIND>، فسيتم تجاهل I<data>.)" |
| 275 |
|
| 276 |
#. type: Plain text |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
msgid "" |
| 280 |
"The B<hsearch_r>() function is like B<hsearch>() but operates on the hash " |
| 281 |
"table described by I<*htab>. The B<hsearch_r>() function differs from " |
| 282 |
"B<hsearch>() in that a pointer to the found item is returned in I<*retval>, " |
| 283 |
"rather than as the function result." |
| 284 |
msgstr "" |
| 285 |
"الدالة B<hsearch_r>() تشبه B<hsearch>() ولكنها تعمل على جدول التجزئة الموصوف " |
| 286 |
"بواسطة I<*htab>. تختلف الدالة B<hsearch_r>() عن B<hsearch>() في أن مؤشرًا إلى " |
| 287 |
"العنصر الموجود يُرجع في I<*retval>، بدلاً من كونه نتيجة الدالة." |
| 288 |
|
| 289 |
#. type: SH |
| 290 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 291 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 292 |
#, no-wrap |
| 293 |
msgid "RETURN VALUE" |
| 294 |
msgstr "قيمة الإرجاع" |
| 295 |
|
| 296 |
#. type: Plain text |
| 297 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 298 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 299 |
msgid "" |
| 300 |
"B<hcreate>() and B<hcreate_r>() return nonzero on success. They return 0 " |
| 301 |
"on error, with I<errno> set to indicate the error." |
| 302 |
msgstr "" |
| 303 |
"B<hcreate>() و B<hcreate_r>() تُرجعان قيمة غير صفرية عند النجاح. تُرجعان 0 عند " |
| 304 |
"الخطأ، مع تعيين I<errno> للإشارة إلى الخطأ." |
| 305 |
|
| 306 |
#. type: Plain text |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
msgid "" |
| 310 |
"On success, B<hsearch>() returns a pointer to an entry in the hash table. " |
| 311 |
"B<hsearch>() returns NULL on error, that is, if I<action> is B<ENTER> and " |
| 312 |
"the hash table is full, or I<action> is B<FIND> and I<item> cannot be found " |
| 313 |
"in the hash table. B<hsearch_r>() returns nonzero on success, and 0 on " |
| 314 |
"error. In the event of an error, these two functions set I<errno> to " |
| 315 |
"indicate the error." |
| 316 |
msgstr "" |
| 317 |
"عند النجاح، B<hsearch>() تُرجع مؤشرًا إلى مدخل في جدول التجزئة. B<hsearch>() " |
| 318 |
"تُرجع NULL عند الخطأ، أي إذا كان I<action> هو B<ENTER> وجدول التجزئة ممتلئ، " |
| 319 |
"أو I<action> هو B<FIND> ولا يمكن العثور على I<item> في جدول التجزئة. " |
| 320 |
"B<hsearch_r>() تُرجع قيمة غير صفرية عند النجاح، و0 عند الخطأ. في حالة حدوث " |
| 321 |
"خطأ، تعيّن هاتان الدالتان I<errno> للإشارة إلى الخطأ." |
| 322 |
|
| 323 |
#. type: SH |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
#, no-wrap |
| 327 |
msgid "ERRORS" |
| 328 |
msgstr "الأخطاء" |
| 329 |
|
| 330 |
#. type: Plain text |
| 331 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 332 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 333 |
msgid "" |
| 334 |
"B<hcreate_r>() and B<hdestroy_r>() can fail for the following reasons:" |
| 335 |
msgstr "يمكن أن تفشل B<hcreate_r>() و B<hdestroy_r>() للأسباب التالية:" |
| 336 |
|
| 337 |
#. type: TP |
| 338 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 339 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 340 |
#, no-wrap |
| 341 |
msgid "B<EINVAL>" |
| 342 |
msgstr "B<EINVAL>" |
| 343 |
|
| 344 |
#. type: Plain text |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
msgid "I<htab> is NULL." |
| 348 |
msgstr "I<htab> هو NULL." |
| 349 |
|
| 350 |
#. type: Plain text |
| 351 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 352 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 353 |
msgid "B<hsearch>() and B<hsearch_r>() can fail for the following reasons:" |
| 354 |
msgstr "قد تفشل B<hsearch>() و B<hsearch_r>() للأسباب التالية:" |
| 355 |
|
| 356 |
#. type: TP |
| 357 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 358 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 359 |
#, no-wrap |
| 360 |
msgid "B<ENOMEM>" |
| 361 |
msgstr "B<ENOMEM>" |
| 362 |
|
| 363 |
#. type: Plain text |
| 364 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 365 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 366 |
msgid "" |
| 367 |
"I<action> was B<ENTER>, I<key> was not found in the table, and there was no " |
| 368 |
"room in the table to add a new entry." |
| 369 |
msgstr "" |
| 370 |
"كان I<action> هو B<ENTER>، ولم يُعثر على I<key> في الجدول، ولم تكن هناك مساحة " |
| 371 |
"في الجدول لإضافة مدخل جديد." |
| 372 |
|
| 373 |
#. type: TP |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
#, no-wrap |
| 377 |
msgid "B<ESRCH>" |
| 378 |
msgstr "B<ESRCH>" |
| 379 |
|
| 380 |
#. type: Plain text |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
msgid "I<action> was B<FIND>, and I<key> was not found in the table." |
| 384 |
msgstr "كان I<action> هو B<FIND>، ولم يُعثر على I<key> في الجدول." |
| 385 |
|
| 386 |
#. PROX.1-2001, POSIX.1-2008 |
| 387 |
#. type: Plain text |
| 388 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 389 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 390 |
msgid "POSIX.1 specifies only the B<ENOMEM> error." |
| 391 |
msgstr "يحدد POSIX.1 خطأ B<ENOMEM> فقط." |
| 392 |
|
| 393 |
#. type: SH |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
#, no-wrap |
| 397 |
msgid "ATTRIBUTES" |
| 398 |
msgstr "السمات" |
| 399 |
|
| 400 |
#. type: Plain text |
| 401 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 402 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 403 |
msgid "" |
| 404 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 405 |
msgstr "" |
| 406 |
"للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)." |
| 407 |
|
| 408 |
#. type: tbl table |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
#, no-wrap |
| 412 |
msgid "Interface" |
| 413 |
msgstr "الواجهة" |
| 414 |
|
| 415 |
#. type: tbl table |
| 416 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 417 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 418 |
#, no-wrap |
| 419 |
msgid "Attribute" |
| 420 |
msgstr "السمة" |
| 421 |
|
| 422 |
#. type: tbl table |
| 423 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 424 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 425 |
#, no-wrap |
| 426 |
msgid "Value" |
| 427 |
msgstr "القيمة" |
| 428 |
|
| 429 |
#. type: tbl table |
| 430 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 431 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 432 |
#, no-wrap |
| 433 |
msgid ".na\n" |
| 434 |
msgstr ".na\n" |
| 435 |
|
| 436 |
#. type: tbl table |
| 437 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 438 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 439 |
#, no-wrap |
| 440 |
msgid ".nh\n" |
| 441 |
msgstr ".nh\n" |
| 442 |
|
| 443 |
#. type: tbl table |
| 444 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 445 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 446 |
#, no-wrap |
| 447 |
msgid "" |
| 448 |
"B<hcreate>(),\n" |
| 449 |
"B<hsearch>(),\n" |
| 450 |
"B<hdestroy>()" |
| 451 |
msgstr "" |
| 452 |
"B<hcreate>(),\n" |
| 453 |
"B<hsearch>(),\n" |
| 454 |
"B<hdestroy>()" |
| 455 |
|
| 456 |
#. type: tbl table |
| 457 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 458 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 459 |
#, no-wrap |
| 460 |
msgid "Thread safety" |
| 461 |
msgstr "سلامة الخيوط" |
| 462 |
|
| 463 |
#. type: tbl table |
| 464 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 465 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 466 |
#, no-wrap |
| 467 |
msgid "MT-Unsafe race:hsearch" |
| 468 |
msgstr "MT-Unsafe race:hsearch" |
| 469 |
|
| 470 |
#. type: tbl table |
| 471 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 472 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 473 |
#, no-wrap |
| 474 |
msgid "" |
| 475 |
"B<hcreate_r>(),\n" |
| 476 |
"B<hsearch_r>(),\n" |
| 477 |
"B<hdestroy_r>()" |
| 478 |
msgstr "" |
| 479 |
"B<hcreate_r>(),\n" |
| 480 |
"B<hsearch_r>(),\n" |
| 481 |
"B<hdestroy_r>()" |
| 482 |
|
| 483 |
#. type: tbl table |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
#, no-wrap |
| 487 |
msgid "MT-Safe race:htab" |
| 488 |
msgstr "MT-Safe race:htab" |
| 489 |
|
| 490 |
#. type: SH |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
#, no-wrap |
| 494 |
msgid "STANDARDS" |
| 495 |
msgstr "المعايير" |
| 496 |
|
| 497 |
#. type: TP |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
#, no-wrap |
| 501 |
msgid "B<hcreate>()" |
| 502 |
msgstr "B<hcreate>()" |
| 503 |
|
| 504 |
#. type: TQ |
| 505 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 506 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 507 |
#, no-wrap |
| 508 |
msgid "B<hsearch>()" |
| 509 |
msgstr "B<hsearch>()" |
| 510 |
|
| 511 |
#. type: TQ |
| 512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
#, no-wrap |
| 515 |
msgid "B<hdestroy>()" |
| 516 |
msgstr "B<hdestroy>()" |
| 517 |
|
| 518 |
#. type: Plain text |
| 519 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 520 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 521 |
msgid "POSIX.1-2008." |
| 522 |
msgstr "POSIX.1-2008." |
| 523 |
|
| 524 |
#. type: TP |
| 525 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 526 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 527 |
#, no-wrap |
| 528 |
msgid "B<hcreate_r>()" |
| 529 |
msgstr "B<hcreate_r>()" |
| 530 |
|
| 531 |
#. type: TQ |
| 532 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 533 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 534 |
#, no-wrap |
| 535 |
msgid "B<hsearch_r>()" |
| 536 |
msgstr "B<hsearch_r>()" |
| 537 |
|
| 538 |
#. type: TQ |
| 539 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 540 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 541 |
#, no-wrap |
| 542 |
msgid "B<hdestroy_r>()" |
| 543 |
msgstr "B<hdestroy_r>()" |
| 544 |
|
| 545 |
#. type: Plain text |
| 546 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 547 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 548 |
msgid "GNU." |
| 549 |
msgstr "GNU." |
| 550 |
|
| 551 |
#. type: SH |
| 552 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 553 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 554 |
#, no-wrap |
| 555 |
msgid "HISTORY" |
| 556 |
msgstr "التاريخ" |
| 557 |
|
| 558 |
#. type: Plain text |
| 559 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 560 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 561 |
msgid "SVr4, POSIX.1-2001." |
| 562 |
msgstr "SVr4, POSIX.1-2001." |
| 563 |
|
| 564 |
#. type: SH |
| 565 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 566 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 567 |
#, no-wrap |
| 568 |
msgid "NOTES" |
| 569 |
msgstr "ملاحظات" |
| 570 |
|
| 571 |
#. type: Plain text |
| 572 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 573 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 574 |
msgid "" |
| 575 |
"Hash table implementations are usually more efficient when the table " |
| 576 |
"contains enough free space to minimize collisions. Typically, this means " |
| 577 |
"that I<nel> should be at least 25% larger than the maximum number of " |
| 578 |
"elements that the caller expects to store in the table." |
| 579 |
msgstr "" |
| 580 |
"تكون تطبيقات جداول التجزئة عادةً أكثر كفاءة عندما يحتوي الجدول على مساحة " |
| 581 |
"خالية كافية لتقليل التصادمات. عادةً، يعني هذا أن I<nel> يجب أن يكون أكبر " |
| 582 |
"بنسبة 25% على الأقل من الحد الأقصى لعدد العناصر التي يتوقع المتصل تخزينها في " |
| 583 |
"الجدول." |
| 584 |
|
| 585 |
#. type: Plain text |
| 586 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 587 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 588 |
msgid "" |
| 589 |
"The B<hdestroy>() and B<hdestroy_r>() functions do not free the buffers " |
| 590 |
"pointed to by the I<key> and I<data> elements of the hash table entries. " |
| 591 |
"(It can't do this because it doesn't know whether these buffers were " |
| 592 |
"allocated dynamically.) If these buffers need to be freed (perhaps because " |
| 593 |
"the program is repeatedly creating and destroying hash tables, rather than " |
| 594 |
"creating a single table whose lifetime matches that of the program), then " |
| 595 |
"the program must maintain bookkeeping data structures that allow it to free " |
| 596 |
"them." |
| 597 |
msgstr "" |
| 598 |
"لا تحرر الدالتان B<hdestroy>() و B<hdestroy_r>() المخازن المؤقتة المشار " |
| 599 |
"إليها بواسطة عنصري I<key> و I<data> في مدخلات جدول التجزئة. (لا تستطيع فعل " |
| 600 |
"ذلك لأنها لا تعرف ما إذا كانت هذه المخازن المؤقتة قد خُصصت ديناميكيًا.) إذا " |
| 601 |
"احتاجت هذه المخازن المؤقتة إلى التحرير (ربما لأن البرنامج ينشئ ويدمر جداول " |
| 602 |
"التجزئة بشكل متكرر، بدلاً من إنشاء جدول واحد يتطابق عمره مع عمر البرنامج)، " |
| 603 |
"فيجب على البرنامج الحفاظ على هياكل بيانات محاسبية تسمح له بتحريرها." |
| 604 |
|
| 605 |
#. type: SH |
| 606 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 607 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 608 |
#, no-wrap |
| 609 |
msgid "BUGS" |
| 610 |
msgstr "العلل" |
| 611 |
|
| 612 |
#. type: Plain text |
| 613 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 614 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 615 |
msgid "" |
| 616 |
"SVr4 and POSIX.1-2001 specify that I<action> is significant only for " |
| 617 |
"unsuccessful searches, so that an B<ENTER> should not do anything for a " |
| 618 |
"successful search. In libc and glibc (before glibc 2.3), the implementation " |
| 619 |
"violates the specification, updating the I<data> for the given I<key> in " |
| 620 |
"this case." |
| 621 |
msgstr "" |
| 622 |
"تحدد SVr4 و POSIX.1-2001 أن I<action> مهم فقط للبحث غير الناجح، بحيث لا " |
| 623 |
"ينبغي لـ B<ENTER> فعل أي شيء للبحث الناجح. في libc و glibc (قبل glibc 2.3)، " |
| 624 |
"يخالف التطبيق المواصفات، حيث يُحدّث I<data> للمفتاح I<key> المُعطى في هذه " |
| 625 |
"الحالة." |
| 626 |
|
| 627 |
#. type: Plain text |
| 628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
msgid "Individual hash table entries can be added, but not deleted." |
| 631 |
msgstr "يمكن إضافة مدخلات جدول التجزئة الفردية، ولكن لا يمكن حذفها." |
| 632 |
|
| 633 |
#. type: SH |
| 634 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 635 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 636 |
#, no-wrap |
| 637 |
msgid "EXAMPLES" |
| 638 |
msgstr "أمثلة" |
| 639 |
|
| 640 |
#. type: Plain text |
| 641 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 642 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 643 |
msgid "" |
| 644 |
"The following program inserts 24 items into a hash table, then prints some " |
| 645 |
"of them." |
| 646 |
msgstr "يُدرج البرنامج التالي 24 عنصرًا في جدول تجزئة، ثم يطبع بعضًا منها." |
| 647 |
|
| 648 |
#. type: Plain text |
| 649 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 650 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 651 |
#, no-wrap |
| 652 |
msgid "" |
| 653 |
"#include E<lt>search.hE<gt>\n" |
| 654 |
"#include E<lt>stdio.hE<gt>\n" |
| 655 |
"#include E<lt>stdlib.hE<gt>\n" |
| 656 |
"\\&\n" |
| 657 |
"static char *data[] = { \"alpha\", \"bravo\", \"charlie\", \"delta\",\n" |
| 658 |
" \"echo\", \"foxtrot\", \"golf\", \"hotel\", \"india\", \"juliet\",\n" |
| 659 |
" \"kilo\", \"lima\", \"mike\", \"november\", \"oscar\", \"papa\",\n" |
| 660 |
" \"quebec\", \"romeo\", \"sierra\", \"tango\", \"uniform\",\n" |
| 661 |
" \"victor\", \"whisky\", \"x-ray\", \"yankee\", \"zulu\"\n" |
| 662 |
"};\n" |
| 663 |
"\\&\n" |
| 664 |
"int\n" |
| 665 |
"main(void)\n" |
| 666 |
"{\n" |
| 667 |
" ENTRY e;\n" |
| 668 |
" ENTRY *ep;\n" |
| 669 |
"\\&\n" |
| 670 |
" hcreate(30);\n" |
| 671 |
"\\&\n" |
| 672 |
" for (size_t i = 0; i E<lt> 24; i++) {\n" |
| 673 |
" e.key = data[i];\n" |
| 674 |
" /* data is just an integer, instead of a\n" |
| 675 |
" pointer to something */\n" |
| 676 |
" e.data = (void *) i;\n" |
| 677 |
" ep = hsearch(e, ENTER);\n" |
| 678 |
" /* there should be no failures */\n" |
| 679 |
" if (ep == NULL) {\n" |
| 680 |
" fprintf(stderr, \"entry failed\\[rs]n\");\n" |
| 681 |
" exit(EXIT_FAILURE);\n" |
| 682 |
" }\n" |
| 683 |
" }\n" |
| 684 |
"\\&\n" |
| 685 |
" for (size_t i = 22; i E<lt> 26; i++) {\n" |
| 686 |
" /* print two entries from the table, and\n" |
| 687 |
" show that two are not in the table */\n" |
| 688 |
" e.key = data[i];\n" |
| 689 |
" ep = hsearch(e, FIND);\n" |
| 690 |
" printf(\"%9.9s -E<gt> %9.9s:%d\\[rs]n\", e.key,\n" |
| 691 |
" ep ? ep-E<gt>key : \"NULL\", ep ? (int) ep-E<gt>data : 0);\n" |
| 692 |
" }\n" |
| 693 |
" hdestroy();\n" |
| 694 |
" exit(EXIT_SUCCESS);\n" |
| 695 |
"}\n" |
| 696 |
msgstr "" |
| 697 |
"#include E<lt>search.hE<gt>\n" |
| 698 |
"#include E<lt>stdio.hE<gt>\n" |
| 699 |
"#include E<lt>stdlib.hE<gt>\n" |
| 700 |
"\\&\n" |
| 701 |
"static char *data[] = { \"alpha\", \"bravo\", \"charlie\", \"delta\",\n" |
| 702 |
" \"echo\", \"foxtrot\", \"golf\", \"hotel\", \"india\", \"juliet\",\n" |
| 703 |
" \"kilo\", \"lima\", \"mike\", \"november\", \"oscar\", \"papa\",\n" |
| 704 |
" \"quebec\", \"romeo\", \"sierra\", \"tango\", \"uniform\",\n" |
| 705 |
" \"victor\", \"whisky\", \"x-ray\", \"yankee\", \"zulu\"\n" |
| 706 |
"};\n" |
| 707 |
"\\&\n" |
| 708 |
"int\n" |
| 709 |
"main(void)\n" |
| 710 |
"{\n" |
| 711 |
" ENTRY e;\n" |
| 712 |
" ENTRY *ep;\n" |
| 713 |
"\\&\n" |
| 714 |
" hcreate(30);\n" |
| 715 |
"\\&\n" |
| 716 |
" for (size_t i = 0; i E<lt> 24; i++) {\n" |
| 717 |
" e.key = data[i];\n" |
| 718 |
" /* data is just an integer, instead of a\n" |
| 719 |
" pointer to something */\n" |
| 720 |
" e.data = (void *) i;\n" |
| 721 |
" ep = hsearch(e, ENTER);\n" |
| 722 |
" /* there should be no failures */\n" |
| 723 |
" if (ep == NULL) {\n" |
| 724 |
" fprintf(stderr, \"entry failed\\[rs]n\");\n" |
| 725 |
" exit(EXIT_FAILURE);\n" |
| 726 |
" }\n" |
| 727 |
" }\n" |
| 728 |
"\\&\n" |
| 729 |
" for (size_t i = 22; i E<lt> 26; i++) {\n" |
| 730 |
" /* print two entries from the table, and\n" |
| 731 |
" show that two are not in the table */\n" |
| 732 |
" e.key = data[i];\n" |
| 733 |
" ep = hsearch(e, FIND);\n" |
| 734 |
" printf(\"%9.9s -E<gt> %9.9s:%d\\[rs]n\", e.key,\n" |
| 735 |
" ep ? ep-E<gt>key : \"NULL\", ep ? (int) ep-E<gt>data : 0);\n" |
| 736 |
" }\n" |
| 737 |
" hdestroy();\n" |
| 738 |
" exit(EXIT_SUCCESS);\n" |
| 739 |
"}\n" |
| 740 |
|
| 741 |
#. SRC END |
| 742 |
#. type: SH |
| 743 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 744 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 745 |
#, no-wrap |
| 746 |
msgid "SEE ALSO" |
| 747 |
msgstr "انظر أيضًا" |
| 748 |
|
| 749 |
#. type: Plain text |
| 750 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 751 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 752 |
msgid "B<bsearch>(3), B<lsearch>(3), B<malloc>(3), B<tsearch>(3)" |
| 753 |
msgstr "B<bsearch>(3)، B<lsearch>(3)، B<malloc>(3)، B<tsearch>(3)" |
| 754 |
|
| 755 |
#. type: TH |
| 756 |
#: debian-trixie |
| 757 |
#, no-wrap |
| 758 |
msgid "2024-06-15" |
| 759 |
msgstr "15 يونيو 2024" |
| 760 |
|
| 761 |
#. type: TH |
| 762 |
#: debian-trixie |
| 763 |
#, no-wrap |
| 764 |
msgid "Linux man-pages 6.9.1" |
| 765 |
msgstr "صفحات دليل لينكس 6.9.1" |
| 766 |
|
| 767 |
#. type: Plain text |
| 768 |
#: debian-trixie |
| 769 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 770 |
msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)" |
| 771 |
|
| 772 |
#. type: Plain text |
| 773 |
#: debian-trixie |
| 774 |
#, no-wrap |
| 775 |
msgid "" |
| 776 |
"#include E<lt>search.hE<gt>\n" |
| 777 |
"#include E<lt>stdio.hE<gt>\n" |
| 778 |
"#include E<lt>stdlib.hE<gt>\n" |
| 779 |
"\\&\n" |
| 780 |
"static char *data[] = { \"alpha\", \"bravo\", \"charlie\", \"delta\",\n" |
| 781 |
" \"echo\", \"foxtrot\", \"golf\", \"hotel\", \"india\", \"juliet\",\n" |
| 782 |
" \"kilo\", \"lima\", \"mike\", \"november\", \"oscar\", \"papa\",\n" |
| 783 |
" \"quebec\", \"romeo\", \"sierra\", \"tango\", \"uniform\",\n" |
| 784 |
" \"victor\", \"whisky\", \"x-ray\", \"yankee\", \"zulu\"\n" |
| 785 |
"};\n" |
| 786 |
"\\&\n" |
| 787 |
"int\n" |
| 788 |
"main(void)\n" |
| 789 |
"{\n" |
| 790 |
" ENTRY e;\n" |
| 791 |
" ENTRY *ep;\n" |
| 792 |
"\\&\n" |
| 793 |
" hcreate(30);\n" |
| 794 |
"\\&\n" |
| 795 |
" for (size_t i = 0; i E<lt> 24; i++) {\n" |
| 796 |
" e.key = data[i];\n" |
| 797 |
" /* data is just an integer, instead of a\n" |
| 798 |
" pointer to something */\n" |
| 799 |
" e.data = (void *) i;\n" |
| 800 |
" ep = hsearch(e, ENTER);\n" |
| 801 |
" /* there should be no failures */\n" |
| 802 |
" if (ep == NULL) {\n" |
| 803 |
" fprintf(stderr, \"entry failed\\[rs]n\");\n" |
| 804 |
" exit(EXIT_FAILURE);\n" |
| 805 |
" }\n" |
| 806 |
" }\n" |
| 807 |
"\\&\n" |
| 808 |
" for (size_t i = 22; i E<lt> 26; i++) {\n" |
| 809 |
" /* print two entries from the table, and\n" |
| 810 |
" show that two are not in the table */\n" |
| 811 |
" e.key = data[i];\n" |
| 812 |
" ep = hsearch(e, FIND);\n" |
| 813 |
" printf(\"%9.9s -E<gt> %9.9s:%d\\[rs]n\", e.key,\n" |
| 814 |
" ep ? ep-E<gt>key : \"NULL\", ep ? (int)(ep-E<gt>data) : 0);\n" |
| 815 |
" }\n" |
| 816 |
" hdestroy();\n" |
| 817 |
" exit(EXIT_SUCCESS);\n" |
| 818 |
"}\n" |
| 819 |
msgstr "" |
| 820 |
"#include E<lt>search.hE<gt>\n" |
| 821 |
"#include E<lt>stdio.hE<gt>\n" |
| 822 |
"#include E<lt>stdlib.hE<gt>\n" |
| 823 |
"\\&\n" |
| 824 |
"static char *data[] = { \"alpha\", \"bravo\", \"charlie\", \"delta\",\n" |
| 825 |
" \"echo\", \"foxtrot\", \"golf\", \"hotel\", \"india\", \"juliet\",\n" |
| 826 |
" \"kilo\", \"lima\", \"mike\", \"november\", \"oscar\", \"papa\",\n" |
| 827 |
" \"quebec\", \"romeo\", \"sierra\", \"tango\", \"uniform\",\n" |
| 828 |
" \"victor\", \"whisky\", \"x-ray\", \"yankee\", \"zulu\"\n" |
| 829 |
"};\n" |
| 830 |
"\\&\n" |
| 831 |
"int\n" |
| 832 |
"main(void)\n" |
| 833 |
"{\n" |
| 834 |
" ENTRY e;\n" |
| 835 |
" ENTRY *ep;\n" |
| 836 |
"\\&\n" |
| 837 |
" hcreate(30);\n" |
| 838 |
"\\&\n" |
| 839 |
" for (size_t i = 0; i E<lt> 24; i++) {\n" |
| 840 |
" e.key = data[i];\n" |
| 841 |
" /* data is just an integer, instead of a\n" |
| 842 |
" pointer to something */\n" |
| 843 |
" e.data = (void *) i;\n" |
| 844 |
" ep = hsearch(e, ENTER);\n" |
| 845 |
" /* there should be no failures */\n" |
| 846 |
" if (ep == NULL) {\n" |
| 847 |
" fprintf(stderr, \"entry failed\\[rs]n\");\n" |
| 848 |
" exit(EXIT_FAILURE);\n" |
| 849 |
" }\n" |
| 850 |
" }\n" |
| 851 |
"\\&\n" |
| 852 |
" for (size_t i = 22; i E<lt> 26; i++) {\n" |
| 853 |
" /* print two entries from the table, and\n" |
| 854 |
" show that two are not in the table */\n" |
| 855 |
" e.key = data[i];\n" |
| 856 |
" ep = hsearch(e, FIND);\n" |
| 857 |
" printf(\"%9.9s -E<gt> %9.9s:%d\\[rs]n\", e.key,\n" |
| 858 |
" ep ? ep-E<gt>key : \"NULL\", ep ? (int)(ep-E<gt>data) : 0);\n" |
| 859 |
" }\n" |
| 860 |
" hdestroy();\n" |
| 861 |
" exit(EXIT_SUCCESS);\n" |
| 862 |
"}\n" |
| 863 |
|
| 864 |
#. type: TH |
| 865 |
#: fedora-44 fedora-rawhide |
| 866 |
#, no-wrap |
| 867 |
msgid "2025-01-05" |
| 868 |
msgstr "5 يناير 2025" |
| 869 |
|
| 870 |
#. type: TH |
| 871 |
#: fedora-44 fedora-rawhide |
| 872 |
#, no-wrap |
| 873 |
msgid "Linux man-pages 6.13" |
| 874 |
msgstr "صفحات دليل لينكس 6.13" |
| 875 |
|
| 876 |
#. type: TH |
| 877 |
#: mageia-cauldron |
| 878 |
#, no-wrap |
| 879 |
msgid "Linux man-pages 6.17" |
| 880 |
msgstr "صفحات دليل لينكس 6.17" |
| 881 |
|
| 882 |
#. type: TH |
| 883 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 884 |
#, no-wrap |
| 885 |
msgid "Linux man-pages (unreleased)" |
| 886 |
msgstr "صفحات دليل لينكس (لم تصدر بعد)" |