Debian Codegraph @

po/ru/man3/glob.3.po

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