Debian Codegraph @

po/nl/man2/stat.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:44+0200\n"
11 "PO-Revision-Date: 2025-04-21 10:09+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 "stat"
26 msgstr "stat"
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 "stat, fstat, lstat, fstatat - get file status"
53 msgstr "stat, fstat, lstat, fstatat - verkrijg bestand status."
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>sys/stat.hE<gt>>\n"
80 msgstr "B<#include E<lt>sys/stat.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<int stat(const char *restrict >I<pathname>B<,>\n"
88 #| "B< struct stat *restrict >I<statbuf>B<);>\n"
89 #| "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
90 #| "B<int lstat(const char *restrict >I<pathname>B<,>\n"
91 #| "B< struct stat *restrict >I<statbuf>B<);>\n"
92 msgid ""
93 "B<int stat(const char *restrict >I<path>B<,>\n"
94 "B< struct stat *restrict >I<statbuf>B<);>\n"
95 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
96 "B<int lstat(const char *restrict >I<path>B<,>\n"
97 "B< struct stat *restrict >I<statbuf>B<);>\n"
98 msgstr ""
99 "B<int stat(const char *beperk >I<padnaam>B<,>\n"
100 "B< struct stat *beperk >I<statbuf>B<);>\n"
101 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
102 "B<int lstat(const char *beperk >I<padnaam>B<,>\n"
103 "B< struct stat *beperk >I<statbuf>B<);>\n"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 #, no-wrap
109 msgid ""
110 "B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n"
111 "B<#include E<lt>sys/stat.hE<gt>>\n"
112 msgstr ""
113 "B<#include E<lt>fcntl.hE<gt> >/* Definitie van B<AT_*> constanten */\n"
114 "B<#include E<lt>sys/stat.hE<gt>>\n"
115
116 #. type: Plain text
117 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
118 #: opensuse-tumbleweed
119 #, fuzzy, no-wrap
120 #| msgid ""
121 #| "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
122 #| "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
123 msgid ""
124 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<path>B<,>\n"
125 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
126 msgstr ""
127 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<padnaam>B<,>\n"
128 "B< struct stat *beperk >I<statbuf>B<, int >I<vlaggen>B<);>\n"
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid ""
134 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
135 msgstr ""
136 "Feature Test Macro Requirements voor glibc (zie B<feature_test_macros>(7)):"
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid "B<lstat>():"
142 msgstr "B<lstat>():"
143
144 #. _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid ""
150 " /* Since glibc 2.20 */ _DEFAULT_SOURCE\n"
151 " || _XOPEN_SOURCE E<gt>= 500\n"
152 " || /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
153 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
154 msgstr ""
155 " /* Vanaf glibc 2.20 */ _DEFAULT_SOURCE\n"
156 " || _XOPEN_SOURCE E<gt>= 500\n"
157 " || /* Vanaf glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
158 " || /* glibc 2.19 en eerder */ _BSD_SOURCE\n"
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid "B<fstatat>():"
164 msgstr "B<fstatat>():"
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid ""
171 " Since glibc 2.10:\n"
172 " _POSIX_C_SOURCE E<gt>= 200809L\n"
173 " Before glibc 2.10:\n"
174 " _ATFILE_SOURCE\n"
175 msgstr ""
176 " Vanaf glibc 2.10:\n"
177 " _POSIX_C_SOURCE E<gt>= 200809L\n"
178 " Voor glibc 2.10:\n"
179 " _ATFILE_SOURCE\n"
180
181 #. type: SH
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 #, no-wrap
185 msgid "DESCRIPTION"
186 msgstr "BESCHRIJVING"
187
188 #. type: Plain text
189 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
190 #: opensuse-tumbleweed
191 #, fuzzy
192 #| msgid ""
193 #| "These functions return information about a file, in the buffer pointed to "
194 #| "by I<statbuf>. No permissions are required on the file itself, but\\"
195 #| "[em]in the case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute "
196 #| "(search) permission is required on all of the directories in I<pathname> "
197 #| "that lead to the file."
198 msgid ""
199 "These functions return information about a file, in the buffer pointed to by "
200 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
201 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
202 "permission is required on all of the directories in I<path> that lead to the "
203 "file."
204 msgstr ""
205 "Deze functies retourneren informatie over een bestand in de buffer "
206 "aangewezen door I<statbuf>. Er zijn geen rechten vereist op het bestand "
207 "zelf, maar \\[em]in het geval van B<stat>(), B<fstatat>() en B<lstat>()\\"
208 "[em] zijn uitvoer (zoek) rechten vereist op alle mappen in I<padnaam> die "
209 "naar het bestand leiden."
210
211 #. type: Plain text
212 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
213 #: opensuse-tumbleweed
214 #, fuzzy
215 #| msgid ""
216 #| "B<stat>() and B<fstatat>() retrieve information about the file pointed "
217 #| "to by I<pathname>; the differences for B<fstatat>() are described below."
218 msgid ""
219 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
220 "by I<path>; the differences for B<fstatat>() are described below."
221 msgstr ""
222 "B<stat>() en B<fstatat>() geven informatie over het bestand aangewezen door "
223 "I<padnaam>; de verschillen voor B<fstatat>() worden hieronder beschreven."
224
225 #. type: Plain text
226 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
227 #: opensuse-tumbleweed
228 #, fuzzy
229 #| msgid ""
230 #| "B<lstat>() is identical to B<stat>(), except that if I<pathname> is a "
231 #| "symbolic link, then it returns information about the link itself, not the "
232 #| "file that the link refers to."
233 msgid ""
234 "B<lstat>() is identical to B<stat>(), except that if I<path> is a symbolic "
235 "link, then it returns information about the link itself, not the file that "
236 "the link refers to."
237 msgstr ""
238 "B<lstat>() is gelijk aan B<stat>(), behalve dat als I<padnaam> een "
239 "symbolische koppeling is, dan informatie over de koppeling zéqlf wordt "
240 "teruggegeven, en niet van het bestand waar naar verwezen wordt."
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 msgid ""
246 "B<fstat>() is identical to B<stat>(), except that the file about which "
247 "information is to be retrieved is specified by the file descriptor I<fd>."
248 msgstr ""
249 "B<fstat>() is gelijk aan B<stat>(), behalve dat het bestand van welk de "
250 "informatie wordt opgevraagd wordt gespecificeerd door de bestandsindicator "
251 "I<fd>. "
252
253 #. type: SS
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 #, no-wrap
257 msgid "The stat structure"
258 msgstr "De stat structuur"
259
260 #. type: Plain text
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 msgid ""
264 "All of these system calls return a I<stat> structure (see B<stat>(3type))."
265 msgstr ""
266 "Al deze systeem aanroepen retourneren een I<stat> structure (zie "
267 "B<stat>(3type)):"
268
269 #. Background: inode attributes are modified with i_mutex held, but
270 #. read by stat() without taking the mutex.
271 #. type: Plain text
272 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
273 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
274 msgid ""
275 "I<Note>: for performance and simplicity reasons, different fields in the "
276 "I<stat> structure may contain state information from different moments "
277 "during the execution of the system call. For example, if I<st_mode> or "
278 "I<st_uid> is changed by another process by calling B<chmod>(2) or "
279 "B<chown>(2), B<stat>() might return the old I<st_mode> together with the "
280 "new I<st_uid>, or the old I<st_uid> together with the new I<st_mode>."
281 msgstr ""
282 "I<Opmerking>: vanwege prestatie redenen en vanwege de eenvoud, mogen diverse "
283 "velden in de I<stat> structuur status informatie bevatten over verschillende "
284 "momenten gedurende de uitvoer van de systeem aanroep. Bijvoorbeeld, als "
285 "I<st_mode> of I<st_uid> werd veranderd door een ander proces door de aanroep "
286 "van B<chmod>(2) of B<chown>(2), dan mag B<stat>(2) de oude I<st_mode> "
287 "teruggeven, samen met de nieuwe I<st_uid>, of de oude I<st_uid> samen met de "
288 "nieuwe I<st_mode>."
289
290 #. type: SS
291 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
292 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
293 #, no-wrap
294 msgid "fstatat()"
295 msgstr "fstatat()"
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "The B<fstatat>() system call is a more general interface for accessing file "
302 "information which can still provide exactly the behavior of each of "
303 "B<stat>(), B<lstat>(), and B<fstat>()."
304 msgstr ""
305 "De B<fstatat>() systeem aanroep is een meer algemeen interface voor het "
306 "verkrijgen van bestandsinformatie dat nog steeds exact hetzelfde gedrag kan "
307 "bieden van elk van B<stat>(), B<lstat>(), and B<fstat>()."
308
309 #. type: Plain text
310 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
311 #: opensuse-tumbleweed
312 #, fuzzy
313 #| msgid ""
314 #| "If the pathname given in I<pathname> is relative, then it is interpreted "
315 #| "relative to the directory referred to by the file descriptor I<dirfd> "
316 #| "(rather than relative to the current working directory of the calling "
317 #| "process, as is done by B<stat>() and B<lstat>() for a relative "
318 #| "pathname)."
319 msgid ""
320 "If I<path> is relative, then it is interpreted relative to the directory "
321 "referred to by the file descriptor I<dirfd> (rather than relative to the "
322 "current working directory of the calling process, as is done by B<stat>() "
323 "and B<lstat>() for a relative pathname)."
324 msgstr ""
325 "Als de padnaam opgegeven in I<padnaam> relatief is, dan wordt deze "
326 "geïnterpreteerd als relatief aan de map aangewezen door de bestandsindicator "
327 "I<dirfd> (in plaats van relatief ten opzichte van de huidige werkmap van het "
328 "aanroepende proces, zoals dit gedaan wordt door B<stat>() en B<lstat>() voor "
329 "een relatieve padnaam)."
330
331 #. type: Plain text
332 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
333 #: opensuse-tumbleweed
334 #, fuzzy
335 #| msgid ""
336 #| "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
337 #| "then I<pathname> is interpreted relative to the current working directory "
338 #| "of the calling process (like B<stat>() and B<lstat>())."
339 msgid ""
340 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
341 "I<path> is interpreted relative to the current working directory of the "
342 "calling process (like B<stat>() and B<lstat>())."
343 msgstr ""
344 "Als I<padnaam> relatief is en I<dirfd> heeft de speciale waarde B<AT_FDCWD>, "
345 "dan wordt I<padnaam> geïnterpreteerd als relatief ten opzichte van de "
346 "huidige werkmap van het aanroepende proces (zoals B<stat>() en B<lstat>())."
347
348 #. type: Plain text
349 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
350 #: opensuse-tumbleweed
351 msgid "If I<path> is absolute, then I<dirfd> is ignored."
352 msgstr "Als I<padnaam> absoluut is, dan wordt I<mapbi> genegeerd. "
353
354 #. type: Plain text
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 msgid ""
358 "I<flags> can either be 0, or include one or more of the following flags ORed:"
359 msgstr ""
360 "I<vlaggen> kan ofwel 0 zijn, of kan een of meer van de volgende vlaggen ORed "
361 "bevatten:"
362
363 #. type: TP
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)"
368 msgstr "B<AT_EMPTY_PATH> (vanaf Linux 2.6.39)"
369
370 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
371 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
372 #. type: Plain text
373 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
374 #: opensuse-tumbleweed
375 #, fuzzy
376 #| msgid ""
377 #| "If I<pathname> is an empty string (or NULL, since Linux 6.11) operate on "
378 #| "the file referred to by I<dirfd> (which may have been obtained using the "
379 #| "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any "
380 #| "type of file, not just a directory, and the behavior of B<fstatat>() is "
381 #| "similar to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call "
382 #| "operates on the current working directory. This flag is Linux-specific; "
383 #| "define B<_GNU_SOURCE> to obtain its definition."
384 msgid ""
385 "If I<path> is an empty string (or NULL, since Linux 6.11) operate on the "
386 "file referred to by I<dirfd> (which may have been obtained using the "
387 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
388 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
389 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
390 "current working directory. This flag is Linux-specific; define "
391 "B<_GNU_SOURCE> to obtain its definition."
392 msgstr ""
393 "Als I<padnaam> een lege tekenreeks is, werk dan op het bestand aangewezen "
394 "doorzoek I<dirfd> (die kan zijn verkregen door het gebruik van B<open>(2) "
395 "B<O_PATH> vlag). In dit geval kan I<dirfd> naar elk type bestand wijzen, "
396 "niet slechts een map, en het gedrag van B<fstatat>() is vergelijkbaar met "
397 "dat van B<fstat>(). Als I<dirfd> gelijk is aan B<AT_FDCWD>, dan werkt de "
398 "aanroep op de huidige werkmap. Deze vlag is Linux-specifiek; definieer "
399 "B<_GNU_SOURCE> om de definiete te verkrijgen. "
400
401 #. type: TP
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 #, no-wrap
405 msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)"
406 msgstr "B<AT_NO_AUTOMOUNT> (vanaf Linux 2.6.38)"
407
408 #. type: Plain text
409 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
410 #: opensuse-tumbleweed
411 #, fuzzy
412 #| msgid ""
413 #| "Don't automount the terminal (\"basename\") component of I<pathname.> "
414 #| "Since Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is "
415 #| "implied."
416 msgid ""
417 "Don't automount the terminal (\"basename\") component of I<path.> Since "
418 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
419 msgstr ""
420 "Automount de laatste component van het einde (\"basename\") van I<p[adnaam> "
421 "niet. Vanaf Linux 3.1 wordt deze vlag genegeerd. Vanaf Linux 4.11 is deze "
422 "vlag impliciet."
423
424 #. type: TP
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "B<AT_SYMLINK_NOFOLLOW>"
429 msgstr "B<AT_SYMLINK_NOFOLLOW>"
430
431 #. type: Plain text
432 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
433 #: opensuse-tumbleweed
434 #, fuzzy
435 #| msgid ""
436 #| "If I<pathname> is a symbolic link, do not dereference it: instead return "
437 #| "information about the link itself, like B<lstat>(). (By default, "
438 #| "B<fstatat>() dereferences symbolic links, like B<stat>().)"
439 msgid ""
440 "If I<path> is a symbolic link, do not dereference it: instead return "
441 "information about the link itself, like B<lstat>(). (By default, "
442 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
443 msgstr ""
444 "Als I<padnaam> een symbolische koppeling is, volg deze niet: in plaats "
445 "daarvan retourneer informatie over de koppeling zelf, zoals B<lstat>(). "
446 "(Standaard volgt B<fstatat>() symbolische koppelingen, net als B<stat>().)"
447
448 #. type: Plain text
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 msgid "See B<openat>(2) for an explanation of the need for B<fstatat>()."
452 msgstr "Zie B<openat>(2) voor een uitleg over de noodzaak van B<fstatat>()."
453
454 #. type: SH
455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
456 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
457 #, no-wrap
458 msgid "RETURN VALUE"
459 msgstr "EIND WAARDE"
460
461 #. type: Plain text
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 msgid ""
465 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
466 "to indicate the error."
467 msgstr ""
468 "Bij succes wordt nul teruggegeven. Bij falen wordt -1 teruggegeven en wordt "
469 "I<errno> overeenkomstig gezet."
470
471 #. type: SH
472 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
473 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
474 #, no-wrap
475 msgid "ERRORS"
476 msgstr "FOUTEN"
477
478 #. type: TP
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 #, no-wrap
482 msgid "B<EACCES>"
483 msgstr "B<EACCES>"
484
485 #. type: Plain text
486 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
487 #: opensuse-tumbleweed
488 #, fuzzy
489 #| msgid ""
490 #| "Search permission is denied for one of the directories in the path prefix "
491 #| "of I<pathname>. (See also B<path_resolution>(7).)"
492 msgid ""
493 "Search permission is denied for one of the directories in the path prefix of "
494 "I<path>. (See also B<path_resolution>(7).)"
495 msgstr ""
496 "Het doorzoek recht werd geweigerd voor een van de mappen in de pad "
497 "voorvoegsel van I<padnaam>. (Zie ook B<path_resolution>(7).)"
498
499 #. type: TP
500 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
501 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
502 #, no-wrap
503 msgid "B<EBADF>"
504 msgstr "B<EBADF>"
505
506 #. type: Plain text
507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
508 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
509 msgid "I<fd> is not a valid open file descriptor."
510 msgstr "I<bi> is niet een geldige open-voor-schrijven bestandindicator."
511
512 #. type: Plain text
513 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
514 #: opensuse-tumbleweed
515 #, fuzzy
516 #| msgid ""
517 #| "(B<fstatat>()) I<pathname> is relative but I<dirfd> is neither "
518 #| "B<AT_FDCWD> nor a valid file descriptor."
519 msgid ""
520 "(B<fstatat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
521 "a valid file descriptor."
522 msgstr ""
523 "(B<fstatat>()) I<padnaam> is relatief maar I<dirfd> is noch B<AT_FDCWD> "
524 "noch een geldige bestandsindicator."
525
526 #. type: TP
527 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
528 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
529 #, no-wrap
530 msgid "B<EFAULT>"
531 msgstr "B<EFAULT>"
532
533 #. type: Plain text
534 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
535 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
536 msgid "Bad address."
537 msgstr "Verkeerd adres."
538
539 #. type: TP
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 #, no-wrap
543 msgid "B<EINVAL>"
544 msgstr "B<EINVAL>"
545
546 #. type: Plain text
547 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
548 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
549 msgid "(B<fstatat>()) Invalid flag specified in I<flags>."
550 msgstr "(B<fstatat>()) Ongeldige vlag opgegeven in I<vlaggen>."
551
552 #. type: TP
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "B<ELOOP>"
557 msgstr "B<ELOOP>"
558
559 #. type: Plain text
560 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
561 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
562 msgid "Too many symbolic links encountered while traversing the path."
563 msgstr ""
564 "Teveel symbolische koppelingen werden tegengekomen bij het doorlopen van "
565 "I<padnaam>."
566
567 #. type: TP
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 #, no-wrap
571 msgid "B<ENAMETOOLONG>"
572 msgstr "B<ENAMETOOLONG>"
573
574 #. type: Plain text
575 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
576 #: opensuse-tumbleweed
577 msgid "I<path> is too long."
578 msgstr "I<pad> is te lang."
579
580 #. type: TP
581 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
582 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
583 #, no-wrap
584 msgid "B<ENOENT>"
585 msgstr "B<ENOENT>"
586
587 #. type: Plain text
588 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
589 #: opensuse-tumbleweed
590 #, fuzzy
591 #| msgid ""
592 #| "A component of I<pathname> does not exist or is a dangling symbolic link."
593 msgid "A component of I<path> does not exist or is a dangling symbolic link."
594 msgstr ""
595 "Een map-deel van I<padnaam> zou toegankelijk geweest zijn maar bestaat niet "
596 "of was een zwevende symbolische koppeling."
597
598 #. type: Plain text
599 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
600 #: opensuse-tumbleweed
601 #, fuzzy
602 #| msgid ""
603 #| "I<pathname> is an empty string and B<AT_EMPTY_PATH> was not specified in "
604 #| "I<flags>."
605 msgid ""
606 "I<path> is an empty string and B<AT_EMPTY_PATH> was not specified in "
607 "I<flags>."
608 msgstr ""
609 "I<padnaam> is een lege tekenreeks en B<AT_EMPTY_PATH> werd niet opgegeven in "
610 "I<vlaggen>."
611
612 #. type: TP
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 #, no-wrap
616 msgid "B<ENOMEM>"
617 msgstr "B<ENOMEM>"
618
619 #. type: Plain text
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 msgid "Out of memory (i.e., kernel memory)."
623 msgstr "Geheugen is op (kernel geheugen)."
624
625 #. type: TP
626 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
627 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
628 #, no-wrap
629 msgid "B<ENOTDIR>"
630 msgstr "B<ENOTDIR>"
631
632 #. type: Plain text
633 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
634 #: opensuse-tumbleweed
635 #, fuzzy
636 #| msgid "A component of the path prefix of I<pathname> is not a directory."
637 msgid "A component of the path prefix of I<path> is not a directory."
638 msgstr "Een onderdeel in het pad voorvoegsel in I<padnaam> is geen map."
639
640 #. type: Plain text
641 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
642 #: opensuse-tumbleweed
643 #, fuzzy
644 #| msgid ""
645 #| "(B<fstatat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
646 #| "referring to a file other than a directory."
647 msgid ""
648 "(B<fstatat>()) I<path> is relative and I<dirfd> is a file descriptor "
649 "referring to a file other than a directory."
650 msgstr ""
651 "(B<fstatat>()) I<padnaam> is relatief en I<mapbi> is een bestandsindicator "
652 "die naar een bestand wijst dat geen map is."
653
654 #. type: TP
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 #, no-wrap
658 msgid "B<EOVERFLOW>"
659 msgstr "B<EOVERFLOW>"
660
661 #. type: Plain text
662 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
663 #: opensuse-tumbleweed
664 #, fuzzy
665 #| msgid ""
666 #| "I<pathname> or I<fd> refers to a file whose size, inode number, or number "
667 #| "of blocks cannot be represented in, respectively, the types I<off_t>, "
668 #| "I<ino_t>, or I<blkcnt_t>. This error can occur when, for example, an "
669 #| "application compiled on a 32-bit platform without I<-"
670 #| "D_FILE_OFFSET_BITS=64> calls B<stat>() on a file whose size exceeds "
671 #| "I<(1E<lt>E<lt>31)-1> bytes."
672 msgid ""
673 "I<path> or I<fd> refers to a file whose size, inode number, or number of "
674 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
675 "or I<blkcnt_t>. This error can occur when, for example, an application "
676 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
677 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
678 msgstr ""
679 "I<padnaam> of I<fd> wijst naar een bestand waarvan grootte, inode nummer of "
680 "aantal blokken niet kan worden gerepresenteerd in respectievelijk de velden "
681 "I<off_t>, I<ino_t>, of I<blkcnt_t>. Deze fout kan optreden wanneer bij "
682 "voorbeeld een applicatie die compileert werd op een 32-bit platform zonder "
683 "I<-D_FILE_OFFSET_BITS=64>, B<stat>() aanroept op een bestand waarvan de "
684 "grootte meer is dan I<(1E<lt>E<lt>31)-1> bytes."
685
686 #. type: SH
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 #, no-wrap
690 msgid "STANDARDS"
691 msgstr "STANDAARDEN"
692
693 #. type: Plain text
694 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
695 #: opensuse-tumbleweed
696 msgid "POSIX.1-2024."
697 msgstr "POSIX.1-2024."
698
699 #. type: SH
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 #, no-wrap
703 msgid "HISTORY"
704 msgstr "HISTORIE"
705
706 #. type: TP
707 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
708 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
709 #, no-wrap
710 msgid "B<stat>()"
711 msgstr "B<stat>()"
712
713 #. type: TQ
714 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
715 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
716 #, no-wrap
717 msgid "B<fstat>()"
718 msgstr "B<fstat>()"
719
720 #. type: TQ
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "B<lstat>()"
725 msgstr "B<lstat>()"
726
727 #. SVr4 documents additional
728 #. .BR fstat ()
729 #. error conditions EINTR, ENOLINK, and EOVERFLOW. SVr4
730 #. documents additional
731 #. .BR stat ()
732 #. and
733 #. .BR lstat ()
734 #. error conditions EINTR, EMULTIHOP, ENOLINK, and EOVERFLOW.
735 #. type: Plain text
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 msgid "SVr4, 4.3BSD, POSIX.1-2001."
739 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
740
741 #. type: TP
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid "B<fstatat>()"
746 msgstr "B<fstatat>()"
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
752 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
753
754 #. type: Plain text
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 msgid ""
758 "According to POSIX.1-2001, B<lstat>() on a symbolic link need return valid "
759 "information only in the I<st_size> field and the file type of the I<st_mode> "
760 "field of the I<stat> structure. POSIX.1-2008 tightens the specification, "
761 "requiring B<lstat>() to return valid information in all fields except the "
762 "mode bits in I<st_mode>."
763 msgstr ""
764 "Volgens POSIX.1-2001, moet B<lstat>() voor een symbolische koppeling geldige "
765 "informatie retourneren in het I<st_size> veld en het bestandstype van het "
766 "I<st_mode> veld van de I<stat> structure. POSIX.1-2008 vernauwt deze "
767 "specificatie door te vereisen dat B<lstat>() geldige informatie moet "
768 "retourneren in alle velden behalve de mode bits in I<st_mode>."
769
770 #. type: Plain text
771 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
772 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
773 msgid ""
774 "Use of the I<st_blocks> and I<st_blksize> fields may be less portable. "
775 "(They were introduced in BSD. The interpretation differs between systems, "
776 "and possibly on a single system when NFS mounts are involved.)"
777 msgstr ""
778 "Gebruik van de I<st_blocks> en I<st_blksize> velden is minder overdraagbaar. "
779 "(Deze werden geïntroduceerd in BSD. De interpretatie verschilt tussen "
780 "systemen, en mogelijk zelfs op een enkel systeem waar NFS koppelingen "
781 "gebruikt worden.)"
782
783 #. type: SS
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 #, no-wrap
787 msgid "C library/kernel differences"
788 msgstr "C library/kernel verschillen"
789
790 #. See include/asm-i386/stat.h in the Linux 2.4 source code for the
791 #. various versions of the structure definitions
792 #. type: Plain text
793 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
794 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
795 msgid ""
796 "Over time, increases in the size of the I<stat> structure have led to three "
797 "successive versions of B<stat>(): I<sys_stat>() (slot I<__NR_oldstat>), "
798 "I<sys_newstat>() (slot I<__NR_stat>), and I<sys_stat64()> (slot "
799 "I<__NR_stat64>) on 32-bit platforms such as i386. The first two versions "
800 "were already present in Linux 1.0 (albeit with different names); the last "
801 "was added in Linux 2.4. Similar remarks apply for B<fstat>() and "
802 "B<lstat>()."
803 msgstr ""
804 "In de loop van de tijd hebben vergrotingen van de I<stat> structure geleid "
805 "tot drie opeenvolgende versies van B<stat>(0: I<sys_stat>() (slot "
806 "I<__NR_oldstat>), I<sys_newstat>() (slot I<__NR_stat>), en I<sys_stat64()> "
807 "(slot I<__NR_stat64>) op 32-bit platformen zoals i386. De eerste twee "
808 "versies waren al aanwezig in Linux 1.0 (hoewel met verschillende namen); de "
809 "laatste werd toegevoegd in Linux 2.4. Vergelijkbare opmerkingen zijn van "
810 "toepassing op B<fstat>() en B<lstat>()."
811
812 #. type: Plain text
813 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
814 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
815 msgid ""
816 "The kernel-internal versions of the I<stat> structure dealt with by the "
817 "different versions are, respectively:"
818 msgstr ""
819 "De interne kernel versies van de I<stat> structure die behandelt worden door "
820 "de verschillende versies, zijn respectievelijk:"
821
822 #. type: TP
823 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
824 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
825 #, no-wrap
826 msgid "I<__old_kernel_stat>"
827 msgstr "I<__old_kernel_stat>"
828
829 #. type: Plain text
830 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
831 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
832 msgid "The original structure, with rather narrow fields, and no padding."
833 msgstr "De originele structure, met nogal kleine velden en zonder opvulling."
834
835 #. type: TP
836 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
837 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
838 #, no-wrap
839 msgid "I<stat>"
840 msgstr "I<stat>"
841
842 #. type: Plain text
843 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
844 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
845 msgid ""
846 "Larger I<st_ino> field and padding added to various parts of the structure "
847 "to allow for future expansion."
848 msgstr ""
849 "Een groter I<st_ino> veld en opvulling toegevoegd aan verschillende delen "
850 "van de structure om toekomstige uitbreidingen toe te staan."
851
852 #. type: TP
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 #, no-wrap
856 msgid "I<stat64>"
857 msgstr "I<stat64>"
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 msgid ""
863 "Even larger I<st_ino> field, larger I<st_uid> and I<st_gid> fields to "
864 "accommodate the Linux-2.4 expansion of UIDs and GIDs to 32 bits, and various "
865 "other enlarged fields and further padding in the structure. (Various "
866 "padding bytes were eventually consumed in Linux 2.6, with the advent of 32-"
867 "bit device IDs and nanosecond components for the timestamp fields.)"
868 msgstr ""
869 "Een nog groter I<st_ino> veld, grotere I<st_uid> en I<st_gid> velden om in "
870 "de expansie van UID´s EN GID´s naar 32 bits door Linux-2.4 te voorzien, en "
871 "verschillende andere vergrote velden en meer opvulling in de structure. "
872 "(Diverse opvul bytes werden geconsumeerd in Linux 2.6, met de aankomst van "
873 "32-bit apparaat ID´s en nanoseconden componenten in de tijdstempel velden.)"
874
875 #
876 #
877 #
878 #
879 #
880 #
881 #. #-#-#-#-# archlinux: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
882 #. A note from Andries Brouwer, July 2007
883 #. > Is the story not rather more complicated for some calls like
884 #. > stat(2)?
885 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
886 #. The idea is here not so much that syscalls change, but that
887 #. the definitions of struct stat and of the types dev_t and mode_t change.
888 #. This means that libc (even if it does not call the kernel
889 #. but only calls some internal function) must know what the
890 #. format of dev_t or of struct stat is.
891 #. The communication between the application and libc goes via
892 #. the include file <sys/stat.h> that defines a _STAT_VER and
893 #. _MKNOD_VER describing the layout of the data that user space
894 #. uses. Each (almost each) occurrence of stat() is replaced by
895 #. an occurrence of xstat() where the first parameter of xstat()
896 #. is this version number _STAT_VER.
897 #. Now, also the definitions used by the kernel change.
898 #. But glibc copes with this in the standard way, and the
899 #. struct stat as returned by the kernel is repacked into
900 #. the struct stat as expected by the application.
901 #. Thus, _STAT_VER and this setup cater for the application-libc
902 #. interface, rather than the libc-kernel interface.
903 #. (Note that the details depend on gcc being used as c compiler.)
904 #. type: Plain text
905 #. #-#-#-#-# debian-trixie: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
906 #. A note from Andries Brouwer, July 2007
907 #. > Is the story not rather more complicated for some calls like
908 #. > stat(2)?
909 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
910 #. The idea is here not so much that syscalls change, but that
911 #. the definitions of struct stat and of the types dev_t and mode_t change.
912 #. This means that libc (even if it does not call the kernel
913 #. but only calls some internal function) must know what the
914 #. format of dev_t or of struct stat is.
915 #. The communication between the application and libc goes via
916 #. the include file <sys/stat.h> that defines a _STAT_VER and
917 #. _MKNOD_VER describing the layout of the data that user space
918 #. uses. Each (almost each) occurrence of stat() is replaced by
919 #. an occurrence of xstat() where the first parameter of xstat()
920 #. is this version number _STAT_VER.
921 #. Now, also the definitions used by the kernel change.
922 #. But glibc copes with this in the standard way, and the
923 #. struct stat as returned by the kernel is repacked into
924 #. the struct stat as expected by the application.
925 #. Thus, _STAT_VER and this setup cater for the application-libc
926 #. interface, rather than the libc-kernel interface.
927 #. (Note that the details depend on gcc being used as c compiler.)
928 #. type: Plain text
929 #. #-#-#-#-# debian-unstable: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
930 #. A note from Andries Brouwer, July 2007
931 #. > Is the story not rather more complicated for some calls like
932 #. > stat(2)?
933 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
934 #. The idea is here not so much that syscalls change, but that
935 #. the definitions of struct stat and of the types dev_t and mode_t change.
936 #. This means that libc (even if it does not call the kernel
937 #. but only calls some internal function) must know what the
938 #. format of dev_t or of struct stat is.
939 #. The communication between the application and libc goes via
940 #. the include file <sys/stat.h> that defines a _STAT_VER and
941 #. _MKNOD_VER describing the layout of the data that user space
942 #. uses. Each (almost each) occurrence of stat() is replaced by
943 #. an occurrence of xstat() where the first parameter of xstat()
944 #. is this version number _STAT_VER.
945 #. Now, also the definitions used by the kernel change.
946 #. But glibc copes with this in the standard way, and the
947 #. struct stat as returned by the kernel is repacked into
948 #. the struct stat as expected by the application.
949 #. Thus, _STAT_VER and this setup cater for the application-libc
950 #. interface, rather than the libc-kernel interface.
951 #. (Note that the details depend on gcc being used as c compiler.)
952 #. type: Plain text
953 #. #-#-#-#-# fedora-44: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
954 #. A note from Andries Brouwer, July 2007
955 #. > Is the story not rather more complicated for some calls like
956 #. > stat(2)?
957 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
958 #. The idea is here not so much that syscalls change, but that
959 #. the definitions of struct stat and of the types dev_t and mode_t change.
960 #. This means that libc (even if it does not call the kernel
961 #. but only calls some internal function) must know what the
962 #. format of dev_t or of struct stat is.
963 #. The communication between the application and libc goes via
964 #. the include file <sys/stat.h> that defines a _STAT_VER and
965 #. _MKNOD_VER describing the layout of the data that user space
966 #. uses. Each (almost each) occurrence of stat() is replaced by
967 #. an occurrence of xstat() where the first parameter of xstat()
968 #. is this version number _STAT_VER.
969 #. Now, also the definitions used by the kernel change.
970 #. But glibc copes with this in the standard way, and the
971 #. struct stat as returned by the kernel is repacked into
972 #. the struct stat as expected by the application.
973 #. Thus, _STAT_VER and this setup cater for the application-libc
974 #. interface, rather than the libc-kernel interface.
975 #. (Note that the details depend on gcc being used as c compiler.)
976 #. type: Plain text
977 #. #-#-#-#-# fedora-rawhide: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
978 #. A note from Andries Brouwer, July 2007
979 #. > Is the story not rather more complicated for some calls like
980 #. > stat(2)?
981 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
982 #. The idea is here not so much that syscalls change, but that
983 #. the definitions of struct stat and of the types dev_t and mode_t change.
984 #. This means that libc (even if it does not call the kernel
985 #. but only calls some internal function) must know what the
986 #. format of dev_t or of struct stat is.
987 #. The communication between the application and libc goes via
988 #. the include file <sys/stat.h> that defines a _STAT_VER and
989 #. _MKNOD_VER describing the layout of the data that user space
990 #. uses. Each (almost each) occurrence of stat() is replaced by
991 #. an occurrence of xstat() where the first parameter of xstat()
992 #. is this version number _STAT_VER.
993 #. Now, also the definitions used by the kernel change.
994 #. But glibc copes with this in the standard way, and the
995 #. struct stat as returned by the kernel is repacked into
996 #. the struct stat as expected by the application.
997 #. Thus, _STAT_VER and this setup cater for the application-libc
998 #. interface, rather than the libc-kernel interface.
999 #. (Note that the details depend on gcc being used as c compiler.)
1000 #. type: Plain text
1001 #. #-#-#-#-# mageia-cauldron: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
1002 #. A note from Andries Brouwer, July 2007
1003 #. > Is the story not rather more complicated for some calls like
1004 #. > stat(2)?
1005 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
1006 #. The idea is here not so much that syscalls change, but that
1007 #. the definitions of struct stat and of the types dev_t and mode_t change.
1008 #. This means that libc (even if it does not call the kernel
1009 #. but only calls some internal function) must know what the
1010 #. format of dev_t or of struct stat is.
1011 #. The communication between the application and libc goes via
1012 #. the include file <sys/stat.h> that defines a _STAT_VER and
1013 #. _MKNOD_VER describing the layout of the data that user space
1014 #. uses. Each (almost each) occurrence of stat() is replaced by
1015 #. an occurrence of xstat() where the first parameter of xstat()
1016 #. is this version number _STAT_VER.
1017 #. Now, also the definitions used by the kernel change.
1018 #. But glibc copes with this in the standard way, and the
1019 #. struct stat as returned by the kernel is repacked into
1020 #. the struct stat as expected by the application.
1021 #. Thus, _STAT_VER and this setup cater for the application-libc
1022 #. interface, rather than the libc-kernel interface.
1023 #. (Note that the details depend on gcc being used as c compiler.)
1024 #. type: Plain text
1025 #. #-#-#-#-# opensuse-leap-16-1: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
1026 #. A note from Andries Brouwer, July 2007
1027 #. > Is the story not rather more complicated for some calls like
1028 #. > stat(2)?
1029 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
1030 #. The idea is here not so much that syscalls change, but that
1031 #. the definitions of struct stat and of the types dev_t and mode_t change.
1032 #. This means that libc (even if it does not call the kernel
1033 #. but only calls some internal function) must know what the
1034 #. format of dev_t or of struct stat is.
1035 #. The communication between the application and libc goes via
1036 #. the include file <sys/stat.h> that defines a _STAT_VER and
1037 #. _MKNOD_VER describing the layout of the data that user space
1038 #. uses. Each (almost each) occurrence of stat() is replaced by
1039 #. an occurrence of xstat() where the first parameter of xstat()
1040 #. is this version number _STAT_VER.
1041 #. Now, also the definitions used by the kernel change.
1042 #. But glibc copes with this in the standard way, and the
1043 #. struct stat as returned by the kernel is repacked into
1044 #. the struct stat as expected by the application.
1045 #. Thus, _STAT_VER and this setup cater for the application-libc
1046 #. interface, rather than the libc-kernel interface.
1047 #. (Note that the details depend on gcc being used as c compiler.)
1048 #. type: Plain text
1049 #. #-#-#-#-# opensuse-tumbleweed: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
1050 #. A note from Andries Brouwer, July 2007
1051 #. > Is the story not rather more complicated for some calls like
1052 #. > stat(2)?
1053 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
1054 #. The idea is here not so much that syscalls change, but that
1055 #. the definitions of struct stat and of the types dev_t and mode_t change.
1056 #. This means that libc (even if it does not call the kernel
1057 #. but only calls some internal function) must know what the
1058 #. format of dev_t or of struct stat is.
1059 #. The communication between the application and libc goes via
1060 #. the include file <sys/stat.h> that defines a _STAT_VER and
1061 #. _MKNOD_VER describing the layout of the data that user space
1062 #. uses. Each (almost each) occurrence of stat() is replaced by
1063 #. an occurrence of xstat() where the first parameter of xstat()
1064 #. is this version number _STAT_VER.
1065 #. Now, also the definitions used by the kernel change.
1066 #. But glibc copes with this in the standard way, and the
1067 #. struct stat as returned by the kernel is repacked into
1068 #. the struct stat as expected by the application.
1069 #. Thus, _STAT_VER and this setup cater for the application-libc
1070 #. interface, rather than the libc-kernel interface.
1071 #. (Note that the details depend on gcc being used as c compiler.)
1072 #. type: Plain text
1073 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1074 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1075 msgid ""
1076 "The glibc B<stat>() wrapper function hides these details from applications, "
1077 "invoking the most recent version of the system call provided by the kernel, "
1078 "and repacking the returned information if required for old binaries."
1079 msgstr ""
1080 "De glibc B<stat>() omwikkel functies verbergen deze details van de "
1081 "applicaties, door het aanroepen van de meest recente versie van de systeem "
1082 "aanroep die door de kernel beschikbaar wordt gesteld en het opnieuw inpakken "
1083 "van de verkregen informatie indien nodig voor oude toepassingen."
1084
1085 #. type: Plain text
1086 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1087 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1088 msgid ""
1089 "On modern 64-bit systems, life is simpler: there is a single B<stat>() "
1090 "system call and the kernel deals with a I<stat> structure that contains "
1091 "fields of a sufficient size."
1092 msgstr ""
1093 "Op moderne 64-bit systemen is het leven eenvoudiger: daar bestaat een enkele "
1094 "B<stat>() systeem aanroep en de kernel werkt met een I<stat> structure die "
1095 "velden van voldoende grootte bevat."
1096
1097 #. strace(1) shows the name "newfstatat" on x86-64
1098 #. type: Plain text
1099 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1100 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1101 msgid ""
1102 "The underlying system call employed by the glibc B<fstatat>() wrapper "
1103 "function is actually called B<fstatat64>() or, on some architectures, "
1104 "B<newfstatat>()."
1105 msgstr ""
1106 "De onderliggende systeem aanroep gebruikt door de glibc B<fstatat>() "
1107 "omwikkel functie heet eigenlijk B<fstatat64>() of op sommige architecturen "
1108 "B<newfstatat>(). "
1109
1110 #. type: SH
1111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1113 #, no-wrap
1114 msgid "EXAMPLES"
1115 msgstr "VOORBEELDEN"
1116
1117 #. type: Plain text
1118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1120 msgid ""
1121 "The following program calls B<lstat>() and displays selected fields in the "
1122 "returned I<stat> structure."
1123 msgstr ""
1124 "Het volgende programma roept B<lstat>() aan en toont geselecteerde velden in "
1125 "de teruggegeven I<stat> structure."
1126
1127 #. type: Plain text
1128 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1129 #: opensuse-tumbleweed
1130 #, fuzzy, no-wrap
1131 #| msgid ""
1132 #| "#include E<lt>stdint.hE<gt>\n"
1133 #| "#include E<lt>stdio.hE<gt>\n"
1134 #| "#include E<lt>stdlib.hE<gt>\n"
1135 #| "#include E<lt>sys/stat.hE<gt>\n"
1136 #| "#include E<lt>sys/sysmacros.hE<gt>\n"
1137 #| "#include E<lt>time.hE<gt>\n"
1138 #| "\\&\n"
1139 #| "int\n"
1140 #| "main(int argc, char *argv[])\n"
1141 #| "{\n"
1142 #| " struct stat sb;\n"
1143 #| "\\&\n"
1144 #| " if (argc != 2) {\n"
1145 #| " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1146 #| " exit(EXIT_FAILURE);\n"
1147 #| " }\n"
1148 #| "\\&\n"
1149 #| " if (lstat(argv[1], &sb) == -1) {\n"
1150 #| " perror(\"lstat\");\n"
1151 #| " exit(EXIT_FAILURE);\n"
1152 #| " }\n"
1153 #| "\\&\n"
1154 #| " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1155 #| " major(sb.st_dev),\n"
1156 #| " minor(sb.st_dev));\n"
1157 #| "\\&\n"
1158 #| " printf(\"File type: \");\n"
1159 #| "\\&\n"
1160 #| " switch (sb.st_mode & S_IFMT) {\n"
1161 #| " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1162 #| " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1163 #| " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1164 #| " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1165 #| " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1166 #| " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1167 #| " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1168 #| " default: printf(\"unknown?\\[rs]n\"); break;\n"
1169 #| " }\n"
1170 #| "\\&\n"
1171 #| " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1172 #| "\\&\n"
1173 #| " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1174 #| " (uintmax_t) sb.st_mode);\n"
1175 #| "\\&\n"
1176 #| " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1177 #| " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1178 #| " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1179 #| "\\&\n"
1180 #| " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1181 #| " (intmax_t) sb.st_blksize);\n"
1182 #| " printf(\"File size: %jd bytes\\[rs]n\",\n"
1183 #| " (intmax_t) sb.st_size);\n"
1184 #| " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1185 #| " (intmax_t) sb.st_blocks);\n"
1186 #| "\\&\n"
1187 #| " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1188 #| " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1189 #| " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1190 #| "\\&\n"
1191 #| " exit(EXIT_SUCCESS);\n"
1192 #| "}\n"
1193 msgid ""
1194 "#include E<lt>stdint.hE<gt>\n"
1195 "#include E<lt>stdio.hE<gt>\n"
1196 "#include E<lt>stdlib.hE<gt>\n"
1197 "#include E<lt>sys/stat.hE<gt>\n"
1198 "#include E<lt>sys/sysmacros.hE<gt>\n"
1199 "#include E<lt>time.hE<gt>\n"
1200 "\\&\n"
1201 "int\n"
1202 "main(int argc, char *argv[])\n"
1203 "{\n"
1204 " struct stat sb;\n"
1205 "\\&\n"
1206 " if (argc != 2) {\n"
1207 " fprintf(stderr, \"Usage: %s E<lt>pathE<gt>\\[rs]n\", argv[0]);\n"
1208 " exit(EXIT_FAILURE);\n"
1209 " }\n"
1210 "\\&\n"
1211 " if (lstat(argv[1], &sb) == -1) {\n"
1212 " perror(\"lstat\");\n"
1213 " exit(EXIT_FAILURE);\n"
1214 " }\n"
1215 "\\&\n"
1216 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1217 " major(sb.st_dev),\n"
1218 " minor(sb.st_dev));\n"
1219 "\\&\n"
1220 " printf(\"File type: \");\n"
1221 "\\&\n"
1222 " switch (sb.st_mode & S_IFMT) {\n"
1223 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1224 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1225 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1226 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1227 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1228 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1229 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1230 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1231 " }\n"
1232 "\\&\n"
1233 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1234 "\\&\n"
1235 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1236 " (uintmax_t) sb.st_mode);\n"
1237 "\\&\n"
1238 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1239 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1240 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1241 "\\&\n"
1242 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1243 " (intmax_t) sb.st_blksize);\n"
1244 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1245 " (intmax_t) sb.st_size);\n"
1246 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1247 " (intmax_t) sb.st_blocks);\n"
1248 "\\&\n"
1249 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1250 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1251 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1252 "\\&\n"
1253 " exit(EXIT_SUCCESS);\n"
1254 "}\n"
1255 msgstr ""
1256 "#include E<lt>stdint.hE<gt>\n"
1257 "#include E<lt>stdio.hE<gt>\n"
1258 "#include E<lt>stdlib.hE<gt>\n"
1259 "#include E<lt>sys/stat.hE<gt>\n"
1260 "#include E<lt>sys/sysmacros.hE<gt>\n"
1261 "#include E<lt>time.hE<gt>\n"
1262 "\\&\n"
1263 "int\n"
1264 "main(int argc, char *argv[])\n"
1265 "{\n"
1266 " struct stat sb;\n"
1267 "\\&\n"
1268 " if (argc != 2) {\n"
1269 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1270 " exit(EXIT_FAILURE);\n"
1271 " }\n"
1272 "\\&\n"
1273 " if (lstat(argv[1], &sb) == -1) {\n"
1274 " perror(\"lstat\");\n"
1275 " exit(EXIT_FAILURE);\n"
1276 " }\n"
1277 "\\&\n"
1278 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1279 " major(sb.st_dev),\n"
1280 " minor(sb.st_dev));\n"
1281 "\\&\n"
1282 " printf(\"File type: \");\n"
1283 "\\&\n"
1284 " switch (sb.st_mode & S_IFMT) {\n"
1285 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1286 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1287 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1288 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1289 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1290 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1291 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1292 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1293 " }\n"
1294 "\\&\n"
1295 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1296 "\\&\n"
1297 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1298 " (uintmax_t) sb.st_mode);\n"
1299 "\\&\n"
1300 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1301 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1302 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1303 "\\&\n"
1304 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1305 " (intmax_t) sb.st_blksize);\n"
1306 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1307 " (intmax_t) sb.st_size);\n"
1308 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1309 " (intmax_t) sb.st_blocks);\n"
1310 "\\&\n"
1311 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1312 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1313 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1314 "\\&\n"
1315 " exit(EXIT_SUCCESS);\n"
1316 "}\n"
1317
1318 #. SRC END
1319 #. type: SH
1320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1322 #, no-wrap
1323 msgid "SEE ALSO"
1324 msgstr "ZIE OOK"
1325
1326 #. type: Plain text
1327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1329 msgid ""
1330 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1331 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1332 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1333 msgstr ""
1334 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1335 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1336 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1337
1338 #. type: TH
1339 #: debian-trixie
1340 #, no-wrap
1341 msgid "2024-06-15"
1342 msgstr "15 juni 2024"
1343
1344 #. type: TH
1345 #: debian-trixie
1346 #, no-wrap
1347 msgid "Linux man-pages 6.9.1"
1348 msgstr "Linux man-paginas 6.9.1"
1349
1350 #. type: Plain text
1351 #: debian-trixie
1352 msgid "Standard C library (I<libc>, I<-lc>)"
1353 msgstr "Standaard C bibliotheek (I<libc>, I<-lc>)"
1354
1355 #. type: Plain text
1356 #: debian-trixie fedora-44 fedora-rawhide
1357 #, no-wrap
1358 msgid ""
1359 "B<int stat(const char *restrict >I<pathname>B<,>\n"
1360 "B< struct stat *restrict >I<statbuf>B<);>\n"
1361 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1362 "B<int lstat(const char *restrict >I<pathname>B<,>\n"
1363 "B< struct stat *restrict >I<statbuf>B<);>\n"
1364 msgstr ""
1365 "B<int stat(const char *beperk >I<padnaam>B<,>\n"
1366 "B< struct stat *beperk >I<statbuf>B<);>\n"
1367 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1368 "B<int lstat(const char *beperk >I<padnaam>B<,>\n"
1369 "B< struct stat *beperk >I<statbuf>B<);>\n"
1370
1371 #. type: Plain text
1372 #: debian-trixie fedora-44 fedora-rawhide
1373 #, no-wrap
1374 msgid ""
1375 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
1376 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
1377 msgstr ""
1378 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<padnaam>B<,>\n"
1379 "B< struct stat *beperk >I<statbuf>B<, int >I<vlaggen>B<);>\n"
1380
1381 #. type: Plain text
1382 #: debian-trixie fedora-44 fedora-rawhide
1383 msgid ""
1384 "These functions return information about a file, in the buffer pointed to by "
1385 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
1386 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
1387 "permission is required on all of the directories in I<pathname> that lead to "
1388 "the file."
1389 msgstr ""
1390 "Deze functies retourneren informatie over een bestand in de buffer "
1391 "aangewezen door I<statbuf>. Er zijn geen rechten vereist op het bestand "
1392 "zelf, maar \\[em]in het geval van B<stat>(), B<fstatat>() en B<lstat>()\\"
1393 "[em] zijn uitvoer (zoek) rechten vereist op alle mappen in I<padnaam> die "
1394 "naar het bestand leiden."
1395
1396 #. type: Plain text
1397 #: debian-trixie fedora-44 fedora-rawhide
1398 msgid ""
1399 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
1400 "by I<pathname>; the differences for B<fstatat>() are described below."
1401 msgstr ""
1402 "B<stat>() en B<fstatat>() geven informatie over het bestand aangewezen door "
1403 "I<padnaam>; de verschillen voor B<fstatat>() worden hieronder beschreven."
1404
1405 #. type: Plain text
1406 #: debian-trixie fedora-44 fedora-rawhide
1407 msgid ""
1408 "B<lstat>() is identical to B<stat>(), except that if I<pathname> is a "
1409 "symbolic link, then it returns information about the link itself, not the "
1410 "file that the link refers to."
1411 msgstr ""
1412 "B<lstat>() is gelijk aan B<stat>(), behalve dat als I<padnaam> een "
1413 "symbolische koppeling is, dan informatie over de koppeling zéqlf wordt "
1414 "teruggegeven, en niet van het bestand waar naar verwezen wordt."
1415
1416 #. type: Plain text
1417 #: debian-trixie fedora-44 fedora-rawhide
1418 msgid ""
1419 "If the pathname given in I<pathname> is relative, then it is interpreted "
1420 "relative to the directory referred to by the file descriptor I<dirfd> "
1421 "(rather than relative to the current working directory of the calling "
1422 "process, as is done by B<stat>() and B<lstat>() for a relative pathname)."
1423 msgstr ""
1424 "Als de padnaam opgegeven in I<padnaam> relatief is, dan wordt deze "
1425 "geïnterpreteerd als relatief aan de map aangewezen door de bestandsindicator "
1426 "I<dirfd> (in plaats van relatief ten opzichte van de huidige werkmap van het "
1427 "aanroepende proces, zoals dit gedaan wordt door B<stat>() en B<lstat>() voor "
1428 "een relatieve padnaam)."
1429
1430 #. type: Plain text
1431 #: debian-trixie fedora-44 fedora-rawhide
1432 msgid ""
1433 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1434 "then I<pathname> is interpreted relative to the current working directory of "
1435 "the calling process (like B<stat>() and B<lstat>())."
1436 msgstr ""
1437 "Als I<padnaam> relatief is en I<dirfd> heeft de speciale waarde B<AT_FDCWD>, "
1438 "dan wordt I<padnaam> geïnterpreteerd als relatief ten opzichte van de "
1439 "huidige werkmap van het aanroepende proces (zoals B<stat>() en B<lstat>())."
1440
1441 #. type: Plain text
1442 #: debian-trixie fedora-44 fedora-rawhide
1443 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1444 msgstr "Als I<padnaam> absoluut is, dan wordt I<mapbi> genegeerd."
1445
1446 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1447 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1448 #. type: Plain text
1449 #: debian-trixie
1450 msgid ""
1451 "If I<pathname> is an empty string, operate on the file referred to by "
1452 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1453 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1454 "directory, and the behavior of B<fstatat>() is similar to that of "
1455 "B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1456 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1457 "obtain its definition."
1458 msgstr ""
1459 "Als I<padnaam> een lege tekenreeks is, werk dan op het bestand aangewezen "
1460 "doorzoek I<dirfd> (die kan zijn verkregen door het gebruik van B<open>(2) "
1461 "B<O_PATH> vlag). In dit geval kan I<dirfd> naar elk type bestand wijzen, "
1462 "niet slechts een map, en het gedrag van B<fstatat>() is vergelijkbaar met "
1463 "dat van B<fstat>(). Als I<dirfd> gelijk is aan B<AT_FDCWD>, dan werkt de "
1464 "aanroep op de huidige werkmap. Deze vlag is Linux-specifiek; definieer "
1465 "B<_GNU_SOURCE> om de definiete te verkrijgen."
1466
1467 #. type: Plain text
1468 #: debian-trixie fedora-44 fedora-rawhide
1469 msgid ""
1470 "Don't automount the terminal (\"basename\") component of I<pathname.> Since "
1471 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
1472 msgstr ""
1473 "Automount de laatste component van het einde (\"basename\") van I<p[adnaam> "
1474 "niet. Vanaf Linux 3.1 wordt deze vlag genegeerd. Vanaf Linux 4.11 is deze "
1475 "vlag impliciet."
1476
1477 #. type: Plain text
1478 #: debian-trixie fedora-44 fedora-rawhide
1479 msgid ""
1480 "If I<pathname> is a symbolic link, do not dereference it: instead return "
1481 "information about the link itself, like B<lstat>(). (By default, "
1482 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
1483 msgstr ""
1484 "Als I<padnaam> een symbolische koppeling is, volg deze niet: in plaats "
1485 "daarvan retourneer informatie over de koppeling zelf, zoals B<lstat>(). "
1486 "(Standaard volgt B<fstatat>() symbolische koppelingen, net als B<stat>().)"
1487
1488 #. type: Plain text
1489 #: debian-trixie fedora-44 fedora-rawhide
1490 msgid ""
1491 "Search permission is denied for one of the directories in the path prefix of "
1492 "I<pathname>. (See also B<path_resolution>(7).)"
1493 msgstr ""
1494 "Het doorzoek recht werd geweigerd voor een van de mappen in de pad "
1495 "voorvoegsel van I<padnaam>. (Zie ook B<path_resolution>(7).)"
1496
1497 #. type: Plain text
1498 #: debian-trixie fedora-44 fedora-rawhide
1499 msgid ""
1500 "(B<fstatat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
1501 "nor a valid file descriptor."
1502 msgstr ""
1503 "(B<fstatat>()) I<padnaam> is relatief maar I<dirfd> is noch B<AT_FDCWD> "
1504 "noch een geldige bestandsindicator."
1505
1506 #. type: Plain text
1507 #: debian-trixie fedora-44 fedora-rawhide
1508 msgid "I<pathname> is too long."
1509 msgstr "I<padnaam> is te lang."
1510
1511 #. type: Plain text
1512 #: debian-trixie fedora-44 fedora-rawhide
1513 msgid ""
1514 "A component of I<pathname> does not exist or is a dangling symbolic link."
1515 msgstr ""
1516 "Een map-deel van I<padnaam> zou toegankelijk geweest zijn maar bestaat niet "
1517 "of was een zwevende symbolische koppeling."
1518
1519 #. type: Plain text
1520 #: debian-trixie fedora-44 fedora-rawhide
1521 msgid ""
1522 "I<pathname> is an empty string and B<AT_EMPTY_PATH> was not specified in "
1523 "I<flags>."
1524 msgstr ""
1525 "I<padnaam> is een lege tekenreeks en B<AT_EMPTY_PATH> werd niet opgegeven in "
1526 "I<vlaggen>."
1527
1528 #. type: Plain text
1529 #: debian-trixie fedora-44 fedora-rawhide
1530 msgid "A component of the path prefix of I<pathname> is not a directory."
1531 msgstr "Een onderdeel in het pad voorvoegsel in I<padnaam> is geen map."
1532
1533 #. type: Plain text
1534 #: debian-trixie fedora-44 fedora-rawhide
1535 msgid ""
1536 "(B<fstatat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1537 "referring to a file other than a directory."
1538 msgstr ""
1539 "(B<fstatat>()) I<padnaam> is relatief en I<mapbi> is een bestandsindicator "
1540 "die naar een bestand wijst dat geen map is."
1541
1542 #. type: Plain text
1543 #: debian-trixie fedora-44 fedora-rawhide
1544 msgid ""
1545 "I<pathname> or I<fd> refers to a file whose size, inode number, or number of "
1546 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
1547 "or I<blkcnt_t>. This error can occur when, for example, an application "
1548 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
1549 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
1550 msgstr ""
1551 "I<padnaam> of I<fd> wijst naar een bestand waarvan grootte, inode nummer of "
1552 "aantal blokken niet kan worden gerepresenteerd in respectievelijk de velden "
1553 "I<off_t>, I<ino_t>, of I<blkcnt_t>. Deze fout kan optreden wanneer bij "
1554 "voorbeeld een applicatie die compileert werd op een 32-bit platform zonder "
1555 "I<-D_FILE_OFFSET_BITS=64>, B<stat>() aanroept op een bestand waarvan de "
1556 "grootte meer is dan I<(1E<lt>E<lt>31)-1> bytes."
1557
1558 #. type: Plain text
1559 #: debian-trixie fedora-44 fedora-rawhide
1560 msgid "POSIX.1-2008."
1561 msgstr "POSIX.1-2008."
1562
1563 #. type: Plain text
1564 #: debian-trixie fedora-44 fedora-rawhide
1565 #, no-wrap
1566 msgid ""
1567 "#include E<lt>stdint.hE<gt>\n"
1568 "#include E<lt>stdio.hE<gt>\n"
1569 "#include E<lt>stdlib.hE<gt>\n"
1570 "#include E<lt>sys/stat.hE<gt>\n"
1571 "#include E<lt>sys/sysmacros.hE<gt>\n"
1572 "#include E<lt>time.hE<gt>\n"
1573 "\\&\n"
1574 "int\n"
1575 "main(int argc, char *argv[])\n"
1576 "{\n"
1577 " struct stat sb;\n"
1578 "\\&\n"
1579 " if (argc != 2) {\n"
1580 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1581 " exit(EXIT_FAILURE);\n"
1582 " }\n"
1583 "\\&\n"
1584 " if (lstat(argv[1], &sb) == -1) {\n"
1585 " perror(\"lstat\");\n"
1586 " exit(EXIT_FAILURE);\n"
1587 " }\n"
1588 "\\&\n"
1589 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1590 " major(sb.st_dev),\n"
1591 " minor(sb.st_dev));\n"
1592 "\\&\n"
1593 " printf(\"File type: \");\n"
1594 "\\&\n"
1595 " switch (sb.st_mode & S_IFMT) {\n"
1596 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1597 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1598 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1599 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1600 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1601 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1602 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1603 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1604 " }\n"
1605 "\\&\n"
1606 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1607 "\\&\n"
1608 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1609 " (uintmax_t) sb.st_mode);\n"
1610 "\\&\n"
1611 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1612 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1613 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1614 "\\&\n"
1615 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1616 " (intmax_t) sb.st_blksize);\n"
1617 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1618 " (intmax_t) sb.st_size);\n"
1619 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1620 " (intmax_t) sb.st_blocks);\n"
1621 "\\&\n"
1622 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1623 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1624 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1625 "\\&\n"
1626 " exit(EXIT_SUCCESS);\n"
1627 "}\n"
1628 msgstr ""
1629 "#include E<lt>stdint.hE<gt>\n"
1630 "#include E<lt>stdio.hE<gt>\n"
1631 "#include E<lt>stdlib.hE<gt>\n"
1632 "#include E<lt>sys/stat.hE<gt>\n"
1633 "#include E<lt>sys/sysmacros.hE<gt>\n"
1634 "#include E<lt>time.hE<gt>\n"
1635 "\\&\n"
1636 "int\n"
1637 "main(int argc, char *argv[])\n"
1638 "{\n"
1639 " struct stat sb;\n"
1640 "\\&\n"
1641 " if (argc != 2) {\n"
1642 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1643 " exit(EXIT_FAILURE);\n"
1644 " }\n"
1645 "\\&\n"
1646 " if (lstat(argv[1], &sb) == -1) {\n"
1647 " perror(\"lstat\");\n"
1648 " exit(EXIT_FAILURE);\n"
1649 " }\n"
1650 "\\&\n"
1651 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1652 " major(sb.st_dev),\n"
1653 " minor(sb.st_dev));\n"
1654 "\\&\n"
1655 " printf(\"File type: \");\n"
1656 "\\&\n"
1657 " switch (sb.st_mode & S_IFMT) {\n"
1658 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1659 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1660 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1661 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1662 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1663 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1664 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1665 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1666 " }\n"
1667 "\\&\n"
1668 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1669 "\\&\n"
1670 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1671 " (uintmax_t) sb.st_mode);\n"
1672 "\\&\n"
1673 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1674 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1675 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1676 "\\&\n"
1677 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1678 " (intmax_t) sb.st_blksize);\n"
1679 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1680 " (intmax_t) sb.st_size);\n"
1681 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1682 " (intmax_t) sb.st_blocks);\n"
1683 "\\&\n"
1684 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1685 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1686 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1687 "\\&\n"
1688 " exit(EXIT_SUCCESS);\n"
1689 "}\n"
1690
1691 #. type: TH
1692 #: fedora-44 fedora-rawhide
1693 #, no-wrap
1694 msgid "2025-01-09"
1695 msgstr "9 januari 2025"
1696
1697 #. type: TH
1698 #: fedora-44 fedora-rawhide
1699 #, no-wrap
1700 msgid "Linux man-pages 6.13"
1701 msgstr "Linux man-paginas 6.13"
1702
1703 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1704 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1705 #. type: Plain text
1706 #: fedora-44 fedora-rawhide
1707 msgid ""
1708 "If I<pathname> is an empty string (or NULL, since Linux 6.11) operate on "
1709 "the file referred to by I<dirfd> (which may have been obtained using the "
1710 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
1711 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
1712 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
1713 "current working directory. This flag is Linux-specific; define "
1714 "B<_GNU_SOURCE> to obtain its definition."
1715 msgstr ""
1716 "Als I<padnaam> een lege tekenreeks is, werk dan op het bestand aangewezen "
1717 "doorzoek I<dirfd> (die kan zijn verkregen door het gebruik van B<open>(2) "
1718 "B<O_PATH> vlag). In dit geval kan I<dirfd> naar elk type bestand wijzen, "
1719 "niet slechts een map, en het gedrag van B<fstatat>() is vergelijkbaar met "
1720 "dat van B<fstat>(). Als I<dirfd> gelijk is aan B<AT_FDCWD>, dan werkt de "
1721 "aanroep op de huidige werkmap. Deze vlag is Linux-specifiek; definieer "
1722 "B<_GNU_SOURCE> om de definiete te verkrijgen. "
1723
1724 #. type: TH
1725 #: mageia-cauldron
1726 #, no-wrap
1727 msgid "Linux man-pages 6.17"
1728 msgstr "Linux man-paginas 6.17"
1729
1730 #. type: TH
1731 #: opensuse-leap-16-1 opensuse-tumbleweed
1732 #, no-wrap
1733 msgid "Linux man-pages (unreleased)"
1734 msgstr "Linux man-paginas (niet vrijgegeven)"