Debian Codegraph @

po/ru/man3/realpath.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 # aereiae <[email protected]>, 2014.
5 # Azamat Hackimov <[email protected]>, 2013-2014, 2016.
6 # Dmitriy S. Seregin <[email protected]>, 2013.
7 # Katrin Kutepova <[email protected]>, 2018.
8 # Lockal <[email protected]>, 2013.
9 # Yuri Kozlov <[email protected]>, 2011-2019.
10 # Баринов Владимир, 2016.
11 # Иван Павлов <[email protected]>, 2017,2019.
12 msgid ""
13 msgstr ""
14 "Project-Id-Version: manpages-l10n\n"
15 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
16 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
17 "Last-Translator: Yuri Kozlov <[email protected]>\n"
18 "Language-Team: Russian <[email protected]>\n"
19 "Language: ru\n"
20 "MIME-Version: 1.0\n"
21 "Content-Type: text/plain; charset=UTF-8\n"
22 "Content-Transfer-Encoding: 8bit\n"
23 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
24 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
25 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
26 "X-Generator: Lokalize 2.0\n"
27
28 #. type: TH
29 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
30 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
31 #, fuzzy, no-wrap
32 #| msgid "B<realpath>()"
33 msgid "realpath"
34 msgstr "B<realpath>()"
35
36 #. type: TH
37 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
38 #: opensuse-tumbleweed
39 #, no-wrap
40 msgid "2026-02-08"
41 msgstr "8 февраля 2026 г."
42
43 #. type: TH
44 #: archlinux debian-unstable
45 #, fuzzy, no-wrap
46 #| msgid "Linux man-pages 6.17"
47 msgid "Linux man-pages 6.18"
48 msgstr "Справочные страницы Linux 6.17"
49
50 #. type: SH
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 #, no-wrap
54 msgid "NAME"
55 msgstr "НАИМЕНОВАНИЕ"
56
57 #. type: Plain text
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 msgid "realpath - return the canonicalized absolute pathname"
61 msgstr "realpath - возвращает канонизированный абсолютный путь"
62
63 #. type: SH
64 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
65 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
66 #, no-wrap
67 msgid "LIBRARY"
68 msgstr "БИБЛИОТЕКА"
69
70 #. type: Plain text
71 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
72 #: opensuse-leap-16-1 opensuse-tumbleweed
73 msgid "Standard C library (I<libc>,\\ I<-lc>)"
74 msgstr "Стандартная библиотека языка C (I<libc>,\\ I<-lc>)"
75
76 #. type: SH
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "SYNOPSIS"
81 msgstr "СИНТАКСИС"
82
83 #. type: Plain text
84 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
85 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<#include E<lt>limits.hE<gt>>\n"
89 "B<#include E<lt>stdlib.hE<gt>>\n"
90 msgstr ""
91 "B<#include E<lt>limits.hE<gt>>\n"
92 "B<#include E<lt>stdlib.hE<gt>>\n"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, fuzzy, no-wrap
98 #| msgid "B<char *realpath(const char *>I<path>B<, char *>I<resolved_path>B<);>\n"
99 msgid ""
100 "B<char *realpath(const char *restrict >I<path>B<,>\n"
101 "B< char *restrict >I<resolved_path>B<);>\n"
102 msgstr "B<char *realpath(const char *>I<path>B<, char *>I<resolved_path>B<);>\n"
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
109 msgstr ""
110 "Требования макроса тестирования свойств для glibc (см. "
111 "B<feature_test_macros>(7)):"
112
113 #. type: Plain text
114 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
115 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
116 msgid "B<realpath>():"
117 msgstr "B<realpath>():"
118
119 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 #, fuzzy, no-wrap
124 #| msgid ""
125 #| "_XOPEN_SOURCE\\ E<gt>=\\ 500\n"
126 #| " || /* Glibc since 2.19: */ _DEFAULT_SOURCE\n"
127 #| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE\n"
128 msgid ""
129 " _XOPEN_SOURCE E<gt>= 500\n"
130 " || /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n"
131 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
132 msgstr ""
133 "_XOPEN_SOURCE\\ E<gt>=\\ 500\n"
134 " || /* в glibc начиная с 2.19: */ _DEFAULT_SOURCE\n"
135 " || /* версии glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
136
137 #. type: SH
138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
140 #, no-wrap
141 msgid "DESCRIPTION"
142 msgstr "ОПИСАНИЕ"
143
144 #. type: Plain text
145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
147 #, fuzzy
148 #| msgid ""
149 #| "B<realpath>() expands all symbolic links and resolves references to I</./"
150 #| ">, I</../> and extra \\(aq/\\(aq characters in the null-terminated string "
151 #| "named by I<path> to produce a canonicalized absolute pathname. The "
152 #| "resulting pathname is stored as a null-terminated string, up to a maximum "
153 #| "of B<PATH_MAX> bytes, in the buffer pointed to by I<resolved_path>. The "
154 #| "resulting path will have no symbolic link, I</./> or I</../> components."
155 msgid ""
156 "B<realpath>() expands all symbolic links and resolves references to I</./>, "
157 "I</../> and extra \\[aq]/\\[aq] characters in the null-terminated string "
158 "named by I<path> to produce a canonicalized absolute pathname. The "
159 "resulting pathname is stored as a null-terminated string, up to a maximum of "
160 "B<PATH_MAX> bytes, in the buffer pointed to by I<resolved_path>. The "
161 "resulting path will have no symbolic link, I</./> or I</../> components."
162 msgstr ""
163 "Функция B<realpath>() раскрывает все символьные ссылки, конструкции I</./>, "
164 "I</../> и дополнительные символы «/» в строке I<path> (завершается null) для "
165 "создания канонического абсолютного пути. Получившееся имя сохраняется в виде "
166 "строки (с null на конце) не длиннее чем B<PATH_MAX> байт в буфере, указанном "
167 "в I<resolved_path>. Конечный путь не содержит символьных ссылок и "
168 "компонентов I</./> или I</../>."
169
170 #. Even if we use resolved_path == NULL, then realpath() will still
171 #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX
172 #. bytes -- MTK, Dec 04
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "If I<resolved_path> is specified as NULL, then B<realpath>() uses "
178 "B<malloc>(3) to allocate a buffer of up to B<PATH_MAX> bytes to hold the "
179 "resolved pathname, and returns a pointer to this buffer. The caller should "
180 "deallocate this buffer using B<free>(3)."
181 msgstr ""
182 "Если значение I<resolved_path> равно NULL, то B<realpath>() выделяет буфер "
183 "размером B<PATH_MAX> байт с помощью B<malloc>(3) для хранения полного пути и "
184 "возвращает указатель на этот буфер. Вызывающий должен освободить буфер с "
185 "помощью B<free>(3)."
186
187 #. type: SH
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "RETURN VALUE"
192 msgstr "ВОЗВРАЩАЕМОЕ ЗНАЧЕНИЕ"
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "If there is no error, B<realpath>() returns a pointer to the "
199 "I<resolved_path>."
200 msgstr ""
201 "При успешном выполнении B<realpath>() возвращает указатель на "
202 "I<resolved_path>."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "Otherwise, it returns NULL, the contents of the array I<resolved_path> are "
209 "undefined, and I<errno> is set to indicate the error."
210 msgstr ""
211 "При ошибках возвращается NULL, содержимое массива I<resolved_path> не "
212 "определено и в I<errno> указывается код ошибки."
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "ERRORS"
219 msgstr "ОШИБКИ"
220
221 #. type: TP
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 #, no-wrap
225 msgid "B<EACCES>"
226 msgstr "B<EACCES>"
227
228 #. type: Plain text
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 msgid ""
232 "Read or search permission was denied for a component of the path prefix."
233 msgstr "Запрещено чтение или поиск для компонента, содержащегося в пути."
234
235 #. type: TP
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "B<EINVAL>"
240 msgstr "B<EINVAL>"
241
242 #. (In libc5 this would just cause a segfault.)
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, fuzzy
247 #| msgid ""
248 #| "I<path> is NULL. (In glibc versions before 2.3, this error is also "
249 #| "returned if I<resolved_path> is NULL.)"
250 msgid ""
251 "I<path> is NULL. (Before glibc 2.3, this error is also returned if "
252 "I<resolved_path> is NULL.)"
253 msgstr ""
254 "Значение I<path> равно NULL (в glibc до версии 2.3 эта ошибка также "
255 "возвращалась и при I<resolved_path> равном NULL)."
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<EIO>"
262 msgstr "B<EIO>"
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 "An I/O error occurred while reading from the filesystem."
268 msgstr "При чтении файловой системы произошла ошибка ввода-вывода."
269
270 #. type: TP
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "B<ELOOP>"
275 msgstr "B<ELOOP>"
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid "Too many symbolic links were encountered in translating the pathname."
281 msgstr ""
282 "Во время определения pathname встретилось слишком много символьных ссылок."
283
284 #. type: TP
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "B<ENAMETOOLONG>"
289 msgstr "B<ENAMETOOLONG>"
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid ""
295 "A component of a pathname exceeded B<NAME_MAX> characters, or an entire "
296 "pathname exceeded B<PATH_MAX> characters."
297 msgstr ""
298 "Компонент имени пути более B<NAME_MAX> символов, или весь путь более "
299 "B<PATH_MAX> символов."
300
301 #. type: TP
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "B<ENOENT>"
306 msgstr "B<ENOENT>"
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid "The named file does not exist."
312 msgstr "Указанный файл не существует."
313
314 #. type: TP
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "B<ENOMEM>"
319 msgstr "B<ENOMEM>"
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid "Out of memory."
325 msgstr "Не хватает памяти."
326
327 #. type: TP
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 #, no-wrap
331 msgid "B<ENOTDIR>"
332 msgstr "B<ENOTDIR>"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid "A component of the path prefix is not a directory."
338 msgstr "Компонент в префиксе пути не является каталогом."
339
340 #. type: SH
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "ATTRIBUTES"
345 msgstr "АТРИБУТЫ"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid ""
351 "For an explanation of the terms used in this section, see B<attributes>(7)."
352 msgstr "Описание терминов данного раздела смотрите в B<attributes>(7)."
353
354 #. type: tbl table
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "Interface"
359 msgstr "Интерфейс"
360
361 #. type: tbl table
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "Attribute"
366 msgstr "Атрибут"
367
368 #. type: tbl table
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "Value"
373 msgstr "Значение"
374
375 #. type: tbl table
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid ".na\n"
380 msgstr ".na\n"
381
382 #. type: tbl table
383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
384 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
385 #, no-wrap
386 msgid ".nh\n"
387 msgstr ".nh\n"
388
389 #. type: tbl table
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "B<realpath>()"
394 msgstr "B<realpath>()"
395
396 #. type: tbl table
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 #, no-wrap
400 msgid "Thread safety"
401 msgstr "Безвредность в нитях"
402
403 #. type: tbl table
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "MT-Safe"
408 msgstr "MT-Safe"
409
410 #. type: SH
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, no-wrap
414 msgid "VERSIONS"
415 msgstr "ВЕРСИИ"
416
417 #. type: SS
418 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
419 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
420 #, no-wrap
421 msgid "GNU extensions"
422 msgstr "Расширения GNU"
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid ""
428 "If the call fails with either B<EACCES> or B<ENOENT> and I<resolved_path> is "
429 "not NULL, then the prefix of I<path> that is not readable or does not exist "
430 "is returned in I<resolved_path>."
431 msgstr ""
432 "Если вызов завершается с ошибкой B<EACCES> или B<ENOENT> и значение "
433 "I<resolved_path> не равно NULL, то в I<resolved_path> возвращается начало не "
434 "читаемой или не существующей части I<path>."
435
436 #. type: SH
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, no-wrap
440 msgid "STANDARDS"
441 msgstr "СТАНДАРТЫ"
442
443 #. type: Plain text
444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
445 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
446 msgid "POSIX.1-2008."
447 msgstr "POSIX.1-2008."
448
449 #. type: SH
450 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
451 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
452 #, no-wrap
453 msgid "HISTORY"
454 msgstr "ИСТОРИЯ"
455
456 #. type: Plain text
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, fuzzy
460 #| msgid "4.4BSD, POSIX.1-2001."
461 msgid "4.4BSD, POSIX.1-2001, Solaris."
462 msgstr "4.4BSD, POSIX.1-2001."
463
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid ""
468 "POSIX.1-2001 says that the behavior if I<resolved_path> is NULL is "
469 "implementation-defined. POSIX.1-2008 specifies the behavior described in "
470 "this page."
471 msgstr ""
472 "В POSIX.1-2001 сказано, что поведение при значении I<resolved_path> равном "
473 "NULL, зависит от реализации. В POSIX.1-2008 определено поведение, "
474 "аналогичное описанию на этой странице."
475
476 #. type: Plain text
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 msgid ""
480 "In 4.4BSD and Solaris, the limit on the pathname length is B<MAXPATHLEN> "
481 "(found in I<E<lt>sys/param.hE<gt>>). SUSv2 prescribes B<PATH_MAX> and "
482 "B<NAME_MAX>, as found in I<E<lt>limits.hE<gt>> or provided by the "
483 "B<pathconf>(3) function. A typical source fragment would be"
484 msgstr ""
485 "В 4.4BSD и Solaris максимальная длина пути равна B<MAXPATHLEN> (находится в "
486 "I<E<lt>sys/param.hE<gt>>). В SUSv2 величины B<PATH_MAX> и B<NAME_MAX> "
487 "представлены в I<E<lt>limits.hE<gt>> или предоставляются функцией "
488 "B<pathconf>(3). Вот типичный фрагмент кода:"
489
490 #. type: Plain text
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid ""
495 "#ifdef PATH_MAX\n"
496 " path_max = PATH_MAX;\n"
497 "#else\n"
498 " path_max = pathconf(path, _PC_PATH_MAX);\n"
499 " if (path_max E<lt>= 0)\n"
500 " path_max = 4096;\n"
501 "#endif\n"
502 msgstr ""
503 "#ifdef PATH_MAX\n"
504 " path_max = PATH_MAX;\n"
505 "#else\n"
506 " path_max = pathconf(path, _PC_PATH_MAX);\n"
507 " if (path_max E<lt>= 0)\n"
508 " path_max = 4096;\n"
509 "#endif\n"
510
511 #. #-#-#-#-# archlinux: realpath.3.pot (PACKAGE VERSION) #-#-#-#-#
512 #. .P
513 #. 2012-05-05, According to Casper Dik, the statement about
514 #. Solaris was not true at least as far back as 1997, and
515 #. may never have been true.
516 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
517 #. pathname.
518 #. Solaris may return a relative pathname when the
519 #. .I path
520 #. argument is relative.
521 #. The prototype of
522 #. .BR realpath ()
523 #. is given in \f[I]<unistd.h>\f[] in libc4 and libc5,
524 #. but in \f[I]<stdlib.h>\f[] everywhere else.
525 #. type: Plain text
526 #. #-#-#-#-# debian-trixie: realpath.3.pot (PACKAGE VERSION) #-#-#-#-#
527 #. .P
528 #. 2012-05-05, According to Casper Dik, the statement about
529 #. Solaris was not true at least as far back as 1997, and
530 #. may never have been true.
531 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
532 #. pathname.
533 #. Solaris may return a relative pathname when the
534 #. .I path
535 #. argument is relative.
536 #. The prototype of
537 #. .BR realpath ()
538 #. is given in \fI<unistd.h>\fP in libc4 and libc5,
539 #. but in \fI<stdlib.h>\fP everywhere else.
540 #. type: Plain text
541 #. #-#-#-#-# debian-unstable: realpath.3.pot (PACKAGE VERSION) #-#-#-#-#
542 #. .P
543 #. 2012-05-05, According to Casper Dik, the statement about
544 #. Solaris was not true at least as far back as 1997, and
545 #. may never have been true.
546 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
547 #. pathname.
548 #. Solaris may return a relative pathname when the
549 #. .I path
550 #. argument is relative.
551 #. The prototype of
552 #. .BR realpath ()
553 #. is given in \f[I]<unistd.h>\f[] in libc4 and libc5,
554 #. but in \f[I]<stdlib.h>\f[] everywhere else.
555 #. type: Plain text
556 #. #-#-#-#-# fedora-44: realpath.3.pot (PACKAGE VERSION) #-#-#-#-#
557 #. .P
558 #. 2012-05-05, According to Casper Dik, the statement about
559 #. Solaris was not true at least as far back as 1997, and
560 #. may never have been true.
561 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
562 #. pathname.
563 #. Solaris may return a relative pathname when the
564 #. .I path
565 #. argument is relative.
566 #. The prototype of
567 #. .BR realpath ()
568 #. is given in \fI<unistd.h>\fP in libc4 and libc5,
569 #. but in \fI<stdlib.h>\fP everywhere else.
570 #. type: Plain text
571 #. #-#-#-#-# fedora-rawhide: realpath.3.pot (PACKAGE VERSION) #-#-#-#-#
572 #. .P
573 #. 2012-05-05, According to Casper Dik, the statement about
574 #. Solaris was not true at least as far back as 1997, and
575 #. may never have been true.
576 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
577 #. pathname.
578 #. Solaris may return a relative pathname when the
579 #. .I path
580 #. argument is relative.
581 #. The prototype of
582 #. .BR realpath ()
583 #. is given in \fI<unistd.h>\fP in libc4 and libc5,
584 #. but in \fI<stdlib.h>\fP everywhere else.
585 #. type: Plain text
586 #. #-#-#-#-# mageia-cauldron: realpath.3.pot (PACKAGE VERSION) #-#-#-#-#
587 #. .P
588 #. 2012-05-05, According to Casper Dik, the statement about
589 #. Solaris was not true at least as far back as 1997, and
590 #. may never have been true.
591 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
592 #. pathname.
593 #. Solaris may return a relative pathname when the
594 #. .I path
595 #. argument is relative.
596 #. The prototype of
597 #. .BR realpath ()
598 #. is given in \f[I]<unistd.h>\f[] in libc4 and libc5,
599 #. but in \f[I]<stdlib.h>\f[] everywhere else.
600 #. type: Plain text
601 #. #-#-#-#-# opensuse-leap-16-1: realpath.3.pot (PACKAGE VERSION) #-#-#-#-#
602 #. .P
603 #. 2012-05-05, According to Casper Dik, the statement about
604 #. Solaris was not true at least as far back as 1997, and
605 #. may never have been true.
606 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
607 #. pathname.
608 #. Solaris may return a relative pathname when the
609 #. .I path
610 #. argument is relative.
611 #. The prototype of
612 #. .BR realpath ()
613 #. is given in \f[I]<unistd.h>\f[] in libc4 and libc5,
614 #. but in \f[I]<stdlib.h>\f[] everywhere else.
615 #. type: Plain text
616 #. #-#-#-#-# opensuse-tumbleweed: realpath.3.pot (PACKAGE VERSION) #-#-#-#-#
617 #. .P
618 #. 2012-05-05, According to Casper Dik, the statement about
619 #. Solaris was not true at least as far back as 1997, and
620 #. may never have been true.
621 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
622 #. pathname.
623 #. Solaris may return a relative pathname when the
624 #. .I path
625 #. argument is relative.
626 #. The prototype of
627 #. .BR realpath ()
628 #. is given in \f[I]<unistd.h>\f[] in libc4 and libc5,
629 #. but in \f[I]<stdlib.h>\f[] everywhere else.
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid "(But see the BUGS section.)"
634 msgstr "(Но смотрите раздел ДЕФЕКТЫ)"
635
636 #. type: SH
637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
638 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
639 #, no-wrap
640 msgid "BUGS"
641 msgstr "ПРОГРАММНЫЕ ОШИБКИ"
642
643 #. .P
644 #. The libc4 and libc5 implementation contained a buffer overflow
645 #. (fixed in libc-5.4.13).
646 #. Thus, set-user-ID programs like
647 #. .BR mount (8)
648 #. needed a private version.
649 #. type: Plain text
650 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
651 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
652 msgid ""
653 "The POSIX.1-2001 standard version of this function is broken by design, "
654 "since it is impossible to determine a suitable size for the output buffer, "
655 "I<resolved_path>. According to POSIX.1-2001 a buffer of size B<PATH_MAX> "
656 "suffices, but B<PATH_MAX> need not be a defined constant, and may have to be "
657 "obtained using B<pathconf>(3). And asking B<pathconf>(3) does not really "
658 "help, since, on the one hand POSIX warns that the result of B<pathconf>(3) "
659 "may be huge and unsuitable for mallocing memory, and on the other hand "
660 "B<pathconf>(3) may return -1 to signify that B<PATH_MAX> is not bounded. "
661 "The I<resolved_path\\ ==\\ NULL> feature, not standardized in POSIX.1-2001, "
662 "but standardized in POSIX.1-2008, allows this design problem to be avoided."
663 msgstr ""
664 "Стандартная версия этой функции POSIX.1-2001 некорректна изначально, так как "
665 "невозможно определить подходящий размер для буфера результата. В "
666 "соответствии с POSIX.1-2001 буфера размером B<PATH_MAX> должно хватить, но "
667 "B<PATH_MAX> может не задаваться константой, а получаться через функцию "
668 "B<pathconf>(3). И запрос B<pathconf>(3) особо не поможет, так как с одной "
669 "стороны POSIX предупреждает, что результат B<pathconf>(3) может быть слишком "
670 "велик и не пригоден для выделения памяти. С другой стороны, B<pathconf>(3) "
671 "может возвратить -1 для обозначения того, что B<PATH_MAX> неограничен. "
672 "Свойство I<resolved_path\\ ==\\ NULL>, не стандартизованное в POSIX.1-2001, "
673 "но стандартизованное в POSIX.1-2008, позволяет избежать этой проблемы "
674 "проектирования."
675
676 #. type: SH
677 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
678 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
679 #, no-wrap
680 msgid "SEE ALSO"
681 msgstr "СМОТРИТЕ ТАКЖЕ"
682
683 #. type: Plain text
684 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
685 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
686 msgid ""
687 "B<realpath>(1), B<readlink>(2), B<canonicalize_file_name>(3), B<getcwd>(3), "
688 "B<pathconf>(3), B<sysconf>(3)"
689 msgstr ""
690 "B<realpath>(1), B<readlink>(2), B<canonicalize_file_name>(3), B<getcwd>(3), "
691 "B<pathconf>(3), B<sysconf>(3)"
692
693 #. type: TH
694 #: debian-trixie
695 #, no-wrap
696 msgid "2024-05-02"
697 msgstr "2 мая 2024 г."
698
699 #. type: TH
700 #: debian-trixie
701 #, no-wrap
702 msgid "Linux man-pages 6.9.1"
703 msgstr "Страницы руководства Linux 6.9.1"
704
705 #. type: Plain text
706 #: debian-trixie
707 msgid "Standard C library (I<libc>, I<-lc>)"
708 msgstr "Стандартная библиотека языка C (I<libc>, I<-lc>)"
709
710 #. type: TH
711 #: fedora-44 fedora-rawhide
712 #, no-wrap
713 msgid "2024-07-23"
714 msgstr "23 июля 2024 г."
715
716 #. type: TH
717 #: fedora-44 fedora-rawhide
718 #, no-wrap
719 msgid "Linux man-pages 6.13"
720 msgstr "Страницы руководства Linux 6.13"
721
722 #. type: TH
723 #: mageia-cauldron
724 #, no-wrap
725 msgid "Linux man-pages 6.17"
726 msgstr "Страницы руководства Linux 6.17"
727
728 #. type: TH
729 #: opensuse-leap-16-1 opensuse-tumbleweed
730 #, no-wrap
731 msgid "Linux man-pages (unreleased)"
732 msgstr "Страницы руководства Linux (не выпущены)"