Debian Codegraph @

po/nl/man2/readlink.2.po

raw
1 # Dutch translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Jos Boersema <[email protected]>, 2001.
5 # Mario Blättermann <[email protected]>, 2019.
6 # Luc Castermans <[email protected]>, 2021-2023, 2024, 2025.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n 2.15\n"
10 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
11 "PO-Revision-Date: 2025-04-21 09:34+0200\n"
12 "Last-Translator: Luc Castermans <[email protected]>\n"
13 "Language-Team: Dutch <[email protected]>\n"
14 "Language: nl_NL\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1)\n"
19 "X-Generator: Lokalize 24.12.0\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 "readlink"
26 msgstr "readlink"
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 februari 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-paginas 6.17"
41
42 #. type: SH
43 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
44 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
45 #, no-wrap
46 msgid "NAME"
47 msgstr "NAAM"
48
49 #. type: Plain text
50 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
51 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
52 msgid "readlink, readlinkat - read value of a symbolic link"
53 msgstr "readlink, readlinkat - lees waarde van een symbolische koppeling"
54
55 #. type: SH
56 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
57 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
58 #, no-wrap
59 msgid "LIBRARY"
60 msgstr "BIBLIOTHEEK"
61
62 #. type: Plain text
63 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
64 #: opensuse-leap-16-1 opensuse-tumbleweed
65 msgid "Standard C library (I<libc>,\\ I<-lc>)"
66 msgstr "Standaard C bibliotheek (I<libc>, I<-lc>)"
67
68 #. type: SH
69 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
70 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
71 #, no-wrap
72 msgid "SYNOPSIS"
73 msgstr "SAMENVATTING"
74
75 #. type: Plain text
76 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
77 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
78 #, no-wrap
79 msgid "B<#include E<lt>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, fuzzy, no-wrap
86 #| msgid ""
87 #| "B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
88 #| "B< char >I<buf>B<[restrict .>I<bufsiz>B<], size_t >I<bufsiz>B<);>\n"
89 msgid ""
90 "B<ssize_t readlink(>size_t bufsiz;\n"
91 "B< const char *restrict >I<path>B<,>\n"
92 "B< char >I<buf>B<[restrict >I<bufsiz>B<], size_t >I<bufsiz>B<);>\n"
93 msgstr ""
94 "B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<padnaam>B<,>\n"
95 "B< char >I<buf>B<[restrict .>I<bufmaat>B<], size_t >I<bufmaat>B<);>\n"
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 #, no-wrap
101 msgid ""
102 "B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n"
103 "B<#include E<lt>unistd.hE<gt>>\n"
104 msgstr ""
105 "B<#include E<lt>fcntl.hE<gt> >/* Definitie van of B<AT_*> constanten */\n"
106 "B<#include E<lt>unistd.hE<gt>>\n"
107
108 #. type: Plain text
109 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
110 #: opensuse-tumbleweed
111 #, fuzzy, no-wrap
112 #| msgid ""
113 #| "B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
114 #| "B< char >I<buf>B<[restrict .>I<bufsiz>B<], size_t >I<bufsiz>B<);>\n"
115 msgid ""
116 "B<ssize_t readlinkat(>size_t bufsiz;\n"
117 "B< int >I<dirfd>B<, const char *restrict >I<path>B<,>\n"
118 "B< char >I<buf>B<[restrict >I<bufsiz>B<], size_t >I<bufsiz>B<);>\n"
119 msgstr ""
120 "B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<padnaam>B<,>\n"
121 "B< char >I<buf>B<[restrict .>I<bufmaat>B<], size_t >I<bufmaat>B<);>\n"
122
123 #. type: Plain text
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 msgid ""
127 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
128 msgstr ""
129 "Feature Test Macro Requirements voor glibc (zie B<feature_test_macros>(7)):"
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid "B<readlink>():"
135 msgstr "B<readlink>():"
136
137 #. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid ""
143 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
144 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
145 msgstr ""
146 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n"
147 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid "B<readlinkat>():"
153 msgstr "B<readlinkat>():"
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 #, no-wrap
159 msgid ""
160 " Since glibc 2.10:\n"
161 " _POSIX_C_SOURCE E<gt>= 200809L\n"
162 " Before glibc 2.10:\n"
163 " _ATFILE_SOURCE\n"
164 msgstr ""
165 " Vanaf glibc 2.10:\n"
166 " _POSIX_C_SOURCE E<gt>= 200809L\n"
167 " Voor glibc 2.10:\n"
168 " _ATFILE_SOURCE\n"
169
170 #. type: SH
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 #, no-wrap
174 msgid "DESCRIPTION"
175 msgstr "BESCHRIJVING"
176
177 #. type: Plain text
178 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
179 #: opensuse-tumbleweed
180 #, fuzzy
181 #| msgid ""
182 #| "B<readlink>() places the contents of the symbolic link I<pathname> in "
183 #| "the buffer I<buf>, which has size I<bufsiz>. B<readlink>() does not "
184 #| "append a terminating null byte to I<buf>. It will (silently) truncate "
185 #| "the contents (to a length of I<bufsiz> characters), in case the buffer is "
186 #| "too small to hold all of the contents."
187 msgid ""
188 "B<readlink>() places the contents of the symbolic link I<path> in the "
189 "buffer I<buf>, which has size I<bufsiz>. B<readlink>() does not append a "
190 "terminating null byte to I<buf>. It will (silently) truncate the contents "
191 "(to a length of I<bufsiz> characters), in case the buffer is too small to "
192 "hold all of the contents."
193 msgstr ""
194 "B<readlink>() plaatst de inhoud van de symbolische koppeling I<padnaam> in "
195 "de buffer I<buf>, die de grootte I<bufmaat> heeft. B<readlink>() voegt geen "
196 "B<NULL> byte toe aan I<buf>. Het zal (stilzwijgend) de inhoud afkappen (bij "
197 "de lengte van I<bufmaat> tekens), in het geval dat de buffer te klein is om "
198 "de hele inhoud te bevatten."
199
200 #. type: SS
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 #, no-wrap
204 msgid "readlinkat()"
205 msgstr "readlinkat()"
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "The B<readlinkat>() system call operates in exactly the same way as "
212 "B<readlink>(), except for the differences described here."
213 msgstr ""
214 "De B<readlinkat>() systeem aanroep werkt op exact dezelfde manier als "
215 "B<readlink>(), behalve voor de hier beschreven verschillen."
216
217 #. type: Plain text
218 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
219 #: opensuse-tumbleweed
220 #, fuzzy
221 #| msgid ""
222 #| "If the pathname given in I<pathname> is relative, then it is interpreted "
223 #| "relative to the directory referred to by the file descriptor I<dirfd> "
224 #| "(rather than relative to the current working directory of the calling "
225 #| "process, as is done by B<readlink>() for a relative pathname)."
226 msgid ""
227 "If I<path> is relative, then it is interpreted relative to the directory "
228 "referred to by the file descriptor I<dirfd> (rather than relative to the "
229 "current working directory of the calling process, as is done by "
230 "B<readlink>() for a relative pathname)."
231 msgstr ""
232 "Als de padnaam gegeven in I<padnaam> relatief is, dan wordt deze "
233 "geïnterpreteerd als zijnde relatief aan de map die gerefereerd wordt door de "
234 "file beschrijving I<dirfd> (in plaats van relatief aan de huidige werkmap "
235 "van het aanroepende proces, zoals gedaan door B<readlink>() voor een "
236 "relatieve padnaam)."
237
238 #. type: Plain text
239 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
240 #: opensuse-tumbleweed
241 #, fuzzy
242 #| msgid ""
243 #| "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
244 #| "then I<pathname> is interpreted relative to the current working directory "
245 #| "of the calling process (like B<readlink>())."
246 msgid ""
247 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
248 "I<path> is interpreted relative to the current working directory of the "
249 "calling process (like B<readlink>())."
250 msgstr ""
251 "Als I<padnaam> relatief is en I<dirfd> de speciale waarde B<AT_FDCWD> heeft, "
252 "dan wordt I<padnaam> geïnterpreteerd als relatief aan de huidige werkmap van "
253 "het aanroepende proces (zoals B<readlink>()). "
254
255 #. type: Plain text
256 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
257 #: opensuse-tumbleweed
258 msgid "If I<path> is absolute, then I<dirfd> is ignored."
259 msgstr "Als I<padnaam> absoluut is, dan wordt I<mapbi> genegeerd. "
260
261 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
262 #. type: Plain text
263 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
264 #: opensuse-tumbleweed
265 #, fuzzy
266 #| msgid ""
267 #| "Since Linux 2.6.39, I<pathname> can be an empty string, in which case the "
268 #| "call operates on the symbolic link referred to by I<dirfd> (which should "
269 #| "have been obtained using B<open>(2) with the B<O_PATH> and B<O_NOFOLLOW> "
270 #| "flags)."
271 msgid ""
272 "Since Linux 2.6.39, I<path> can be an empty string, in which case the call "
273 "operates on the symbolic link referred to by I<dirfd> (which should have "
274 "been obtained using B<open>(2) with the B<O_PATH> and B<O_NOFOLLOW> flags)."
275 msgstr ""
276 "Vanaf Linux 2.6.39 mag I<padnaam> een lege tekenreeks zijn, in welk geval de "
277 "aanroep uitgaat van de symbolische koppeling zoals aangewezen door I<dirfd> "
278 "(die moet verkregen zijn door gebruik van B<open>(2) met de B<O_PATH> en "
279 "B<O_NOFOLLOW> vlaggen)."
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid "See B<openat>(2) for an explanation of the need for B<readlinkat>()."
285 msgstr "Zie B<openat>(2) voor de uitleg over de noodzaak van B<readlinkat>()."
286
287 #. type: SH
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "RETURN VALUE"
292 msgstr "EIND WAARDE"
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid ""
298 "On success, these calls return the number of bytes placed in I<buf>. (If "
299 "the returned value equals I<bufsiz>, then truncation may have occurred.) On "
300 "error, -1 is returned and I<errno> is set to indicate the error."
301 msgstr ""
302 "Bij succes, geven deze aanroepen het aantal bytes terug dat in de buffer "
303 "werd geplaatst (als de teruggegeven waarde gelijk is aan I<bufsiz>, dan kan "
304 "afbreken zijn opgetreden.) Bij de fout wordt -1 teruggegeven en wordt "
305 "I<errno> gezet om de fout aan te geven."
306
307 #. type: SH
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "ERRORS"
312 msgstr "FOUTEN"
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<EACCES>"
319 msgstr "B<EACCES>"
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 ""
325 "Search permission is denied for a component of the path prefix. (See also "
326 "B<path_resolution>(7).)"
327 msgstr ""
328 "Zoek toestemming werd geweigerd voor een deel van het pad voorvoegsel. (Zie "
329 "ook B<path_resolution>(7).)"
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<EBADF>"
336 msgstr "B<EBADF>"
337
338 #. type: Plain text
339 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
340 #: opensuse-tumbleweed
341 #, fuzzy
342 #| msgid ""
343 #| "(B<readlinkat>()) I<pathname> is relative but I<dirfd> is neither "
344 #| "B<AT_FDCWD> nor a valid file descriptor."
345 msgid ""
346 "(B<readlinkat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> "
347 "nor a valid file descriptor."
348 msgstr ""
349 "(B<readlinkat>()) I<pathname> is relatief maar I<dirfd> is noch B<AT_FDCWD> "
350 "noch een geldige bestandsindicator."
351
352 #. type: TP
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "B<EFAULT>"
357 msgstr "B<EFAULT>"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid "I<buf> extends outside the process's allocated address space."
363 msgstr ""
364 "I<buf> strekt zich uit voorbij de aan het proces toegewezen adres ruimte."
365
366 #. type: TP
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "B<EINVAL>"
371 msgstr "B<EINVAL>"
372
373 #. At the glibc level, bufsiz is unsigned, so this error can only occur
374 #. if bufsiz==0. However, the in the kernel syscall, bufsiz is signed,
375 #. and this error can also occur if bufsiz < 0.
376 #. See: http://thread.gmane.org/gmane.linux.man/380
377 #. Subject: [patch 0/3] [RFC] kernel/glibc mismatch of "readlink" syscall?
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid "I<bufsiz> is not positive."
382 msgstr "I<bufmaat> is niet positief."
383
384 #. type: Plain text
385 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
386 #: opensuse-tumbleweed
387 #, fuzzy
388 #| msgid ""
389 #| "The named file (i.e., the final filename component of I<pathname>) is "
390 #| "not a symbolic link."
391 msgid ""
392 "The named file (i.e., the final filename component of I<path>) is not a "
393 "symbolic link."
394 msgstr ""
395 "Het genoemde bestand (m.a.w. de uiteindelijke bestandsnaam component van "
396 "I<padnaam> is geen symbolische koppeling."
397
398 #. type: TP
399 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
400 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
401 #, no-wrap
402 msgid "B<EIO>"
403 msgstr "B<EIO>"
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 "An I/O error occurred while reading from the filesystem."
409 msgstr ""
410 "Een In/Uit fout trad op terwijl er van het bestandsysteem gelezen werd."
411
412 #. type: TP
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 #, no-wrap
416 msgid "B<ELOOP>"
417 msgstr "B<ELOOP>"
418
419 #. type: Plain text
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 msgid "Too many symbolic links were encountered in translating the pathname."
423 msgstr ""
424 "Teveel symbolische koppelingen werden tegengekomen bij het vertalen van de "
425 "padnaam."
426
427 #. type: TP
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "B<ENAMETOOLONG>"
432 msgstr "B<ENAMETOOLONG>"
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid "A pathname, or a component of a pathname, was too long."
438 msgstr "Een padnaam, of een deel van een padnaam, was te lang."
439
440 #. type: TP
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid "B<ENOENT>"
445 msgstr "B<ENOENT>"
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid "The named file does not exist."
451 msgstr "Het genoemde bestand bestaat niet."
452
453 #. type: TP
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid "B<ENOMEM>"
458 msgstr "B<ENOMEM>"
459
460 #. type: Plain text
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 msgid "Insufficient kernel memory was available."
464 msgstr "Onvoldoende kernelgeheugen voorhanden."
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<ENOTDIR>"
471 msgstr "B<ENOTDIR>"
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 "A component of the path prefix is not a directory."
477 msgstr "Een deel van het pad-voorvoegsel is geen map."
478
479 #. type: Plain text
480 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
481 #: opensuse-tumbleweed
482 #, fuzzy
483 #| msgid ""
484 #| "(B<readlinkat>()) I<pathname> is relative and I<dirfd> is a file "
485 #| "descriptor referring to a file other than a directory."
486 msgid ""
487 "(B<readlinkat>()) I<path> is relative and I<dirfd> is a file descriptor "
488 "referring to a file other than a directory."
489 msgstr ""
490 "I<padnaam> is relatief en I<mapbi> is een bestandsindicator die naar een "
491 "bestand wijst dat geen map is."
492
493 #. type: SH
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "STANDARDS"
498 msgstr "STANDAARDEN"
499
500 #. type: Plain text
501 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
502 #: opensuse-tumbleweed
503 msgid "POSIX.1-2024."
504 msgstr "POSIX.1-2024."
505
506 #. type: SH
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 #, no-wrap
510 msgid "HISTORY"
511 msgstr "HISTORIE"
512
513 #. type: TP
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 #, no-wrap
517 msgid "B<readlink>()"
518 msgstr "B<readlink>()"
519
520 #. type: Plain text
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 msgid "4.4BSD (first appeared in 4.2BSD), POSIX.1-2001, POSIX.1-2008."
524 msgstr ""
525 "4.4BSD (verscheen voor het eerst in 4.2BSD), POSIX.1-2001, POSIX.1-2008."
526
527 #. type: TP
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 #, no-wrap
531 msgid "B<readlinkat>()"
532 msgstr "B<readlinkat>()"
533
534 #. type: Plain text
535 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
536 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
537 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
538 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
539
540 #. type: Plain text
541 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
542 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
543 msgid ""
544 "Up to and including glibc 2.4, the return type of B<readlink>() was "
545 "declared as I<int>. Nowadays, the return type is declared as I<ssize_t>, as "
546 "(newly) required in POSIX.1-2001."
547 msgstr ""
548 "Tot en met glibc 2.4 was het uitvoer type van B<readlink>() gedeclareerd als "
549 "I<int>. Tegenwoordig is het uitvoer type gedeclareerd als I<ssize_t>, als "
550 "(nieuw) vereist in POSIX.1-2001."
551
552 #. type: SS
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "glibc"
557 msgstr "glibc"
558
559 #. type: Plain text
560 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
561 #: opensuse-tumbleweed
562 #, fuzzy
563 #| msgid ""
564 #| "On older kernels where B<readlinkat>() is unavailable, the glibc wrapper "
565 #| "function falls back to the use of B<readlink>(). When I<pathname> is a "
566 #| "relative pathname, glibc constructs a pathname based on the symbolic link "
567 #| "in I</proc/self/fd> that corresponds to the I<dirfd> argument."
568 msgid ""
569 "On older kernels where B<readlinkat>() is unavailable, the glibc wrapper "
570 "function falls back to the use of B<readlink>(). When I<path> is relative, "
571 "glibc constructs a pathname based on the symbolic link in I</proc/self/fd> "
572 "that corresponds to the I<dirfd> argument."
573 msgstr ""
574 "Op ouder kernels waar B<readlinkat>() niet beschikbaar is valt de glibc "
575 "omwikkel functie terug op het gebruik van B<readlink>(). Wanneer I<padnaam> "
576 "een relatieve padnaam is dan construeert glibc een padnaam gebaseerd op de "
577 "symbolische koppeling in I</proc/self/fd> die overeenkomt met het I<dirfd> "
578 "argument."
579
580 #. type: SH
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 #, no-wrap
584 msgid "NOTES"
585 msgstr "OPMERKINGEN"
586
587 #. type: Plain text
588 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
589 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
590 msgid ""
591 "Using a statically sized buffer might not provide enough room for the "
592 "symbolic link contents. The required size for the buffer can be obtained "
593 "from the I<stat.st_size> value returned by a call to B<lstat>(2) on the "
594 "link. However, the number of bytes written by B<readlink>() and "
595 "B<readlinkat>() should be checked to make sure that the size of the "
596 "symbolic link did not increase between the calls. Dynamically allocating "
597 "the buffer for B<readlink>() and B<readlinkat>() also addresses a common "
598 "portability problem when using B<PATH_MAX> for the buffer size, as this "
599 "constant is not guaranteed to be defined per POSIX if the system does not "
600 "have such limit."
601 msgstr ""
602 "Gebruik van een buffer met een statische grootte kan niet genoeg ruimte "
603 "opleveren voor de inhoud van de symbolische koppeling. De vereiste grootte "
604 "van de buffer kan worden verkregen van de I<stat_st_size> waarde zoals "
605 "teruggegeven door B<lstat>(2) op de koppeling. Echter moet het aantal door "
606 "B<readlink>() en B<readlinkat>() geschreven bytes gecontroleerd worden om er "
607 "van zeker te zijn dat de grootte van de symbolische koppeling niet toenam "
608 "tussen de twee aanroepen in. Het dynamisch toewijzen van de buffer voor "
609 "B<readlink>() en B<readlinkat>() adresseert ook een vaak voorkomend "
610 "portabiliteit probleem bij het gebruik van B<PATH_MAX> voor de buffer "
611 "grootte, omdat deze constante niet gegarandeerd gedefinieerd wordt conform "
612 "POSIX als het systeem niet deze limiet heeft. "
613
614 #. type: SH
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 #, no-wrap
618 msgid "EXAMPLES"
619 msgstr "VOORBEELDEN"
620
621 #. type: Plain text
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 msgid ""
625 "The following program allocates the buffer needed by B<readlink>() "
626 "dynamically from the information provided by B<lstat>(2), falling back to a "
627 "buffer of size B<PATH_MAX> in cases where B<lstat>(2) reports a size of "
628 "zero."
629 msgstr ""
630 "Het volgende programma wijst de door B<readlink>() benodigde buffer "
631 "dynamisch toe aan de hand van de informatie voorzien door B<lstat>(2), met "
632 "terug vallende naar een buffer van B<PATH_MAX> grootte in die gevallen waar "
633 "B<lstat>(2) een grootte van nul meldt."
634
635 #. type: Plain text
636 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
637 #: opensuse-tumbleweed
638 #, fuzzy, no-wrap
639 #| msgid ""
640 #| "#include E<lt>limits.hE<gt>\n"
641 #| "#include E<lt>stdio.hE<gt>\n"
642 #| "#include E<lt>stdlib.hE<gt>\n"
643 #| "#include E<lt>sys/stat.hE<gt>\n"
644 #| "#include E<lt>sys/types.hE<gt>\n"
645 #| "#include E<lt>unistd.hE<gt>\n"
646 #| "\\&\n"
647 #| "int\n"
648 #| "main(int argc, char *argv[])\n"
649 #| "{\n"
650 #| " char *buf;\n"
651 #| " ssize_t nbytes, bufsiz;\n"
652 #| " struct stat sb;\n"
653 #| "\\&\n"
654 #| " if (argc != 2) {\n"
655 #| " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
656 #| " exit(EXIT_FAILURE);\n"
657 #| " }\n"
658 #| "\\&\n"
659 #| " if (lstat(argv[1], &sb) == -1) {\n"
660 #| " perror(\"lstat\");\n"
661 #| " exit(EXIT_FAILURE);\n"
662 #| " }\n"
663 #| "\\&\n"
664 #| " /* Add one to the link size, so that we can determine whether\n"
665 #| " the buffer returned by readlink() was truncated. */\n"
666 #| "\\&\n"
667 #| " bufsiz = sb.st_size + 1;\n"
668 #| "\\&\n"
669 #| " /* Some magic symlinks under (for example) /proc and /sys\n"
670 #| " report \\[aq]st_size\\[aq] as zero. In that case, take PATH_MAX as\n"
671 #| " a \"good enough\" estimate. */\n"
672 #| "\\&\n"
673 #| " if (sb.st_size == 0)\n"
674 #| " bufsiz = PATH_MAX;\n"
675 #| "\\&\n"
676 #| " buf = malloc(bufsiz);\n"
677 #| " if (buf == NULL) {\n"
678 #| " perror(\"malloc\");\n"
679 #| " exit(EXIT_FAILURE);\n"
680 #| " }\n"
681 #| "\\&\n"
682 #| " nbytes = readlink(argv[1], buf, bufsiz);\n"
683 #| " if (nbytes == -1) {\n"
684 #| " perror(\"readlink\");\n"
685 #| " exit(EXIT_FAILURE);\n"
686 #| " }\n"
687 #| "\\&\n"
688 #| " /* Print only \\[aq]nbytes\\[aq] of \\[aq]buf\\[aq], as it doesn't contain a terminating\n"
689 #| " null byte (\\[aq]\\[rs]0\\[aq]). */\n"
690 #| " printf(\"\\[aq]%s\\[aq] points to \\[aq]%.*s\\[aq]\\[rs]n\", argv[1], (int) nbytes, buf);\n"
691 #| "\\&\n"
692 #| " /* If the return value was equal to the buffer size, then\n"
693 #| " the link target was larger than expected (perhaps because the\n"
694 #| " target was changed between the call to lstat() and the call to\n"
695 #| " readlink()). Warn the user that the returned target may have\n"
696 #| " been truncated. */\n"
697 #| "\\&\n"
698 #| " if (nbytes == bufsiz)\n"
699 #| " printf(\"(Returned buffer may have been truncated)\\[rs]n\");\n"
700 #| "\\&\n"
701 #| " free(buf);\n"
702 #| " exit(EXIT_SUCCESS);\n"
703 #| "}\n"
704 msgid ""
705 "#include E<lt>limits.hE<gt>\n"
706 "#include E<lt>stdio.hE<gt>\n"
707 "#include E<lt>stdlib.hE<gt>\n"
708 "#include E<lt>sys/stat.hE<gt>\n"
709 "#include E<lt>sys/types.hE<gt>\n"
710 "#include E<lt>unistd.hE<gt>\n"
711 "\\&\n"
712 "int\n"
713 "main(int argc, char *argv[])\n"
714 "{\n"
715 " char *buf;\n"
716 " ssize_t nbytes, bufsiz;\n"
717 " struct stat sb;\n"
718 "\\&\n"
719 " if (argc != 2) {\n"
720 " fprintf(stderr, \"Usage: %s E<lt>pathE<gt>\\[rs]n\", argv[0]);\n"
721 " exit(EXIT_FAILURE);\n"
722 " }\n"
723 "\\&\n"
724 " if (lstat(argv[1], &sb) == -1) {\n"
725 " perror(\"lstat\");\n"
726 " exit(EXIT_FAILURE);\n"
727 " }\n"
728 "\\&\n"
729 " /* Add one to the link size, so that we can determine whether\n"
730 " the buffer returned by readlink() was truncated. */\n"
731 "\\&\n"
732 " bufsiz = sb.st_size + 1;\n"
733 "\\&\n"
734 " /* Some magic symlinks under (for example) /proc and /sys\n"
735 " report \\[aq]st_size\\[aq] as zero. In that case, take PATH_MAX as\n"
736 " a \"good enough\" estimate. */\n"
737 "\\&\n"
738 " if (sb.st_size == 0)\n"
739 " bufsiz = PATH_MAX;\n"
740 "\\&\n"
741 " buf = malloc(bufsiz);\n"
742 " if (buf == NULL) {\n"
743 " perror(\"malloc\");\n"
744 " exit(EXIT_FAILURE);\n"
745 " }\n"
746 "\\&\n"
747 " nbytes = readlink(argv[1], buf, bufsiz);\n"
748 " if (nbytes == -1) {\n"
749 " perror(\"readlink\");\n"
750 " exit(EXIT_FAILURE);\n"
751 " }\n"
752 "\\&\n"
753 " /* Print only \\[aq]nbytes\\[aq] of \\[aq]buf\\[aq], as it doesn't contain a terminating\n"
754 " null byte (\\[aq]\\[rs]0\\[aq]). */\n"
755 " printf(\"\\[aq]%s\\[aq] points to \\[aq]%.*s\\[aq]\\[rs]n\", argv[1], (int) nbytes, buf);\n"
756 "\\&\n"
757 " /* If the return value was equal to the buffer size, then\n"
758 " the link target was larger than expected (perhaps because the\n"
759 " target was changed between the call to lstat() and the call to\n"
760 " readlink()). Warn the user that the returned target may have\n"
761 " been truncated. */\n"
762 "\\&\n"
763 " if (nbytes == bufsiz)\n"
764 " printf(\"(Returned buffer may have been truncated)\\[rs]n\");\n"
765 "\\&\n"
766 " free(buf);\n"
767 " exit(EXIT_SUCCESS);\n"
768 "}\n"
769 msgstr ""
770 "#include E<lt>limits.hE<gt>\n"
771 "#include E<lt>stdio.hE<gt>\n"
772 "#include E<lt>stdlib.hE<gt>\n"
773 "#include E<lt>sys/stat.hE<gt>\n"
774 "#include E<lt>sys/types.hE<gt>\n"
775 "#include E<lt>unistd.hE<gt>\n"
776 "\\&\n"
777 "int\n"
778 "main(int argc, char *argv[])\n"
779 "{\n"
780 " char *buf;\n"
781 " ssize_t nbytes, bufsiz;\n"
782 " struct stat sb;\n"
783 "\\&\n"
784 " if (argc != 2) {\n"
785 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
786 " exit(EXIT_FAILURE);\n"
787 " }\n"
788 "\\&\n"
789 " if (lstat(argv[1], &sb) == -1) {\n"
790 " perror(\"lstat\");\n"
791 " exit(EXIT_FAILURE);\n"
792 " }\n"
793 "\\&\n"
794 " /* Add one to the link size, so that we can determine whether\n"
795 " the buffer returned by readlink() was truncated. */\n"
796 "\\&\n"
797 " bufsiz = sb.st_size + 1;\n"
798 "\\&\n"
799 " /* Some magic symlinks under (for example) /proc and /sys\n"
800 " report \\[aq]st_size\\[aq] as zero. In that case, take PATH_MAX as\n"
801 " a \"good enough\" estimate. */\n"
802 "\\&\n"
803 " if (sb.st_size == 0)\n"
804 " bufsiz = PATH_MAX;\n"
805 "\\&\n"
806 " buf = malloc(bufsiz);\n"
807 " if (buf == NULL) {\n"
808 " perror(\"malloc\");\n"
809 " exit(EXIT_FAILURE);\n"
810 " }\n"
811 "\\&\n"
812 " nbytes = readlink(argv[1], buf, bufsiz);\n"
813 " if (nbytes == -1) {\n"
814 " perror(\"readlink\");\n"
815 " exit(EXIT_FAILURE);\n"
816 " }\n"
817 "\\&\n"
818 " /* Print only \\[aq]nbytes\\[aq] of \\[aq]buf\\[aq], as it doesn't contain a terminating\n"
819 " null byte (\\[aq]\\[rs]0\\[aq]). */\n"
820 " printf(\"\\[aq]%s\\[aq] points to \\[aq]%.*s\\[aq]\\[rs]n\", argv[1], (int) nbytes, buf);\n"
821 "\\&\n"
822 " /* If the return value was equal to the buffer size, then\n"
823 " the link target was larger than expected (perhaps because the\n"
824 " target was changed between the call to lstat() and the call to\n"
825 " readlink()). Warn the user that the returned target may have\n"
826 " been truncated. */\n"
827 "\\&\n"
828 " if (nbytes == bufsiz)\n"
829 " printf(\"(Returned buffer may have been truncated)\\[rs]n\");\n"
830 "\\&\n"
831 " free(buf);\n"
832 " exit(EXIT_SUCCESS);\n"
833 "}\n"
834
835 #. SRC END
836 #. type: SH
837 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
838 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
839 #, no-wrap
840 msgid "SEE ALSO"
841 msgstr "ZIE OOK"
842
843 #. type: Plain text
844 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
845 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
846 msgid ""
847 "B<readlink>(1), B<lstat>(2), B<stat>(2), B<symlink>(2), B<realpath>(3), "
848 "B<path_resolution>(7), B<symlink>(7)"
849 msgstr ""
850 "B<readlink>(1), B<lstat>(2), B<stat>(2), B<symlink>(2), B<realpath>(3), "
851 "B<path_resolution>(7), B<symlink>(7)"
852
853 #. type: TH
854 #: debian-trixie
855 #, no-wrap
856 msgid "2024-06-15"
857 msgstr "15 juni 2024"
858
859 #. type: TH
860 #: debian-trixie
861 #, no-wrap
862 msgid "Linux man-pages 6.9.1"
863 msgstr "Linux man-paginas 6.9.1"
864
865 #. type: Plain text
866 #: debian-trixie
867 msgid "Standard C library (I<libc>, I<-lc>)"
868 msgstr "Standaard C bibliotheek (I<libc>, I<-lc>)"
869
870 #. type: Plain text
871 #: debian-trixie
872 #, no-wrap
873 msgid ""
874 "B<ssize_t readlink(const char *restrict >I<pathname>B<, char *restrict >I<buf>B<,>\n"
875 "B< size_t >I<bufsiz>B<);>\n"
876 msgstr ""
877 "B<ssize_t readlink(const char *restrict >I<padnaam>B<, char *restrict >I<buf>B<,>\n"
878 "B< size_t >I<bufmaat>B<);>\n"
879
880 #. type: Plain text
881 #: debian-trixie
882 #, no-wrap
883 msgid ""
884 "B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
885 "B< char *restrict >I<buf>B<, size_t >I<bufsiz>B<);>\n"
886 msgstr ""
887 "B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<padnaam>B<,>\n"
888 "B< char *restrict >I<buf>B<, size_t >I<bufmaat>B<);>\n"
889
890 #. type: Plain text
891 #: debian-trixie fedora-44 fedora-rawhide
892 msgid ""
893 "B<readlink>() places the contents of the symbolic link I<pathname> in the "
894 "buffer I<buf>, which has size I<bufsiz>. B<readlink>() does not append a "
895 "terminating null byte to I<buf>. It will (silently) truncate the contents "
896 "(to a length of I<bufsiz> characters), in case the buffer is too small to "
897 "hold all of the contents."
898 msgstr ""
899 "B<readlink>() plaatst de inhoud van de symbolische koppeling I<padnaam> in "
900 "de buffer I<buf>, die de grootte I<bufmaat> heeft. B<readlink>() voegt geen "
901 "B<NULL> byte toe aan I<buf>. Het zal (stilzwijgend) de inhoud afkappen (bij "
902 "de lengte van I<bufmaat> tekens), in het geval dat de buffer te klein is om "
903 "de hele inhoud te bevatten."
904
905 #. type: Plain text
906 #: debian-trixie fedora-44 fedora-rawhide
907 msgid ""
908 "If the pathname given in I<pathname> is relative, then it is interpreted "
909 "relative to the directory referred to by the file descriptor I<dirfd> "
910 "(rather than relative to the current working directory of the calling "
911 "process, as is done by B<readlink>() for a relative pathname)."
912 msgstr ""
913 "Als de padnaam gegeven in I<padnaam> relatief is, dan wordt deze "
914 "geïnterpreteerd als zijnde relatief aan de map die gerefereerd wordt door de "
915 "file beschrijving I<dirfd> (in plaats van relatief aan de huidige werkmap "
916 "van het aanroepende proces, zoals gedaan door B<readlink>() voor een "
917 "relatieve padnaam)."
918
919 #. type: Plain text
920 #: debian-trixie fedora-44 fedora-rawhide
921 msgid ""
922 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
923 "then I<pathname> is interpreted relative to the current working directory of "
924 "the calling process (like B<readlink>())."
925 msgstr ""
926 "Als I<padnaam> relatief is en I<dirfd> de speciale waarde B<AT_FDCWD> heeft, "
927 "dan wordt I<padnaam> geïnterpreteerd als relatief aan de huidige werkmap van "
928 "het aanroepende proces (zoals B<readlink>()). "
929
930 #. type: Plain text
931 #: debian-trixie fedora-44 fedora-rawhide
932 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
933 msgstr "Als I<padnaam> absoluut is, dan wordt I<mapbi> genegeerd."
934
935 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
936 #. type: Plain text
937 #: debian-trixie fedora-44 fedora-rawhide
938 msgid ""
939 "Since Linux 2.6.39, I<pathname> can be an empty string, in which case the "
940 "call operates on the symbolic link referred to by I<dirfd> (which should "
941 "have been obtained using B<open>(2) with the B<O_PATH> and B<O_NOFOLLOW> "
942 "flags)."
943 msgstr ""
944 "Vanaf Linux 2.6.39 mag I<padnaam> een lege tekenreeks zijn, in welk geval de "
945 "aanroep uitgaat van de symbolische koppeling zoals aangewezen door I<dirfd> "
946 "(die moet verkregen zijn door gebruik van B<open>(2) met de B<O_PATH> en "
947 "B<O_NOFOLLOW> vlaggen)."
948
949 #. type: Plain text
950 #: debian-trixie fedora-44 fedora-rawhide
951 msgid ""
952 "(B<readlinkat>()) I<pathname> is relative but I<dirfd> is neither "
953 "B<AT_FDCWD> nor a valid file descriptor."
954 msgstr ""
955 "(B<readlinkat>()) I<pathname> is relatief maar I<dirfd> is noch B<AT_FDCWD> "
956 "noch een geldige bestandsindicator."
957
958 #. type: Plain text
959 #: debian-trixie fedora-44 fedora-rawhide
960 msgid ""
961 "The named file (i.e., the final filename component of I<pathname>) is not a "
962 "symbolic link."
963 msgstr ""
964 "Het genoemde bestand (m.a.w. de uiteindelijke bestandsnaam component van "
965 "I<padnaam> is geen symbolische koppeling."
966
967 #. type: Plain text
968 #: debian-trixie fedora-44 fedora-rawhide
969 msgid ""
970 "(B<readlinkat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
971 "referring to a file other than a directory."
972 msgstr ""
973 "I<padnaam> is relatief en I<mapbi> is een bestandsindicator die naar een "
974 "bestand wijst dat geen map is."
975
976 #. type: Plain text
977 #: debian-trixie fedora-44 fedora-rawhide
978 msgid "POSIX.1-2008."
979 msgstr "POSIX.1-2008."
980
981 #. type: Plain text
982 #: debian-trixie fedora-44 fedora-rawhide
983 msgid ""
984 "On older kernels where B<readlinkat>() is unavailable, the glibc wrapper "
985 "function falls back to the use of B<readlink>(). When I<pathname> is a "
986 "relative pathname, glibc constructs a pathname based on the symbolic link in "
987 "I</proc/self/fd> that corresponds to the I<dirfd> argument."
988 msgstr ""
989 "Op ouder kernels waar B<readlinkat>() niet beschikbaar is valt de glibc "
990 "omwikkel functie terug op het gebruik van B<readlink>(). Wanneer I<padnaam> "
991 "een relatieve padnaam is dan construeert glibc een padnaam gebaseerd op de "
992 "symbolische koppeling in I</proc/self/fd> die overeenkomt met het I<dirfd> "
993 "argument."
994
995 #. type: Plain text
996 #: debian-trixie fedora-44 fedora-rawhide
997 #, no-wrap
998 msgid ""
999 "#include E<lt>limits.hE<gt>\n"
1000 "#include E<lt>stdio.hE<gt>\n"
1001 "#include E<lt>stdlib.hE<gt>\n"
1002 "#include E<lt>sys/stat.hE<gt>\n"
1003 "#include E<lt>sys/types.hE<gt>\n"
1004 "#include E<lt>unistd.hE<gt>\n"
1005 "\\&\n"
1006 "int\n"
1007 "main(int argc, char *argv[])\n"
1008 "{\n"
1009 " char *buf;\n"
1010 " ssize_t nbytes, bufsiz;\n"
1011 " struct stat sb;\n"
1012 "\\&\n"
1013 " if (argc != 2) {\n"
1014 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1015 " exit(EXIT_FAILURE);\n"
1016 " }\n"
1017 "\\&\n"
1018 " if (lstat(argv[1], &sb) == -1) {\n"
1019 " perror(\"lstat\");\n"
1020 " exit(EXIT_FAILURE);\n"
1021 " }\n"
1022 "\\&\n"
1023 " /* Add one to the link size, so that we can determine whether\n"
1024 " the buffer returned by readlink() was truncated. */\n"
1025 "\\&\n"
1026 " bufsiz = sb.st_size + 1;\n"
1027 "\\&\n"
1028 " /* Some magic symlinks under (for example) /proc and /sys\n"
1029 " report \\[aq]st_size\\[aq] as zero. In that case, take PATH_MAX as\n"
1030 " a \"good enough\" estimate. */\n"
1031 "\\&\n"
1032 " if (sb.st_size == 0)\n"
1033 " bufsiz = PATH_MAX;\n"
1034 "\\&\n"
1035 " buf = malloc(bufsiz);\n"
1036 " if (buf == NULL) {\n"
1037 " perror(\"malloc\");\n"
1038 " exit(EXIT_FAILURE);\n"
1039 " }\n"
1040 "\\&\n"
1041 " nbytes = readlink(argv[1], buf, bufsiz);\n"
1042 " if (nbytes == -1) {\n"
1043 " perror(\"readlink\");\n"
1044 " exit(EXIT_FAILURE);\n"
1045 " }\n"
1046 "\\&\n"
1047 " /* Print only \\[aq]nbytes\\[aq] of \\[aq]buf\\[aq], as it doesn't contain a terminating\n"
1048 " null byte (\\[aq]\\[rs]0\\[aq]). */\n"
1049 " printf(\"\\[aq]%s\\[aq] points to \\[aq]%.*s\\[aq]\\[rs]n\", argv[1], (int) nbytes, buf);\n"
1050 "\\&\n"
1051 " /* If the return value was equal to the buffer size, then\n"
1052 " the link target was larger than expected (perhaps because the\n"
1053 " target was changed between the call to lstat() and the call to\n"
1054 " readlink()). Warn the user that the returned target may have\n"
1055 " been truncated. */\n"
1056 "\\&\n"
1057 " if (nbytes == bufsiz)\n"
1058 " printf(\"(Returned buffer may have been truncated)\\[rs]n\");\n"
1059 "\\&\n"
1060 " free(buf);\n"
1061 " exit(EXIT_SUCCESS);\n"
1062 "}\n"
1063 msgstr ""
1064 "#include E<lt>limits.hE<gt>\n"
1065 "#include E<lt>stdio.hE<gt>\n"
1066 "#include E<lt>stdlib.hE<gt>\n"
1067 "#include E<lt>sys/stat.hE<gt>\n"
1068 "#include E<lt>sys/types.hE<gt>\n"
1069 "#include E<lt>unistd.hE<gt>\n"
1070 "\\&\n"
1071 "int\n"
1072 "main(int argc, char *argv[])\n"
1073 "{\n"
1074 " char *buf;\n"
1075 " ssize_t nbytes, bufsiz;\n"
1076 " struct stat sb;\n"
1077 "\\&\n"
1078 " if (argc != 2) {\n"
1079 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1080 " exit(EXIT_FAILURE);\n"
1081 " }\n"
1082 "\\&\n"
1083 " if (lstat(argv[1], &sb) == -1) {\n"
1084 " perror(\"lstat\");\n"
1085 " exit(EXIT_FAILURE);\n"
1086 " }\n"
1087 "\\&\n"
1088 " /* Add one to the link size, so that we can determine whether\n"
1089 " the buffer returned by readlink() was truncated. */\n"
1090 "\\&\n"
1091 " bufsiz = sb.st_size + 1;\n"
1092 "\\&\n"
1093 " /* Some magic symlinks under (for example) /proc and /sys\n"
1094 " report \\[aq]st_size\\[aq] as zero. In that case, take PATH_MAX as\n"
1095 " a \"good enough\" estimate. */\n"
1096 "\\&\n"
1097 " if (sb.st_size == 0)\n"
1098 " bufsiz = PATH_MAX;\n"
1099 "\\&\n"
1100 " buf = malloc(bufsiz);\n"
1101 " if (buf == NULL) {\n"
1102 " perror(\"malloc\");\n"
1103 " exit(EXIT_FAILURE);\n"
1104 " }\n"
1105 "\\&\n"
1106 " nbytes = readlink(argv[1], buf, bufsiz);\n"
1107 " if (nbytes == -1) {\n"
1108 " perror(\"readlink\");\n"
1109 " exit(EXIT_FAILURE);\n"
1110 " }\n"
1111 "\\&\n"
1112 " /* Print only \\[aq]nbytes\\[aq] of \\[aq]buf\\[aq], as it doesn't contain a terminating\n"
1113 " null byte (\\[aq]\\[rs]0\\[aq]). */\n"
1114 " printf(\"\\[aq]%s\\[aq] points to \\[aq]%.*s\\[aq]\\[rs]n\", argv[1], (int) nbytes, buf);\n"
1115 "\\&\n"
1116 " /* If the return value was equal to the buffer size, then\n"
1117 " the link target was larger than expected (perhaps because the\n"
1118 " target was changed between the call to lstat() and the call to\n"
1119 " readlink()). Warn the user that the returned target may have\n"
1120 " been truncated. */\n"
1121 "\\&\n"
1122 " if (nbytes == bufsiz)\n"
1123 " printf(\"(Returned buffer may have been truncated)\\[rs]n\");\n"
1124 "\\&\n"
1125 " free(buf);\n"
1126 " exit(EXIT_SUCCESS);\n"
1127 "}\n"
1128
1129 #. type: TH
1130 #: fedora-44 fedora-rawhide
1131 #, no-wrap
1132 msgid "2024-11-28"
1133 msgstr "28 november 2024"
1134
1135 #. type: TH
1136 #: fedora-44 fedora-rawhide
1137 #, no-wrap
1138 msgid "Linux man-pages 6.13"
1139 msgstr "Linux man-paginas 6.13"
1140
1141 #. type: Plain text
1142 #: fedora-44 fedora-rawhide
1143 #, no-wrap
1144 msgid ""
1145 "B<ssize_t readlink(const char *restrict >I<pathname>B<,>\n"
1146 "B< char >I<buf>B<[restrict .>I<bufsiz>B<], size_t >I<bufsiz>B<);>\n"
1147 msgstr ""
1148 "BB<ssize_t readlink(const char *restrict >I<padnaam>B<,>\n"
1149 "B< char >I<buf>B<[restrict .>I<butmaat>B<], size_t >I<bufmaat>B<);>\n"
1150
1151 #. type: Plain text
1152 #: fedora-44 fedora-rawhide
1153 #, no-wrap
1154 msgid ""
1155 "B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
1156 "B< char >I<buf>B<[restrict .>I<bufsiz>B<], size_t >I<bufsiz>B<);>\n"
1157 msgstr ""
1158 "B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<padnaam>B<,>\n"
1159 "B< char >I<buf>B<[restrict .>I<bufmaat>B<], size_t >I<bufmaat>B<);>\n"
1160
1161 #. type: TH
1162 #: mageia-cauldron
1163 #, no-wrap
1164 msgid "Linux man-pages 6.17"
1165 msgstr "Linux man-paginas 6.17"
1166
1167 #. type: TH
1168 #: opensuse-leap-16-1 opensuse-tumbleweed
1169 #, no-wrap
1170 msgid "Linux man-pages (unreleased)"
1171 msgstr "Linux man-paginas (niet vrijgegeven)"