Debian Codegraph @

po/ar/man3/glob.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 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:26+0200\n"
9 "PO-Revision-Date: 2026-06-03 04:49+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 ".MIME-Version: 1.0\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 "glob"
26 msgstr "glob"
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 ""
52 "glob, globfree - find pathnames matching a pattern, free memory from glob()"
53 msgstr ""
54 "glob, globfree - إيجاد أسماء مسارات تطابق نمطًا، تحرير الذاكرة من glob()"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "المكتبة"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "مكتبة سي المعيارية (I<libc>،\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "موجز"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>glob.hE<gt>>\n"
81 msgstr "B<#include E<lt>glob.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
85 #: opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<int glob(const char *restrict >I<pattern>B<, int >I<flags>B<,>\n"
89 "B< typeof(int (const char *>I<epath>B<, int >I<eerrno>B<)) *>I<errfunc>B<,>\n"
90 "B< glob_t *restrict >I<pglob>B<);>\n"
91 "B<void globfree(glob_t *>I<pglob>B<);>\n"
92 msgstr ""
93 "B<int glob(const char *restrict >I<pattern>B<, int >I<flags>B<,>\n"
94 "B< typeof(int (const char *>I<epath>B<, int >I<eerrno>B<)) *>I<errfunc>B<,>\n"
95 "B< glob_t *restrict >I<pglob>B<);>\n"
96 "B<void globfree(glob_t *>I<pglob>B<);>\n"
97
98 #. type: SH
99 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
101 #, no-wrap
102 msgid "DESCRIPTION"
103 msgstr "الوصف"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid ""
109 "The B<glob>() function searches for all the pathnames matching I<pattern> "
110 "according to the rules used by the shell (see B<glob>(7)). No tilde "
111 "expansion or parameter substitution is done; if you want these, use "
112 "B<wordexp>(3)."
113 msgstr ""
114 "الدالة B<glob>() تبحث عن جميع أسماء المسارات المطابقة لـ I<pattern> وفقًا "
115 "للقواعد المستخدمة من قبل الصدفة (انظر B<glob>(7)). لا يتم توسيع التلدة أو "
116 "استبدال المعامل؛ إذا أردت هذه، استخدم B<wordexp>(3)."
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "The B<globfree>() function frees the dynamically allocated storage from an "
123 "earlier call to B<glob>()."
124 msgstr ""
125 "الدالة B<globfree>() تحرر التخزين المخصص ديناميكيًا من استدعاء سابق لـ "
126 "B<glob>()."
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid ""
132 "The results of a B<glob>() call are stored in the structure pointed to by "
133 "I<pglob>. This structure is of type I<glob_t> (declared in I<E<lt>glob."
134 "hE<gt>>) and includes the following elements defined by POSIX.2 (more may "
135 "be present as an extension):"
136 msgstr ""
137 "نتائج استدعاء B<glob>() تُخزن في البنية المشار إليها بواسطة I<pglob>. هذه "
138 "البنية من النوع I<glob_t> (مُعلنة في I<E<lt>glob.hE<gt>>) وتتضمن العناصر "
139 "التالية المُعرفة بواسطة POSIX.2 (قد يكون هناك المزيد كإضافة):"
140
141 #. type: Plain text
142 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
143 #: opensuse-tumbleweed
144 #, no-wrap
145 msgid ""
146 "typedef struct {\n"
147 " size_t gl_pathc; /* Count of paths matched so far */\n"
148 " char **gl_pathv; /* List of matched pathnames. */\n"
149 " size_t gl_offs; /* Slots to reserve in \\f[I]gl_pathv\\fR. */\n"
150 "} glob_t;\n"
151 msgstr ""
152 "typedef struct {\n"
153 " size_t gl_pathc; /* عدد المسارات المطابقة حتى الآن */\n"
154 " char **gl_pathv; /* قائمة أسماء المسارات المطابقة. */\n"
155 " size_t gl_offs; /* فتحات للحجز في \\f[I]gl_pathv\\fR. */\n"
156 "} glob_t;\n"
157
158 #. type: Plain text
159 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
160 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
161 msgid "Results are stored in dynamically allocated storage."
162 msgstr "النتائج تُخزن في تخزين مخصص ديناميكيًا."
163
164 #. type: Plain text
165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
166 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
167 msgid ""
168 "The argument I<flags> is made up of the bitwise OR of zero or more the "
169 "following symbolic constants, which modify the behavior of B<glob>():"
170 msgstr ""
171 "المعامل I<flags> يتكون من OR على مستوى البت لصفر أو أكثر من الثوابت الرمزية "
172 "التالية، والتي تُعدل سلوك B<glob>():"
173
174 #. type: TP
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "B<GLOB_ERR>"
179 msgstr "B<GLOB_ERR>"
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid ""
185 "Return upon a read error (because a directory does not have read permission, "
186 "for example). By default, B<glob>() attempts carry on despite errors, "
187 "reading all of the directories that it can."
188 msgstr ""
189 "الإرجاع عند خطأ قراءة (لأن دليلاً ليس لديه إذن قراءة، على سبيل المثال). "
190 "مبدئيًا، B<glob>() تحاول الاستمرار رغم الأخطاء، قارئةً جميع الأدلة التي "
191 "تستطيع."
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<GLOB_MARK>"
198 msgstr "B<GLOB_MARK>"
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 "Append a slash to each path which corresponds to a directory."
204 msgstr "إلحاق شرطة مائلة لكل مسار يتوافق مع دليل."
205
206 #. type: TP
207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
208 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
209 #, no-wrap
210 msgid "B<GLOB_NOSORT>"
211 msgstr "B<GLOB_NOSORT>"
212
213 #. type: Plain text
214 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
215 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
216 msgid ""
217 "Don't sort the returned pathnames. The only reason to do this is to save "
218 "processing time. By default, the returned pathnames are sorted."
219 msgstr ""
220 "لا تُرتب أسماء المسارات المُرجعة. السبب الوحيد لفعل ذلك هو توفير وقت "
221 "المعالجة. مبدئيًا، أسماء المسارات المُرجعة تُرتب."
222
223 #. type: TP
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid "B<GLOB_DOOFFS>"
228 msgstr "B<GLOB_DOOFFS>"
229
230 #. type: Plain text
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 msgid ""
234 "Reserve I<pglob-E<gt>gl_offs> slots at the beginning of the list of strings "
235 "in I<pglob-E<gt>pathv>. The reserved slots contain null pointers."
236 msgstr ""
237 "حجز I<pglob-E<gt>gl_offs> فتحة في بداية قائمة السلاسل المحارف في I<pglob-"
238 "E<gt>pathv>. الفتحات المحجوزة تحتوي على مؤشرات فارغة."
239
240 #. type: TP
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 #, no-wrap
244 msgid "B<GLOB_NOCHECK>"
245 msgstr "B<GLOB_NOCHECK>"
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "If no pattern matches, return the original pattern. By default, B<glob>() "
252 "returns B<GLOB_NOMATCH> if there are no matches."
253 msgstr ""
254 "إذا لم يطابق أي نمط، إرجاع النمط الأصلي. مبدئيًا، B<glob>() تُرجع "
255 "B<GLOB_NOMATCH> إذا لم تكن هناك مطابقات."
256
257 #. type: TP
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "B<GLOB_APPEND>"
262 msgstr "B<GLOB_APPEND>"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "Append the results of this call to the vector of results returned by a "
269 "previous call to B<glob>(). Do not set this flag on the first invocation of "
270 "B<glob>()."
271 msgstr ""
272 "ألحق نتائج هذه الاستدعاء بمتجه النتائج التي أرجعها استدعاء سابق للدالة "
273 "B<glob>(). لا تضبط هذه العلامة في أول استدعاء للدالة B<glob>()."
274
275 #. type: TP
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid "B<GLOB_NOESCAPE>"
280 msgstr "B<GLOB_NOESCAPE>"
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 "Don't allow backslash (\\[aq]\\[rs]\\[aq]) to be used as an escape "
287 "character. Normally, a backslash can be used to quote the following "
288 "character, providing a mechanism to turn off the special meaning "
289 "metacharacters."
290 msgstr ""
291 "لا تسمح باستخدام الخط المائل العكسي (\\[aq]\\[rs]\\[aq]) كمحرف هروب. عادة، "
292 "يُستخدم الخط المائل العكسي لعزل المحرف التالي، مما يوفر آلية لإيقاف المعنى "
293 "الخاص للمحارف الوصفية."
294
295 #. type: Plain text
296 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
297 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
298 msgid ""
299 "I<flags> may also include any of the following, which are GNU extensions and "
300 "not defined by POSIX.2:"
301 msgstr ""
302 "قد تتضمن I<flags> أيضًا أيًا مما يلي، وهي إضافات GNU ولم تُعرف في POSIX.2:"
303
304 #. type: TP
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "B<GLOB_PERIOD>"
309 msgstr "B<GLOB_PERIOD>"
310
311 #. type: Plain text
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 msgid ""
315 "Allow a leading period to be matched by metacharacters. By default, "
316 "metacharacters can't match a leading period."
317 msgstr ""
318 "اسمح للمحارف الوصفية بمطابقة النقطة البادئة. مبدئيًا، لا يمكن للمحارف الوصفية "
319 "مطابقة النقطة البادئة."
320
321 #. type: TP
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "B<GLOB_ALTDIRFUNC>"
326 msgstr "B<GLOB_ALTDIRFUNC>"
327
328 #. type: Plain text
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 msgid ""
332 "Use alternative functions I<pglob-E<gt>gl_closedir>, I<pglob-"
333 "E<gt>gl_readdir>, I<pglob-E<gt>gl_opendir>, I<pglob-E<gt>gl_lstat>, and "
334 "I<pglob-E<gt>gl_stat> for filesystem access instead of the normal library "
335 "functions."
336 msgstr ""
337 "استخدم دوالًا بديلة I<pglob-E<gt>gl_closedir> وI<pglob-E<gt>gl_readdir> "
338 "وI<pglob-E<gt>gl_opendir> وI<pglob-E<gt>gl_lstat> وI<pglob-E<gt>gl_stat> "
339 "للوصول إلى نظام الملفات بدلًا من دوال المكتبة العادية."
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<GLOB_BRACE>"
346 msgstr "B<GLOB_BRACE>"
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 ""
352 "Expand B<csh>(1) style brace expressions of the form B<{a,b}>. Brace "
353 "expressions can be nested. Thus, for example, specifying the pattern \"{foo/"
354 "{,cat,dog},bar}\" would return the same results as four separate B<glob>() "
355 "calls using the strings: \"foo/\", \"foo/cat\", \"foo/dog\", and \"bar\"."
356 msgstr ""
357 "وسّع تعابير الأقواس المعقوفة بنمط B<csh>(1) من الشكل B<{a,b}>. يمكن تتداخل "
358 "تعابير الأقواس المعقوفة. وهكذا، على سبيل المثال، تحديد النمط \"{foo/{,cat,"
359 "dog},bar}\" سيعيد نفس نتائج أربع استدعاءات منفصلة للدالة B<glob>() باستخدام "
360 "السلاسل: \"foo/\" و\"foo/cat\" و\"foo/dog\" و\"bar\"."
361
362 #. type: TP
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "B<GLOB_NOMAGIC>"
367 msgstr "B<GLOB_NOMAGIC>"
368
369 #. type: Plain text
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 msgid ""
373 "If the pattern contains no metacharacters, then it should be returned as the "
374 "sole matching word, even if there is no file with that name."
375 msgstr ""
376 "إذا لم يحتوي النمط على محارف وصفية، فيجب إعادته كالكلمة المطابقة الوحيدة، "
377 "حتى لو لم يوجد ملف بهذا الاسم."
378
379 #. type: TP
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 #, no-wrap
383 msgid "B<GLOB_TILDE>"
384 msgstr "B<GLOB_TILDE>"
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid ""
390 "Carry out tilde expansion. If a tilde (\\[aq]\\[ti]\\[aq]) is the only "
391 "character in the pattern, or an initial tilde is followed immediately by a "
392 "slash (\\[aq]/\\[aq]), then the home directory of the caller is substituted "
393 "for the tilde. If an initial tilde is followed by a username (e.g., "
394 "\"\\[ti]andrea/bin\"), then the tilde and username are substituted by the "
395 "home directory of that user. If the username is invalid, or the home "
396 "directory cannot be determined, then no substitution is performed."
397 msgstr ""
398 "نفّذ توسيع التلدة. إذا كانت التلدة (\\[aq]\\[ti]\\[aq]) هي المحرف الوحيد في "
399 "النمط، أو تبعتها تلدة أولية مباشرة بشرطة مائلة (\\[aq]/\\[aq])، فسيُستبدل "
400 "دليل المستخدم الرئيسي للمتصل بالتلدة. إذا تبعَت تلدة أولية اسم مستخدم (مثل "
401 "\"\\[ti]andrea/bin\")، فستُستبدل التلدة واسم المستخدم بدليل المستخدم الرئيسي "
402 "لذلك المستخدم. إذا كان اسم المستخدم غير صالح، أو تعذر تحديد دليل المستخدم "
403 "الرئيسي، فلن يُجرَ أي استبدال."
404
405 #. type: TP
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "B<GLOB_TILDE_CHECK>"
410 msgstr "B<GLOB_TILDE_CHECK>"
411
412 #. type: Plain text
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 msgid ""
416 "This provides behavior similar to that of B<GLOB_TILDE>. The difference is "
417 "that if the username is invalid, or the home directory cannot be determined, "
418 "then instead of using the pattern itself as the name, B<glob>() returns "
419 "B<GLOB_NOMATCH> to indicate an error."
420 msgstr ""
421 "يوفر هذا سلوكًا مشابهًا لسلوك B<GLOB_TILDE>. الفرق هو أنه إذا كان اسم المستخدم "
422 "غير صالح، أو تعذر تحديد دليل المستخدم الرئيسي، فبدلًا من استخدام النمط نفسه "
423 "كاسم، تُرجع الدالة B<glob>() القيمة B<GLOB_NOMATCH> للإشارة إلى خطأ."
424
425 #. type: TP
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "B<GLOB_ONLYDIR>"
430 msgstr "B<GLOB_ONLYDIR>"
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 msgid ""
436 "This is a I<hint> to B<glob>() that the caller is interested only in "
437 "directories that match the pattern. If the implementation can easily "
438 "determine file-type information, then nondirectory files are not returned to "
439 "the caller. However, the caller must still check that returned files are "
440 "directories. (The purpose of this flag is merely to optimize performance "
441 "when the caller is interested only in directories.)"
442 msgstr ""
443 "هذا I<تلميح> للدالة B<glob>() بأن المتصل مهتم فقط بالأدلة التي تطابق النمط. "
444 "إذا استطاع التنفيذ تحديد معلومات نوع الملف بسهولة، فلن تُعاد الملفات غير "
445 "الدليلية إلى المتصل. ومع ذلك، يجب على المتصل التحقق من أن الملفات المُعادة هي "
446 "أدلة. (الغرض من هذه العلامة هو فقط تحسين الأداء عندما يكون المتصل مهتمًا "
447 "بالأدلة فقط.)"
448
449 #. type: Plain text
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 msgid ""
453 "If I<errfunc> is not NULL, it will be called in case of an error with the "
454 "arguments I<epath>, a pointer to the path which failed, and I<eerrno>, the "
455 "value of I<errno> as returned from one of the calls to B<opendir>(3), "
456 "B<readdir>(3), or B<stat>(2). If I<errfunc> returns nonzero, or if "
457 "B<GLOB_ERR> is set, B<glob>() will terminate after the call to I<errfunc>."
458 msgstr ""
459 "إذا لم تكن I<errfunc> NULL، فستُستدعى في حالة حدوث خطأ مع المعاملات I<epath>، "
460 "مؤشر إلى المسار الذي فشل، وI<eerrno>، قيمة I<errno> كما أُعيدت من أحد "
461 "استدعاءات B<opendir>(3) أو B<readdir>(3) أو B<stat>(2). إذا أعادت I<errfunc> "
462 "قيمة غير صفرية، أو إذا ضُبطت B<GLOB_ERR>، فستنتهي الدالة B<glob>() بعد "
463 "استدعاء I<errfunc>."
464
465 #. type: Plain text
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 msgid ""
469 "Upon successful return, I<pglob-E<gt>gl_pathc> contains the number of "
470 "matched pathnames and I<pglob-E<gt>gl_pathv> contains a pointer to the list "
471 "of pointers to matched pathnames. The list of pointers is terminated by a "
472 "null pointer."
473 msgstr ""
474 "عند الإرجاع الناجح، يحتوي I<pglob-E<gt>gl_pathc> على عدد أسماء المسارات "
475 "المطابقة ويحتوي I<pglob-E<gt>gl_pathv> على مؤشر إلى قائمة المؤشرات لأسماء "
476 "المسارات المطابقة. تُنهى قائمة المؤشرات بمؤشر فارغ."
477
478 #. type: Plain text
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 msgid ""
482 "It is possible to call B<glob>() several times. In that case, the "
483 "B<GLOB_APPEND> flag has to be set in I<flags> on the second and later "
484 "invocations."
485 msgstr ""
486 "من الممكن استدعاء B<glob>() عدة مرات. في هذه الحالة، يجب تعيين العلم "
487 "B<GLOB_APPEND> في I<flags> في الاستدعاءات الثانية واللاحقة."
488
489 #. type: Plain text
490 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
491 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
492 msgid ""
493 "As a GNU extension, I<pglob-E<gt>gl_flags> is set to the flags specified, "
494 "B<or>ed with B<GLOB_MAGCHAR> if any metacharacters were found."
495 msgstr ""
496 "كإضافة لـ GNU، تُعيّن I<pglob-E<gt>gl_flags> إلى الأعلام المحددة، مع إجراء "
497 "عملية B<أو> مع B<GLOB_MAGCHAR> إذا وُجدت أي محارف وصفية."
498
499 #. type: SH
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "RETURN VALUE"
504 msgstr "قيمة الإرجاع"
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid ""
510 "On successful completion, B<glob>() returns zero. Other possible returns "
511 "are:"
512 msgstr ""
513 "عند الإكمال بنجاح، تُرجع B<glob>() صفرًا. القيم الأخرى الممكنة للإرجاع هي:"
514
515 #. type: TP
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 #, no-wrap
519 msgid "B<GLOB_NOSPACE>"
520 msgstr "B<GLOB_NOSPACE>"
521
522 #. type: Plain text
523 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
524 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
525 msgid "for running out of memory,"
526 msgstr "لنفاد الذاكرة،"
527
528 #. type: TP
529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
530 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
531 #, no-wrap
532 msgid "B<GLOB_ABORTED>"
533 msgstr "B<GLOB_ABORTED>"
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid "for a read error, and"
539 msgstr "لخطأ في القراءة، و"
540
541 #. type: TP
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 #, no-wrap
545 msgid "B<GLOB_NOMATCH>"
546 msgstr "B<GLOB_NOMATCH>"
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 msgid "for no found matches."
552 msgstr "لعدم وجود تطابقات."
553
554 #. type: SH
555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
556 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
557 #, no-wrap
558 msgid "ATTRIBUTES"
559 msgstr "السمات"
560
561 #. type: Plain text
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 msgid ""
565 "For an explanation of the terms used in this section, see B<attributes>(7)."
566 msgstr ""
567 "للاطلاع على شرح للمصطلحات المستخدمة في هذا القسم، انظر B<attributes>(7)."
568
569 #. type: tbl table
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 #, no-wrap
573 msgid "Interface"
574 msgstr "الواجهة"
575
576 #. type: tbl table
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, no-wrap
580 msgid "Attribute"
581 msgstr "السمة"
582
583 #. type: tbl table
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 #, no-wrap
587 msgid "Value"
588 msgstr "القيمة"
589
590 #. type: tbl table
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 #, no-wrap
594 msgid ".na\n"
595 msgstr ".na\n"
596
597 #. type: tbl table
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 #, no-wrap
601 msgid ".nh\n"
602 msgstr ".nh\n"
603
604 #. type: tbl table
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "B<glob>()"
609 msgstr "B<glob>()"
610
611 #. type: tbl table
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 #, no-wrap
615 msgid "Thread safety"
616 msgstr "سلامة الخيوط"
617
618 #. type: tbl table
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid ""
623 "MT-Unsafe race:utent env\n"
624 "sig:ALRM timer locale"
625 msgstr ""
626 "MT-Unsafe race:utent env\n"
627 "sig:ALRM timer locale"
628
629 #. type: tbl table
630 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
631 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
632 #, no-wrap
633 msgid "B<globfree>()"
634 msgstr "B<globfree>()"
635
636 #. type: tbl table
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 #, no-wrap
640 msgid "MT-Safe"
641 msgstr "MT-Safe"
642
643 #. type: Plain text
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 msgid ""
647 "In the above table, I<utent> in I<race:utent> signifies that if any of the "
648 "functions B<setutent>(3), B<getutent>(3), or B<endutent>(3) are used in "
649 "parallel in different threads of a program, then data races could occur. "
650 "B<glob>() calls those functions, so we use race:utent to remind users."
651 msgstr ""
652 "في الجدول أعلاه، يشير I<utent> في I<race:utent> إلى أنه إذا استُخدمت أي من "
653 "الدوال B<setutent>(3) أو B<getutent>(3) أو B<endutent>(3) بالتوازي في خيوط "
654 "مختلفة من برنامج، فقد تحدث سباقات بيانات. تستدعي B<glob>() تلك الدوال، لذا "
655 "نستخدم race:utent لتذكير المستخدمين."
656
657 #. type: SH
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 #, no-wrap
661 msgid "STANDARDS"
662 msgstr "المعايير"
663
664 #. type: Plain text
665 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
666 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
667 msgid "POSIX.1-2008."
668 msgstr "POSIX.1-2008."
669
670 #. type: SH
671 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
672 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
673 #, no-wrap
674 msgid "HISTORY"
675 msgstr "التاريخ"
676
677 #. type: Plain text
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 msgid "POSIX.1-2001, POSIX.2."
681 msgstr "POSIX.1-2001, POSIX.2."
682
683 #. type: SH
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 #, no-wrap
687 msgid "NOTES"
688 msgstr "ملاحظات"
689
690 #. type: Plain text
691 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
692 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
693 msgid ""
694 "The structure elements I<gl_pathc> and I<gl_offs> are declared as I<size_t> "
695 "in glibc 2.1, as they should be according to POSIX.2, but are declared as "
696 "I<int> in glibc 2.0."
697 msgstr ""
698 "عناصر الهيكل I<gl_pathc> و I<gl_offs> مُصرَّح بها كـ I<size_t> في glibc 2.1، "
699 "كما ينبغي وفقًا لـ POSIX.2، لكنها مُصرَّح بها كـ I<int> في glibc 2.0."
700
701 #. type: SH
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 #, no-wrap
705 msgid "BUGS"
706 msgstr "العلل"
707
708 #. type: Plain text
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 msgid ""
712 "The B<glob>() function may fail due to failure of underlying function "
713 "calls, such as B<malloc>(3) or B<opendir>(3). These will store their error "
714 "code in I<errno>."
715 msgstr ""
716 "قد تفشل الدالة B<glob>() بسبب فشل استدعاءات دوال أساسية، مثل B<malloc>(3) أو "
717 "B<opendir>(3). ستُخزِّن هذه الدوال رمز خطئها في I<errno>."
718
719 #. type: SH
720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
721 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
722 #, no-wrap
723 msgid "EXAMPLES"
724 msgstr "أمثلة"
725
726 #. type: Plain text
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 msgid "One example of use is the following code, which simulates typing"
730 msgstr "مثال واحد للاستخدام هو الكود التالي، الذي يحاكي كتابة"
731
732 #. type: Plain text
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 #, no-wrap
736 msgid "ls -l *.c ../*.c\n"
737 msgstr "ls -l *.c ../*.c\n"
738
739 #. type: Plain text
740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
741 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
742 msgid "in the shell:"
743 msgstr "في الصدفة:"
744
745 #. type: Plain text
746 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
747 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
748 #, no-wrap
749 msgid ""
750 "glob_t globbuf;\n"
751 "\\&\n"
752 "globbuf.gl_offs = 2;\n"
753 "glob(\"*.c\", GLOB_DOOFFS, NULL, &globbuf);\n"
754 "glob(\"../*.c\", GLOB_DOOFFS | GLOB_APPEND, NULL, &globbuf);\n"
755 "globbuf.gl_pathv[0] = \"ls\";\n"
756 "globbuf.gl_pathv[1] = \"-l\";\n"
757 "execvp(\"ls\", &globbuf.gl_pathv[0]);\n"
758 msgstr ""
759 "glob_t globbuf;\n"
760 "\\&\n"
761 "globbuf.gl_offs = 2;\n"
762 "glob(\"*.c\", GLOB_DOOFFS, NULL, &globbuf);\n"
763 "glob(\"../*.c\", GLOB_DOOFFS | GLOB_APPEND, NULL, &globbuf);\n"
764 "globbuf.gl_pathv[0] = \"ls\";\n"
765 "globbuf.gl_pathv[1] = \"-l\";\n"
766 "execvp(\"ls\", &globbuf.gl_pathv[0]);\n"
767
768 #. type: SH
769 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
770 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
771 #, no-wrap
772 msgid "SEE ALSO"
773 msgstr "انظر أيضًا"
774
775 #. type: Plain text
776 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
777 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
778 msgid ""
779 "B<ls>(1), B<sh>(1), B<stat>(2), B<exec>(3), B<fnmatch>(3), B<malloc>(3), "
780 "B<opendir>(3), B<readdir>(3), B<wordexp>(3), B<glob>(7)"
781 msgstr ""
782 "B<ls>(1), B<sh>(1), B<stat>(2), B<exec>(3), B<fnmatch>(3), B<malloc>(3), "
783 "B<opendir>(3), B<readdir>(3), B<wordexp>(3), B<glob>(7)"
784
785 #. type: TH
786 #: debian-trixie
787 #, no-wrap
788 msgid "2024-06-15"
789 msgstr "15 يونيو 2024"
790
791 #. type: TH
792 #: debian-trixie
793 #, no-wrap
794 msgid "Linux man-pages 6.9.1"
795 msgstr "صفحات دليل لينكس 6.9.1"
796
797 #. type: Plain text
798 #: debian-trixie
799 msgid "Standard C library (I<libc>, I<-lc>)"
800 msgstr "مكتبة سي المعيارية (I<libc>، I<-lc>)"
801
802 #. type: Plain text
803 #: debian-trixie
804 #, no-wrap
805 msgid ""
806 "B<int glob(const char *restrict >I<pattern>B<, int >I<flags>B<,>\n"
807 "B< int (*>I<errfunc>B<)(const char *>I<epath>B<, int >I<eerrno>B<),>\n"
808 "B< glob_t *restrict >I<pglob>B<);>\n"
809 "B<void globfree(glob_t *>I<pglob>B<);>\n"
810 msgstr ""
811 "B<int glob(const char *restrict >I<pattern>B<, int >I<flags>B<,>\n"
812 "B< int (*>I<errfunc>B<)(const char *>I<epath>B<, int >I<eerrno>B<),>\n"
813 "B< glob_t *restrict >I<pglob>B<);>\n"
814 "B<void globfree(glob_t *>I<pglob>B<);>\n"
815
816 #. type: Plain text
817 #: debian-trixie fedora-44 fedora-rawhide
818 #, no-wrap
819 msgid ""
820 "typedef struct {\n"
821 " size_t gl_pathc; /* Count of paths matched so far */\n"
822 " char **gl_pathv; /* List of matched pathnames. */\n"
823 " size_t gl_offs; /* Slots to reserve in I<gl_pathv>. */\n"
824 "} glob_t;\n"
825 msgstr ""
826 "typedef struct {\n"
827 " size_t gl_pathc; /* عدد المسارات المطابقة حتى الآن */\n"
828 " char **gl_pathv; /* قائمة أسماء المسارات المطابقة */\n"
829 " size_t gl_offs; /* فتحات للحجز في I<gl_pathv>. */\n"
830 "} glob_t;\n"
831
832 #. type: TH
833 #: fedora-44 fedora-rawhide
834 #, no-wrap
835 msgid "2024-12-13"
836 msgstr "13 ديسمبر 2024"
837
838 #. type: TH
839 #: fedora-44 fedora-rawhide
840 #, no-wrap
841 msgid "Linux man-pages 6.13"
842 msgstr "صفحات دليل لينكس 6.13"
843
844 #. type: TH
845 #: mageia-cauldron
846 #, no-wrap
847 msgid "Linux man-pages 6.17"
848 msgstr "صفحات دليل لينكس 6.17"
849
850 #. type: TH
851 #: opensuse-leap-16-1 opensuse-tumbleweed
852 #, no-wrap
853 msgid "Linux man-pages (unreleased)"
854 msgstr "صفحات دليل لينكس (لم تصدر بعد)"