Debian Codegraph @

templates/man3/realpath.3.pot

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