Debian Codegraph @

po/ar/man3/readdir.3.po

raw
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
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n 4.30.2\n"
9 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
10 "PO-Revision-Date: 2026-06-06 08:58+0400\n"
11 "Last-Translator: Zayed Al-Saidi <[email protected]>\n"
12 "Language-Team: Arabic <[email protected]>\n"
13 "Language: ar\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 &&"
18 " n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n"
19 "X-Generator: Lokalize 23.08.5\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "readdir"
26 msgstr "readdir"
27
28 #. type: TH
29 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
30 #: opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-08"
33 msgstr "8 فبراير 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, no-wrap
38 msgid "Linux man-pages 6.18"
39 msgstr "صفحات دليل لينكس 6.18"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "الاسم"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "readdir - read a directory"
52 msgstr "readdir - قراءة دليل"
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 "B<#include E<lt>dirent.hE<gt>>\n"
79 msgstr "B<#include E<lt>dirent.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n"
86 msgstr "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n"
87
88 #. type: SH
89 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
90 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
91 #, no-wrap
92 msgid "DESCRIPTION"
93 msgstr "الوصف"
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 msgid ""
99 "The B<readdir>() function returns a pointer to a I<dirent> structure "
100 "representing the next directory entry in the directory stream pointed to by "
101 "I<dirp>. It returns NULL on reaching the end of the directory stream or if "
102 "an error occurred."
103 msgstr ""
104 "ترجع الدالة B<readdir>() مؤشرًا إلى بنية I<dirent> تمثل إدخال الدليل التالي "
105 "في دفق الدليل المشار إليه بواسطة I<dirp>. وترجع NULL عند الوصول إلى نهاية "
106 "دفق الدليل أو في حالة حدوث خطأ."
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "In the glibc implementation, the I<dirent> structure is defined as follows:"
113 msgstr "في تطبيق glibc، تُعرف بنية I<dirent> كما يلي:"
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 #, no-wrap
119 msgid ""
120 "struct dirent {\n"
121 " ino_t d_ino; /* Inode number */\n"
122 " off_t d_off; /* Not an offset; see below */\n"
123 " unsigned short d_reclen; /* Length of this record */\n"
124 " unsigned char d_type; /* Type of file; not supported\n"
125 " by all filesystem types */\n"
126 " char d_name[256]; /* Null-terminated filename */\n"
127 "};\n"
128 msgstr ""
129 "struct dirent {\n"
130 " ino_t d_ino; /* رقم العقدة */\n"
131 " off_t d_off; /* ليس إزاحة انظر في الأسفل */\n"
132 " unsigned short d_reclen; /* طول هذا السجل */\n"
133 " unsigned char d_type; /* نوع الملف؛ غير متاح\n"
134 " على على أنظمة الملفات*/\n"
135 " char d_name[256]; /* اسم ملف منتهي بnull */\n"
136 "};\n"
137
138 #. type: Plain text
139 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
140 #: opensuse-tumbleweed
141 msgid ""
142 "The only fields in the I<dirent> structure that are mandated by POSIX.1 are "
143 "I<.d_name> and I<.d_ino>. The other fields are unstandardized, and not "
144 "present on all systems; see VERSIONS."
145 msgstr ""
146 "الحقول الوحيدة في بنية I<dirent> التي يفرضها POSIX.1 هي I<.d_name> و I<."
147 "d_ino>. الحقول الأخرى غير معيارية، وغير موجودة في جميع الأنظمة؛ انظر "
148 "VERSIONS."
149
150 #. type: Plain text
151 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
152 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
153 msgid "The fields of the I<dirent> structure are as follows:"
154 msgstr "حقول بنية I<dirent> هي كما يلي:"
155
156 #. type: TP
157 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
158 #: opensuse-tumbleweed
159 #, no-wrap
160 msgid "I<.d_ino>"
161 msgstr "I<.d_ino>"
162
163 #. type: Plain text
164 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
165 #: opensuse-tumbleweed
166 msgid ""
167 "This is the inode number of the file in the filesystem containing the "
168 "directory on which B<readdir>() was called. If the directory entry is a "
169 "mount point, then I<.d_ino> differs from I<.st_ino> returned by B<stat>(2) "
170 "on this file: I<.d_ino> is the inode number of the mount point, while I<."
171 "st_ino> is the inode number of the root directory of the mounted filesystem."
172 msgstr ""
173 "هذا هو رقم inode للملف في نظام الملفات الذي يحتوي على الدليل الذي استُدعيت "
174 "عليه B<readdir>(). إذا كان إدخال الدليل نقطة وصل، فإن I<.d_ino> يختلف عن I<."
175 "st_ino> الذي ترجعه B<stat>(2) على هذا الملف: I<.d_ino> هو رقم inode لنقطة "
176 "الوصل، بينما I<.st_ino> هو رقم inode للدليل الجذر لنظام الملفات الموصول."
177
178 #. type: TP
179 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
180 #: opensuse-tumbleweed
181 #, no-wrap
182 msgid "I<.d_off>"
183 msgstr "I<.d_off>"
184
185 #. https://lwn.net/Articles/544298/
186 #. type: Plain text
187 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
188 #: opensuse-tumbleweed
189 msgid ""
190 "The value returned in I<.d_off> is the same as would be returned by calling "
191 "B<telldir>(3) at the current position in the directory stream. Be aware "
192 "that despite its type and name, the I<.d_off> field is seldom any kind of "
193 "directory offset on modern filesystems. Applications should treat this "
194 "field as an opaque value, making no assumptions about its contents; see also "
195 "B<telldir>(3)."
196 msgstr ""
197 "القيمة المرجعة في I<.d_off> هي نفسها التي سترجعها استدعاء B<telldir>(3) في "
198 "الموضع الحالي في دفق الدليل. كن على علم أنه على الرغم من نوعه واسمه، فإن حقل "
199 "I<.d_off> نادرًا ما يكون أي نوع من إزاحة الدليل في أنظمة الملفات الحديثة. يجب "
200 "على التطبيقات معاملة هذا الحقل كقيمة غير شفافة، دون افتراضات حول محتوياته؛ "
201 "انظر أيضًا B<telldir>(3)."
202
203 #. type: TP
204 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
205 #: opensuse-tumbleweed
206 #, no-wrap
207 msgid "I<.d_reclen>"
208 msgstr "I<.d_reclen>"
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 ""
214 "This is the size (in bytes) of the returned record. This may not match the "
215 "size of the structure definition shown above; see VERSIONS."
216 msgstr ""
217 "هذا هو حجم (بالبايت) السجل المرتجع. قد لا يتطابق هذا مع حجم تعريف البنية "
218 "الموضح أعلاه؛ انظر VERSIONS."
219
220 #. type: TP
221 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
222 #: opensuse-tumbleweed
223 #, no-wrap
224 msgid "I<.d_type>"
225 msgstr "I<.d_type>"
226
227 #. type: Plain text
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 msgid ""
231 "This field contains a value indicating the file type, making it possible to "
232 "avoid the expense of calling B<lstat>(2) if further actions depend on the "
233 "type of the file."
234 msgstr ""
235 "يحتوي هذا الحقل على قيمة تشير إلى نوع الملف، مما يجعل من الممكن تجنب تكلفة "
236 "استدعاء B<lstat>(2) إذا كانت الإجراءات الإضافية تعتمد على نوع الملف."
237
238 #. type: Plain text
239 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
240 #: opensuse-tumbleweed
241 msgid ""
242 "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since "
243 "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the "
244 "following macro constants for the value returned in I<.d_type>:"
245 msgstr ""
246 "عند تعريف ماكرو اختبار ميزة مناسب (B<_DEFAULT_SOURCE> منذ glibc 2.19، أو "
247 "B<_BSD_SOURCE> على glibc 2.19 والإصدارات الأقدم)، يعرف glibc الثوابت الماكرو "
248 "التالية للقيمة المرجعة في I<.d_type>:"
249
250 #. type: TP
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 #, no-wrap
254 msgid "B<DT_BLK>"
255 msgstr "B<DT_BLK>"
256
257 #. type: Plain text
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 msgid "This is a block device."
261 msgstr "هذا جهاز كتلي."
262
263 #. type: TP
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, no-wrap
267 msgid "B<DT_CHR>"
268 msgstr "B<DT_CHR>"
269
270 #. type: Plain text
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 msgid "This is a character device."
274 msgstr "هذا جهاز محرفي."
275
276 #. type: TP
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "B<DT_DIR>"
281 msgstr "B<DT_DIR>"
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 msgid "This is a directory."
287 msgstr "هذا دليل."
288
289 #. type: TP
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, no-wrap
293 msgid "B<DT_FIFO>"
294 msgstr "B<DT_FIFO>"
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 "This is a named pipe (FIFO)."
300 msgstr "هذا أنبوب مسمى (FIFO)."
301
302 #. type: TP
303 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
304 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
305 #, no-wrap
306 msgid "B<DT_LNK>"
307 msgstr "B<DT_LNK>"
308
309 #. type: Plain text
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 msgid "This is a symbolic link."
313 msgstr "هذا رابط رمزي."
314
315 #. type: TP
316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
317 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
318 #, no-wrap
319 msgid "B<DT_REG>"
320 msgstr "B<DT_REG>"
321
322 #. type: Plain text
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 msgid "This is a regular file."
326 msgstr "هذا ملف عادي."
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<DT_SOCK>"
333 msgstr "B<DT_SOCK>"
334
335 #. type: Plain text
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 msgid "This is a UNIX domain socket."
339 msgstr "هذا مقبس نطاق UNIX."
340
341 #. type: TP
342 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
343 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
344 #, no-wrap
345 msgid "B<DT_UNKNOWN>"
346 msgstr "B<DT_UNKNOWN>"
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 msgid "The file type could not be determined."
352 msgstr "لم يمكن تحديد نوع الملف."
353
354 #. kernel 2.6.27
355 #. The same sentence is in getdents.2
356 #. type: Plain text
357 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
358 #: opensuse-tumbleweed
359 msgid ""
360 "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) "
361 "have full support for returning the file type in I<.d_type>. All "
362 "applications must properly handle a return of B<DT_UNKNOWN>."
363 msgstr ""
364 "حاليًا، فقط بعض أنظمة الملفات (من بينها: Btrfs، ext2، ext3، و ext4) لديها دعم "
365 "كامل لإرجاع نوع الملف في I<.d_type>. يجب على جميع التطبيقات معالجة إرجاع "
366 "B<DT_UNKNOWN> بشكل صحيح."
367
368 #. type: TP
369 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
370 #: opensuse-tumbleweed
371 #, no-wrap
372 msgid "I<.d_name>"
373 msgstr "I<.d_name>"
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 "This field contains the null terminated filename; see VERSIONS."
379 msgstr "يحتوي هذا الحقل على اسم الملف المنتهي بقيمة فارغة؛ انظر VERSIONS."
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 msgid ""
385 "The data returned by B<readdir>() may be overwritten by subsequent calls to "
386 "B<readdir>() for the same directory stream."
387 msgstr ""
388 "البيانات التي تُرجعها B<readdir>() قد تُستبدل باستدعاءات لاحقة لـ B<readdir"
389 ">() "
390 "لنفس دفق الدليل."
391
392 #. type: SH
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, no-wrap
396 msgid "RETURN VALUE"
397 msgstr "قيمة الإرجاع"
398
399 #. type: Plain text
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 msgid ""
403 "On success, B<readdir>() returns a pointer to a I<dirent> structure. (This "
404 "structure may be statically allocated; do not attempt to B<free>(3) it.)"
405 msgstr ""
406 "عند النجاح، تُرجع B<readdir()> مؤشرًا إلى بنية I<dirent>. (قد تُخصص هذه"
407 " البنية "
408 "بشكل ثابت؛ لا تحاول تحريرها بـ B<free>(3).)"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 msgid ""
414 "If the end of the directory stream is reached, NULL is returned and I<errno> "
415 "is not changed. If an error occurs, NULL is returned and I<errno> is set to "
416 "indicate the error. To distinguish end of stream from an error, set "
417 "I<errno> to zero before calling B<readdir>() and then check the value of "
418 "I<errno> if NULL is returned."
419 msgstr ""
420 "إذا وُصلت نهاية دفق الدليل، يُرجع NULL ولا يُغير I<errno>. إذا حدث خطأ، يُرجع "
421 "NULL ويُضبط I<errno> للإشارة إلى الخطأ. للتمييز بين نهاية الدفق والخطأ، اضبط "
422 "I<errno> على الصفر قبل استدعاء B<readdir>() ثم تحقق من قيمة I<errno> إذا "
423 "أُرجع NULL."
424
425 #. type: SH
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "ERRORS"
430 msgstr "الأخطاء"
431
432 #. type: TP
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 #, no-wrap
436 msgid "B<EBADF>"
437 msgstr "B<EBADF>"
438
439 #. type: Plain text
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 msgid "Invalid directory stream descriptor I<dirp>."
443 msgstr "واصف تدفق دليل I<dirp> غير صالح."
444
445 #. type: SH
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "ATTRIBUTES"
450 msgstr "السمات"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid ""
456 "For an explanation of the terms used in this section, see B<attributes>(7)."
457 msgstr ""
458 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
459
460 #. type: tbl table
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 #, no-wrap
464 msgid "Interface"
465 msgstr "الواجهة"
466
467 #. type: tbl table
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 #, no-wrap
471 msgid "Attribute"
472 msgstr "السمة"
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 "Value"
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 ".na\n"
486 msgstr ".na\n"
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 ".nh\n"
493 msgstr ".nh\n"
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 "B<readdir>()"
500 msgstr "B<readdir>()"
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 "Thread safety"
507 msgstr "سلامة الخيوط"
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 "MT-Unsafe race:dirstream"
514 msgstr "MT-Unsafe race:dirstream"
515
516 #. FIXME .
517 #. http://www.austingroupbugs.net/view.php?id=696
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 ""
522 "In the current POSIX.1 specification (POSIX.1-2008), B<readdir>() is not "
523 "required to be thread-safe. However, in modern implementations (including "
524 "the glibc implementation), concurrent calls to B<readdir>() that specify "
525 "different directory streams are thread-safe. In cases where multiple "
526 "threads must read from the same directory stream, using B<readdir>() with "
527 "external synchronization is still preferable to the use of the deprecated "
528 "B<readdir_r>(3) function. It is expected that a future version of POSIX.1 "
529 "will require that B<readdir>() be thread-safe when concurrently employed on "
530 "different directory streams."
531 msgstr ""
532 "في مواصفات POSIX.1 الحالية (POSIX.1-2008)، لا يُطلب من B<readdir>() أن يكون "
533 "آمن الخيوط. ومع ذلك، في التطبيقات الحديثة (بما في ذلك تطبيق glibc)، تكون "
534 "الاستدعاءات المتزامنة لـ B<readdir>() التي تحدد تدفقات دليل مختلفة آمنة "
535 "الخيوط. في الحالات التي يجب أن تقرأ فيها خيوط متعددة من نفس دفق الدليل، لا "
536 "يزال استخدام B<readdir>() مع مزامنة خارجية أفضل من استخدام الدالة المُهملة "
537 "B<readdir_r>(3). يُتوقع أن تتطلب نسخة مستقبلية من POSIX.1 أن يكون "
538 "B<readdir>() آمن الخيوط عند استخدامه بالتزامن على تدفقات دليل مختلفة."
539
540 #. type: SH
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 #, no-wrap
544 msgid "VERSIONS"
545 msgstr "الإصدارات"
546
547 #. POSIX.1-2001, POSIX.1-2008
548 #. type: Plain text
549 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
550 #: opensuse-tumbleweed
551 msgid ""
552 "Only the fields I<.d_name> and (as an XSI extension) I<.d_ino> are "
553 "specified in POSIX.1. Other than Linux, the I<.d_type> field is available "
554 "mainly only on BSD systems. The remaining fields are available on many, but "
555 "not all systems. Under glibc, programs can check for the availability of "
556 "the fields not defined in POSIX.1 by testing whether the macros "
557 "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, "
558 "or B<_DIRENT_HAVE_D_TYPE> are defined."
559 msgstr ""
560 "فقط الحقول I<.d_name> و (كإضافة XSI) I<.d_ino> مُحددة في POSIX.1. بخلاف "
561 "Linux، الحقل I<.d_type> متاح بشكل رئيسي فقط على أنظمة BSD. الحقول المتبقية "
562 "متاحة على العديد من الأنظمة، ولكن ليس كلها. تحت glibc، يمكن للبرامج التحقق "
563 "من توفر الحقول غير المُعرفة في POSIX.1 باختبار ما إذا كانت الماكرو "
564 "B<_DIRENT_HAVE_D_NAMLEN> أو B<_DIRENT_HAVE_D_RECLEN> أو "
565 "B<_DIRENT_HAVE_D_OFF> أو B<_DIRENT_HAVE_D_TYPE> مُعرفة."
566
567 #. type: SS
568 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
569 #: opensuse-tumbleweed
570 #, no-wrap
571 msgid "The \\f[I].d_name\\fB field"
572 msgstr "الحقل \\f[I].d_name\\fB"
573
574 #. type: Plain text
575 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
576 #: opensuse-tumbleweed
577 msgid ""
578 "The I<dirent> structure definition shown above is taken from the glibc "
579 "headers, and shows the I<.d_name> field with a fixed size."
580 msgstr ""
581 "تعريف بنية I<dirent> الموضح أعلاه مأخوذ من رؤوس glibc، ويُظهر الحقل I<."
582 "d_name> بحجم ثابت."
583
584 #. type: Plain text
585 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
586 #: opensuse-tumbleweed
587 msgid ""
588 "I<Warning>: applications should avoid any dependence on the size of the I<."
589 "d_name> field. POSIX defines it as I<char\\ d_name[]>, a character array of "
590 "unspecified size, with at most B<NAME_MAX> characters preceding the "
591 "terminating null byte (\\[aq]\\[rs]0\\[aq])."
592 msgstr ""
593 "I<تحذير>: يجب على التطبيقات تجنب أي اعتماد على حجم الحقل I<.d_name>. يُعرفه "
594 "POSIX كـ I<char\\ d_name[]>، مصفوفة محارف بحجم غير محدد، مع B<NAME_MAX> حرفًا "
595 "على الأكثر قبل البايت الصفري الختامي (\\[aq]\\[rs]0\\[aq])."
596
597 #. type: Plain text
598 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
599 #: opensuse-tumbleweed
600 #| msgid ""
601 #| "POSIX.1 explicitly notes that this field should not be used as an "
602 #| "lvalue. The standard also notes that the use of I<sizeof(.d_name)> is "
603 #| "incorrect; use I<strlen(.d_name)> instead. (On some systems, this field "
604 #| "is defined as I<char\\~d_name[1]>!) By implication, the use "
605 #| "I<sizeof(struct dirent)> to capture the size of the record including the "
606 #| "size of I<.d_name> is also incorrect."
607 msgid ""
608 "POSIX.1 explicitly notes that this field should not be used as an lvalue. "
609 "The standard also notes that the use of I<sizeof(.d_name)> is incorrect; use "
610 "I<strlen(.d_name)> instead. (On some systems, this field is defined as "
611 "I<char\\ d_name[1]>!) By implication, the use I<sizeof(struct dirent)> to "
612 "capture the size of the record including the size of I<.d_name> is also "
613 "incorrect."
614 msgstr ""
615 "يُشير POSIX.1 صراحةً إلى أن هذا الحقل لا ينبغي استخدامه كقيمة يسارية. يُلاحظ "
616 "المعيار أيضًا أن استخدام I<sizeof(.d_name)> غير صحيح؛ استخدم I<strlen(."
617 "d_name)> بدلاً من ذلك. (على بعض الأنظمة، يُعرف هذا الحقل كـ "
618 "I<char\\ d_name[1]>!) بالتبعية، استخدام I<sizeof(struct dirent)> لالتقاط حجم "
619 "السجل بما في ذلك حجم I<.d_name> غير صحيح أيضًا."
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid "Note that while the call"
625 msgstr "لاحظ أنه بينما الاستدعاء"
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 #, no-wrap
631 msgid "fpathconf(fd, _PC_NAME_MAX)\n"
632 msgstr "fpathconf(fd, _PC_NAME_MAX)\n"
633
634 #. type: Plain text
635 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
636 #: opensuse-tumbleweed
637 msgid ""
638 "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, "
639 "Windows SMB servers), the null-terminated filename that is (correctly) "
640 "returned in I<.d_name> can actually exceed this size. In such cases, the I<."
641 "d_reclen> field will contain a value that exceeds the size of the glibc "
642 "I<dirent> structure shown above."
643 msgstr ""
644 "يُرجع القيمة 255 لمعظم أنظمة الملفات، على بعض أنظمة الملفات (مثل CIFS، خوادم "
645 "Windows SMB)، اسم الملف المنتهي بصفر الذي يُرجع (بشكل صحيح) في I<.d_name> "
646 "يمكن أن يتجاوز هذا الحجم فعليًا. في مثل هذه الحالات، سيحتوي الحقل I<."
647 "d_reclen> على قيمة تتجاوز حجم بنية glibc I<dirent> الموضحة أعلاه."
648
649 #. type: SH
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 #, no-wrap
653 msgid "STANDARDS"
654 msgstr "المعايير"
655
656 #. type: Plain text
657 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
658 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
659 msgid "POSIX.1-2008."
660 msgstr "POSIX.1-2008."
661
662 #. type: SH
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
665 #, no-wrap
666 msgid "HISTORY"
667 msgstr "التاريخ"
668
669 #. type: Plain text
670 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
671 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
672 msgid "POSIX.1-2001, SVr4, 4.3BSD."
673 msgstr "POSIX.1-2001، SVr4، 4.3BSD."
674
675 #. type: SH
676 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
677 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
678 #, no-wrap
679 msgid "NOTES"
680 msgstr "ملاحظات"
681
682 #. type: Plain text
683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
685 msgid "A directory stream is opened using B<opendir>(3)."
686 msgstr "يُفتح دفق الدليل باستخدام B<opendir>(3)."
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
691 msgid ""
692 "The order in which filenames are read by successive calls to B<readdir>() "
693 "depends on the filesystem implementation; it is unlikely that the names will "
694 "be sorted in any fashion."
695 msgstr ""
696 "الترتيب الذي تُقرأ به أسماء الملفات باستدعاءات متتالية لـ B<readdir>() يعتمد "
697 "على تطبيق نظام الملفات؛ من غير المحتمل أن تُرتب الأسماء بأي شكل."
698
699 #. type: SH
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 #, no-wrap
703 msgid "SEE ALSO"
704 msgstr "انظر أيضًا"
705
706 #. type: Plain text
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 msgid ""
710 "B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), "
711 "B<offsetof>(3), B<opendir>(3), B<readdir_r>(3), B<rewinddir>(3), "
712 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
713 msgstr ""
714 "B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), "
715 "B<offsetof>(3), B<opendir>(3), B<readdir_r>(3), B<rewinddir>(3), "
716 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
717
718 #. type: TH
719 #: debian-trixie
720 #, no-wrap
721 msgid "2024-06-16"
722 msgstr "16 يونيو 2024"
723
724 #. type: TH
725 #: debian-trixie
726 #, no-wrap
727 msgid "Linux man-pages 6.9.1"
728 msgstr "صفحات دليل لينكس 6.9.1"
729
730 #. type: Plain text
731 #: debian-trixie
732 msgid "Standard C library (I<libc>, I<-lc>)"
733 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
734
735 #. type: Plain text
736 #: debian-trixie fedora-44 fedora-rawhide
737 msgid ""
738 "The only fields in the I<dirent> structure that are mandated by POSIX.1 are "
739 "I<d_name> and I<d_ino>. The other fields are unstandardized, and not "
740 "present on all systems; see VERSIONS."
741 msgstr ""
742 "الحقول الوحيدة في بنية I<dirent> التي تُلزم بها POSIX.1 هي I<d_name> و "
743 "I<d_ino>. الحقول الأخرى غير موحدة، وغير موجودة على جميع الأنظمة؛ انظر "
744 "VERSIONS."
745
746 #. type: TP
747 #: debian-trixie fedora-44 fedora-rawhide
748 #, no-wrap
749 msgid "I<d_ino>"
750 msgstr "I<d_ino>"
751
752 #. type: Plain text
753 #: debian-trixie fedora-44 fedora-rawhide
754 msgid "This is the inode number of the file."
755 msgstr "هذا هو رقم inode للملف."
756
757 #. type: TP
758 #: debian-trixie fedora-44 fedora-rawhide
759 #, no-wrap
760 msgid "I<d_off>"
761 msgstr "I<d_off>"
762
763 #. https://lwn.net/Articles/544298/
764 #. type: Plain text
765 #: debian-trixie fedora-44 fedora-rawhide
766 msgid ""
767 "The value returned in I<d_off> is the same as would be returned by calling "
768 "B<telldir>(3) at the current position in the directory stream. Be aware "
769 "that despite its type and name, the I<d_off> field is seldom any kind of "
770 "directory offset on modern filesystems. Applications should treat this "
771 "field as an opaque value, making no assumptions about its contents; see also "
772 "B<telldir>(3)."
773 msgstr ""
774 "القيمة المُرجَعة في I<d_off> هي نفس القيمة التي سترجعها استدعاء B<telldir>(3) "
775 "في الموضع الحالي في دفق الدليل. انتبه أنه على الرغم من نوعه واسمه، نادرًا ما "
776 "يكون حقل I<d_off> أي نوع من إزاحة الدليل في أنظمة الملفات الحديثة. يجب على "
777 "التطبيقات معاملة هذا الحقل كقيمة غير شفافة، دون افتراض أي شيء عن محتوياته؛ "
778 "انظر أيضًا B<telldir>(3)."
779
780 #. type: TP
781 #: debian-trixie fedora-44 fedora-rawhide
782 #, no-wrap
783 msgid "I<d_reclen>"
784 msgstr "I<d_reclen>"
785
786 #. type: TP
787 #: debian-trixie fedora-44 fedora-rawhide
788 #, no-wrap
789 msgid "I<d_type>"
790 msgstr "I<d_type>"
791
792 #. type: Plain text
793 #: debian-trixie fedora-44 fedora-rawhide
794 msgid ""
795 "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since "
796 "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the "
797 "following macro constants for the value returned in I<d_type>:"
798 msgstr ""
799 "عند تعريف كلي اختبار ميزة مناسب (B<_DEFAULT_SOURCE> منذ glibc 2.19، أو "
800 "B<_BSD_SOURCE> على glibc 2.19 وما قبله)، يُعرّف glibc الثوابت الكلية التالية "
801 "للقيمة المُرجَعة في I<d_type>:"
802
803 #. kernel 2.6.27
804 #. The same sentence is in getdents.2
805 #. type: Plain text
806 #: debian-trixie fedora-44 fedora-rawhide
807 msgid ""
808 "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) "
809 "have full support for returning the file type in I<d_type>. All "
810 "applications must properly handle a return of B<DT_UNKNOWN>."
811 msgstr ""
812 "حاليًا، بعض أنظمة الملفات فقط (من بينها: Btrfs، و ext2، و ext3، و ext4) لديها "
813 "دعم كامل لإعادة نوع الملف في I<d_type>. يجب على جميع التطبيقات التعامل بشكل "
814 "صحيح مع عودة B<DT_UNKNOWN>."
815
816 #. type: TP
817 #: debian-trixie fedora-44 fedora-rawhide
818 #, no-wrap
819 msgid "I<d_name>"
820 msgstr "I<d_name>"
821
822 #. POSIX.1-2001, POSIX.1-2008
823 #. type: Plain text
824 #: debian-trixie fedora-44 fedora-rawhide
825 msgid ""
826 "Only the fields I<d_name> and (as an XSI extension) I<d_ino> are specified "
827 "in POSIX.1. Other than Linux, the I<d_type> field is available mainly only "
828 "on BSD systems. The remaining fields are available on many, but not all "
829 "systems. Under glibc, programs can check for the availability of the fields "
830 "not defined in POSIX.1 by testing whether the macros "
831 "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, "
832 "or B<_DIRENT_HAVE_D_TYPE> are defined."
833 msgstr ""
834 "فقط الحقول I<d_name> و (كإضافة XSI) I<d_ino> مُحددة في POSIX.1. بخلاف Linux، "
835 "حقل I<d_type> متاح بشكل رئيسي فقط على أنظمة BSD. الحقول المتبقية متاحة على "
836 "العديد من الأنظمة، ولكن ليس كلها. تحت glibc، يمكن للبرامج التحقق من توفر "
837 "الحقول غير المعرفة في POSIX.1 باختبار ما إذا كانت الكليات "
838 "B<_DIRENT_HAVE_D_NAMLEN>، B<_DIRENT_HAVE_D_RECLEN>، B<_DIRENT_HAVE_D_OFF>، "
839 "أو B<_DIRENT_HAVE_D_TYPE> مُعرّفة."
840
841 #. type: SS
842 #: debian-trixie fedora-44 fedora-rawhide
843 #, no-wrap
844 msgid "The d_name field"
845 msgstr "حقل d_name"
846
847 #. type: Plain text
848 #: debian-trixie fedora-44 fedora-rawhide
849 msgid ""
850 "The I<dirent> structure definition shown above is taken from the glibc "
851 "headers, and shows the I<d_name> field with a fixed size."
852 msgstr ""
853 "تعريف بنية I<dirent> الموضح أعلاه مأخوذ من رؤوس glibc، ويُظهر حقل I<d_name> "
854 "بحجم ثابت."
855
856 #. type: Plain text
857 #: debian-trixie fedora-44 fedora-rawhide
858 msgid ""
859 "I<Warning>: applications should avoid any dependence on the size of the "
860 "I<d_name> field. POSIX defines it as I<char\\ d_name[]>, a character array "
861 "of unspecified size, with at most B<NAME_MAX> characters preceding the "
862 "terminating null byte (\\[aq]\\[rs]0\\[aq])."
863 msgstr ""
864 "I<تحذير>: يجب على التطبيقات تجنب أي اعتماد على حجم حقل I<d_name>. يُعرّفه "
865 "POSIX كـ I<char\\ d_name[]>، مصفوفة محارف ذات حجم غير محدد، مع على الأكثر "
866 "B<NAME_MAX> حرفًا قبل بايت النهاية الصفري (\\[aq]\\[rs]0\\[aq])."
867
868 #. type: Plain text
869 #: debian-trixie fedora-44 fedora-rawhide
870 #| msgid ""
871 #| "POSIX.1 explicitly notes that this field should not be used as an "
872 #| "lvalue. The standard also notes that the use of I<sizeof(d_name)> is "
873 #| "incorrect; use I<strlen(d_name)> instead. (On some systems, this field "
874 #| "is defined as I<char\\~d_name[1]>!) By implication, the use "
875 #| "I<sizeof(struct dirent)> to capture the size of the record including the "
876 #| "size of I<d_name> is also incorrect."
877 msgid ""
878 "POSIX.1 explicitly notes that this field should not be used as an lvalue. "
879 "The standard also notes that the use of I<sizeof(d_name)> is incorrect; use "
880 "I<strlen(d_name)> instead. (On some systems, this field is defined as "
881 "I<char\\ d_name[1]>!) By implication, the use I<sizeof(struct dirent)> to "
882 "capture the size of the record including the size of I<d_name> is also "
883 "incorrect."
884 msgstr ""
885 "يُلاحظ POSIX.1 صراحةً أن هذا الحقل لا ينبغي استخدامه كقيمة يسارية. يُلاحظ "
886 "المعيار أيضًا أن استخدام I<sizeof(d_name)> غير صحيح؛ استخدم I<strlen(d_name)> "
887 "بدلاً من ذلك. (على بعض الأنظمة، يُعرّف هذا الحقل كـ I<char\\ d_name[1]>!) "
888 "بالتبعية، استخدام I<sizeof(struct dirent)> لالتقاط حجم السجل بما في ذلك حجم "
889 "I<d_name> غير صحيح أيضًا."
890
891 #. type: Plain text
892 #: debian-trixie fedora-44 fedora-rawhide
893 msgid ""
894 "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, "
895 "Windows SMB servers), the null-terminated filename that is (correctly) "
896 "returned in I<d_name> can actually exceed this size. In such cases, the "
897 "I<d_reclen> field will contain a value that exceeds the size of the glibc "
898 "I<dirent> structure shown above."
899 msgstr ""
900 "يُرجع القيمة 255 لمعظم أنظمة الملفات، على بعض أنظمة الملفات (مثل CIFS، خوادم "
901 "Windows SMB)، اسم الملف المنتهي بصفر والذي يُرجع (بشكل صحيح) في I<d_name> "
902 "يمكنه فعليًا تجاوز هذا الحجم. في مثل هذه الحالات، سيحتوي حقل I<d_reclen> على "
903 "قيمة تتجاوز حجم بنية glibc I<dirent> الموضحة أعلاه."
904
905 #. type: TH
906 #: fedora-44 fedora-rawhide
907 #, no-wrap
908 msgid "2024-07-23"
909 msgstr "23 يوليو 2024"
910
911 #. type: TH
912 #: fedora-44 fedora-rawhide
913 #, no-wrap
914 msgid "Linux man-pages 6.13"
915 msgstr "صفحات دليل لينكس 6.13"
916
917 #. type: TH
918 #: mageia-cauldron
919 #, no-wrap
920 msgid "Linux man-pages 6.17"
921 msgstr "صفحات دليل لينكس 6.17"
922
923 #. type: TH
924 #: opensuse-leap-16-1 opensuse-tumbleweed
925 #, no-wrap
926 msgid "Linux man-pages (unreleased)"
927 msgstr "صفحات دليل لينكس (لم تصدر بعد)"
928