Debian Codegraph @

po/de/man2/stat.2.po

raw
1 # German translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Jonas Rovan <[email protected]>, 1996.
5 # Martin Schulze <[email protected]>, 1996.
6 # Michael Piefel <[email protected]>, 2001.
7 # Mario Blättermann <[email protected]>, 2014, 2020, 2021, 2022, 2023.
8 # Helge Kreutzmann <[email protected]>, 2012-2014, 2016-2017, 2019, 2020, 2022.
9 msgid ""
10 msgstr ""
11 "Project-Id-Version: manpages-l10n 4.26.2\n"
12 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
13 "PO-Revision-Date: 2025-06-04 20:45+0200\n"
14 "Last-Translator: Mario Blättermann <[email protected]>\n"
15 "Language-Team: German <[email protected]>\n"
16 "Language: de\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "X-Generator: Lokalize 23.04.3\n"
21 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "stat"
28 msgstr "stat"
29
30 #. type: TH
31 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
32 #: opensuse-tumbleweed
33 #, no-wrap
34 msgid "2026-02-08"
35 msgstr "8. Februar 2026"
36
37 #. type: TH
38 #: archlinux debian-unstable
39 #, no-wrap
40 msgid "Linux man-pages 6.18"
41 msgstr "Linux man-pages 6.18"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
45 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "BEZEICHNUNG"
49
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 msgid "stat, fstat, lstat, fstatat - get file status"
54 msgstr "stat, fstat, lstat, fstatat - Dateistatus ermitteln"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTHEK"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "ÜBERSICHT"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>sys/stat.hE<gt>>\n"
81 msgstr "B<#include E<lt>sys/stat.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
85 #: opensuse-tumbleweed
86 #, no-wrap
87 msgid ""
88 "B<int stat(const char *restrict >I<path>B<,>\n"
89 "B< struct stat *restrict >I<statbuf>B<);>\n"
90 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
91 "B<int lstat(const char *restrict >I<path>B<,>\n"
92 "B< struct stat *restrict >I<statbuf>B<);>\n"
93 msgstr ""
94 "B<int stat(const char *restrict >I<Pfad>B<,>\n"
95 "B< struct stat *restrict >I<Statuspuffer>B<);>\n"
96 "B<int fstat(int >I<dd>B<, struct stat *>I<Statuspuffer>B<);>\n"
97 "B<int lstat(const char *restrict >I<Pfad>B<,>\n"
98 "B< struct stat *restrict >I<Statuspuffer>B<);>\n"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 #, no-wrap
104 msgid ""
105 "B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n"
106 "B<#include E<lt>sys/stat.hE<gt>>\n"
107 msgstr ""
108 "B<#include E<lt>fcntl.hE<gt> >/* Definition der B<AT_*>-Konstanten */\n"
109 "B<#include E<lt>sys/stat.hE<gt>>\n"
110
111 #. type: Plain text
112 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
113 #: opensuse-tumbleweed
114 #, no-wrap
115 msgid ""
116 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<path>B<,>\n"
117 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
118 msgstr ""
119 "B<int fstatat(int >I<Verzdd>B<, const char *restrict >I<Pfad>B<,>\n"
120 "B< struct stat *restrict >I<Statuspuffer>B<, int >I<Schalter>B<);>\n"
121
122 #. type: Plain text
123 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
124 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
125 msgid ""
126 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
127 msgstr ""
128 "Mit Glibc erforderliche Feature-Test-Makros (siehe "
129 "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<lstat>():"
135 msgstr "B<lstat>():"
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 " /* Since glibc 2.20 */ _DEFAULT_SOURCE\n"
144 " || _XOPEN_SOURCE E<gt>= 500\n"
145 " || /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
146 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
147 msgstr ""
148 " /* Seit Glibc 2.20 */ _DEFAULT_SOURCE\n"
149 " || _XOPEN_SOURCE E<gt>= 500\n"
150 " || /* Seit Glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
151 " || /* Glibc 2.19 und älter */ _BSD_SOURCE\n"
152
153 #. type: Plain text
154 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
155 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
156 msgid "B<fstatat>():"
157 msgstr "B<fstatat>():"
158
159 #. type: Plain text
160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
161 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
162 #, no-wrap
163 msgid ""
164 " Since glibc 2.10:\n"
165 " _POSIX_C_SOURCE E<gt>= 200809L\n"
166 " Before glibc 2.10:\n"
167 " _ATFILE_SOURCE\n"
168 msgstr ""
169 " Seit Glibc 2.10:\n"
170 " _POSIX_C_SOURCE E<gt>= 200809L\n"
171 " Vor Glibc 2.10:\n"
172 " _ATFILE_SOURCE\n"
173
174 #. type: SH
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid "DESCRIPTION"
179 msgstr "BESCHREIBUNG"
180
181 #. type: Plain text
182 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
183 #: opensuse-tumbleweed
184 msgid ""
185 "These functions return information about a file, in the buffer pointed to by "
186 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
187 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
188 "permission is required on all of the directories in I<path> that lead to the "
189 "file."
190 msgstr ""
191 "Diese Funktionen geben Informationen über eine Datei im Puffer zurück, auf "
192 "den I<Statuspuffer> zeigt. Dazu werden keinerlei Rechte an der angegebenen "
193 "Datei benötigt, aber – im Falle von B<stat>(), B<fstatat>() und B<lstat>() – "
194 "müssen alle Verzeichnisse im I<Pfad>, die zu der Datei führen, durchsucht "
195 "werden dürfen."
196
197 #. type: Plain text
198 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
199 #: opensuse-tumbleweed
200 msgid ""
201 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
202 "by I<path>; the differences for B<fstatat>() are described below."
203 msgstr ""
204 "B<stat>() und B<fstatat>() liefern die Informationen zu der in I<Pfad> "
205 "angegebenen Datei und übergibt diese an I<fstatat>(), wie nachfolgend "
206 "beschrieben."
207
208 #. type: Plain text
209 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
210 #: opensuse-tumbleweed
211 msgid ""
212 "B<lstat>() is identical to B<stat>(), except that if I<path> is a symbolic "
213 "link, then it returns information about the link itself, not the file that "
214 "the link refers to."
215 msgstr ""
216 "B<lstat>() ist ähnlich B<stat>(), nur dass falls I<Pfad> ein symbolischer "
217 "Link ist, Informationen zum Link zurückgegeben werden und nicht zur Datei, "
218 "auf die der Link zeigt."
219
220 #. type: Plain text
221 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
222 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
223 msgid ""
224 "B<fstat>() is identical to B<stat>(), except that the file about which "
225 "information is to be retrieved is specified by the file descriptor I<fd>."
226 msgstr ""
227 "B<fstat> ist ähnlich B<stat>, außer dass die Datei, zu der Informationen "
228 "ermittelt werden sollen, durch den Dateideskriptor I<dd> angegeben wird."
229
230 #. type: SS
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "The stat structure"
235 msgstr "Die Struktur stat"
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "All of these system calls return a I<stat> structure (see B<stat>(3type))."
242 msgstr ""
243 "Alle diese Systemaufrufe geben eine Struktur I<stat> zurück, siehe "
244 "B<stat>(3type))."
245
246 #. Background: inode attributes are modified with i_mutex held, but
247 #. read by stat() without taking the mutex.
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid ""
252 "I<Note>: for performance and simplicity reasons, different fields in the "
253 "I<stat> structure may contain state information from different moments "
254 "during the execution of the system call. For example, if I<st_mode> or "
255 "I<st_uid> is changed by another process by calling B<chmod>(2) or "
256 "B<chown>(2), B<stat>() might return the old I<st_mode> together with the "
257 "new I<st_uid>, or the old I<st_uid> together with the new I<st_mode>."
258 msgstr ""
259 "I<Hinweis>: Zur Leistungsverbesserung und aus Einfachheitsgründen können "
260 "verschiedene Felder in der Struktur I<stat> Zustandsinformationen von "
261 "verschiedenen Zeitpunkten während der Ausführung des Systemaufrufs "
262 "enthalten. Wird beispielsweise I<st_mode> oder I<st_uid> von einem anderen "
263 "Prozess während der Ausführung des Systemaufrufs durch Aufruf von "
264 "B<chmod>(2) oder B<chown>(2) geändert, dann könnte B<stat>() den alten "
265 "I<st_mode> zusammen mit dem neuen I<st_uid> oder den alten I<st_uid> "
266 "zusammen mit dem neuen I<st_mode> zurückliefern."
267
268 #. type: SS
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "fstatat()"
273 msgstr "fstatat()"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid ""
279 "The B<fstatat>() system call is a more general interface for accessing file "
280 "information which can still provide exactly the behavior of each of "
281 "B<stat>(), B<lstat>(), and B<fstat>()."
282 msgstr ""
283 "Der Systemaufruf B<fstatat>() ist eine allgemeinere Schnittstelle zum "
284 "Zugriff auf Dateiinformationen, die immer noch das gleiche Verhalten wie "
285 "einer aus B<stat>(), B<lstat>() und B<fstat>() bereitstellen kann."
286
287 #. type: Plain text
288 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
289 #: opensuse-tumbleweed
290 msgid ""
291 "If I<path> is relative, then it is interpreted relative to the directory "
292 "referred to by the file descriptor I<dirfd> (rather than relative to the "
293 "current working directory of the calling process, as is done by B<stat>() "
294 "and B<lstat>() for a relative pathname)."
295 msgstr ""
296 "Falls I<Pfad> relativ ist, wird er als relativ zu dem im Dateideskriptor "
297 "I<Verzdd> referenzierten Verzeichnis interpretiert (statt relativ zum "
298 "aktuellen Arbeitsverzeichnis des aufrufenden Prozesses, wie es bei B<stat>() "
299 "und B<lstat>() für einen relativen Pfadnamen erfolgt)."
300
301 #. type: Plain text
302 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
303 #: opensuse-tumbleweed
304 msgid ""
305 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
306 "I<path> is interpreted relative to the current working directory of the "
307 "calling process (like B<stat>() and B<lstat>())."
308 msgstr ""
309 "Falls I<Pfad> relativ ist und I<Verzdd> den besonderen Wert B<AT_FDCWD> "
310 "annimmt, wird I<Pfad> als relativ zum aktuellen Arbeitsverzeichnis des "
311 "aufrufenden Prozesses interpretiert (wie B<stat>() und B<lstat>())."
312
313 #. type: Plain text
314 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
315 #: opensuse-tumbleweed
316 msgid "If I<path> is absolute, then I<dirfd> is ignored."
317 msgstr "Falls I<Pfad> absolut ist, wird I<Verzdd> ignoriert."
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "I<flags> can either be 0, or include one or more of the following flags ORed:"
324 msgstr ""
325 "I<Schalter> kann entweder 0 sein oder durch bitweises ODER eines oder "
326 "mehrere der folgenden Schalter gesetzt haben:"
327
328 #. type: TP
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)"
333 msgstr "B<AT_EMPTY_PATH> (seit Linux 2.6.39)"
334
335 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
336 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
337 #. type: Plain text
338 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
339 #: opensuse-tumbleweed
340 msgid ""
341 "If I<path> is an empty string (or NULL, since Linux 6.11) operate on the "
342 "file referred to by I<dirfd> (which may have been obtained using the "
343 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
344 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
345 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
346 "current working directory. This flag is Linux-specific; define "
347 "B<_GNU_SOURCE> to obtain its definition."
348 msgstr ""
349 "Falls I<Pfad> eine leere Zeichenkette (oder NULL, seit Linux 6.11) ist, wird "
350 "mit der Datei gearbeitet, auf die I<Verzdd> verweist (dies kann mit dem "
351 "B<O_PATH>-Schalter von B<open>(2) ermittelt werden). In diesem Fall kann "
352 "sich I<Verzdd> auf jeden Dateityp beziehen, nicht nur einem Verzeichnis und "
353 "das Verhalten von B<fstatat>() ist ähnlich zu dem von B<fstat>(). Falls "
354 "I<Verzdd> B<AT_FDCWD> ist, erfolgt der Aufruf im aktuellen "
355 "Arbeitsverzeichnis. Dieser Schalter ist Linux-spezifisch; definieren Sie "
356 "B<_GNU_SOURCE>, um dessen Definition zu ermitteln."
357
358 #. type: TP
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)"
363 msgstr "B<AT_NO_AUTOMOUNT> (seit Linux 2.6.38)"
364
365 #. type: Plain text
366 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
367 #: opensuse-tumbleweed
368 msgid ""
369 "Don't automount the terminal (\"basename\") component of I<path.> Since "
370 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
371 msgstr ""
372 "Die Terminal- (»Basisnamen«-)Komponente von I<Pfad> nicht automatisch "
373 "einhängen. Seit Linux 3.1 wird dieser Schalter ignoriert. Seit Linux 4.11 "
374 "wird dieser Schalter impliziert."
375
376 #. type: TP
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 #, no-wrap
380 msgid "B<AT_SYMLINK_NOFOLLOW>"
381 msgstr "B<AT_SYMLINK_NOFOLLOW>"
382
383 #. type: Plain text
384 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
385 #: opensuse-tumbleweed
386 msgid ""
387 "If I<path> is a symbolic link, do not dereference it: instead return "
388 "information about the link itself, like B<lstat>(). (By default, "
389 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
390 msgstr ""
391 "Falls I<Pfad> ein symbolischer Link ist, wird er nicht dereferenziert: "
392 "Stattdessen werden Informationen zum Link selbst zurückgegeben, wie "
393 "B<lstat>(). In der Voreinstellung dereferenziert B<fstatat>() symbolische "
394 "Links, wie auch B<stat>()."
395
396 #. type: Plain text
397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
398 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
399 msgid "See B<openat>(2) for an explanation of the need for B<fstatat>()."
400 msgstr ""
401 "Lesen Sie B<openat>(2) für eine Beschreibung der Notwendigkeit von "
402 "B<fstatat>()."
403
404 #. type: SH
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 #, no-wrap
408 msgid "RETURN VALUE"
409 msgstr "RÜCKGABEWERT"
410
411 #. type: Plain text
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 msgid ""
415 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
416 "to indicate the error."
417 msgstr ""
418 "Bei Erfolg wird Null zurückgegeben. Bei einem Fehler wird -1 zurückgegeben "
419 "und I<errno> gesetzt, um den Fehler anzuzeigen."
420
421 #. type: SH
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "ERRORS"
426 msgstr "FEHLER"
427
428 #. type: TP
429 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
430 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
431 #, no-wrap
432 msgid "B<EACCES>"
433 msgstr "B<EACCES>"
434
435 #. type: Plain text
436 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
437 #: opensuse-tumbleweed
438 msgid ""
439 "Search permission is denied for one of the directories in the path prefix of "
440 "I<path>. (See also B<path_resolution>(7).)"
441 msgstr ""
442 "Der Suchzugriff auf eines der Verzeichnisse im Pfadpräfix von I<Pfad> wurde "
443 "verweigert (siehe auch B<path_resolution>(7))."
444
445 #. type: TP
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 #, no-wrap
449 msgid "B<EBADF>"
450 msgstr "B<EBADF>"
451
452 #. type: Plain text
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 msgid "I<fd> is not a valid open file descriptor."
456 msgstr "I<dd> ist kein zulässiger offener Dateideskriptor."
457
458 #. type: Plain text
459 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
460 #: opensuse-tumbleweed
461 msgid ""
462 "(B<fstatat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
463 "a valid file descriptor."
464 msgstr ""
465 "(B<fstatat>()) Der I<Pfad> ist relativ, aber I<Verzdd> ist weder "
466 "B<AT_FDCWD> noch ein gültiger Dateideskriptor."
467
468 #. type: TP
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 #, no-wrap
472 msgid "B<EFAULT>"
473 msgstr "B<EFAULT>"
474
475 #. type: Plain text
476 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
477 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
478 msgid "Bad address."
479 msgstr "Ungültige Adresse."
480
481 #. type: TP
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "B<EINVAL>"
486 msgstr "B<EINVAL>"
487
488 #. type: Plain text
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 msgid "(B<fstatat>()) Invalid flag specified in I<flags>."
492 msgstr "(B<fstatat>()) Unzulässiger Schalter in I<Schalter> angegeben."
493
494 #. type: TP
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 #, no-wrap
498 msgid "B<ELOOP>"
499 msgstr "B<ELOOP>"
500
501 #. type: Plain text
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 msgid "Too many symbolic links encountered while traversing the path."
505 msgstr "Beim Pfaddurchlauf wurden zu viele symbolische Links gefunden."
506
507 #. type: TP
508 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
509 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
510 #, no-wrap
511 msgid "B<ENAMETOOLONG>"
512 msgstr "B<ENAMETOOLONG>"
513
514 #. type: Plain text
515 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
516 #: opensuse-tumbleweed
517 msgid "I<path> is too long."
518 msgstr "I<Pfad> ist zu lang."
519
520 #. type: TP
521 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
522 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
523 #, no-wrap
524 msgid "B<ENOENT>"
525 msgstr "B<ENOENT>"
526
527 #. type: Plain text
528 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
529 #: opensuse-tumbleweed
530 msgid "A component of I<path> does not exist or is a dangling symbolic link."
531 msgstr ""
532 "Eine Komponente von I<Pfad> existiert nicht oder ist ein toter symbolischer "
533 "Link."
534
535 #. type: Plain text
536 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
537 #: opensuse-tumbleweed
538 msgid ""
539 "I<path> is an empty string and B<AT_EMPTY_PATH> was not specified in "
540 "I<flags>."
541 msgstr ""
542 "I<Pfad> ist die leere Zeichenkette und B<AT_EMPTY_PATH> wurde in I<Schalter> "
543 "nicht angegeben."
544
545 #. type: TP
546 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
547 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
548 #, no-wrap
549 msgid "B<ENOMEM>"
550 msgstr "B<ENOMEM>"
551
552 #. type: Plain text
553 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
554 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
555 msgid "Out of memory (i.e., kernel memory)."
556 msgstr "Kein Speicher mehr (das bedeutet Speicher im Kernel)."
557
558 #. type: TP
559 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
560 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
561 #, no-wrap
562 msgid "B<ENOTDIR>"
563 msgstr "B<ENOTDIR>"
564
565 #. type: Plain text
566 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
567 #: opensuse-tumbleweed
568 msgid "A component of the path prefix of I<path> is not a directory."
569 msgstr "Eine Komponente des Pfadpräfixes von I<Pfad> ist kein Verzeichnis."
570
571 #. type: Plain text
572 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
573 #: opensuse-tumbleweed
574 msgid ""
575 "(B<fstatat>()) I<path> is relative and I<dirfd> is a file descriptor "
576 "referring to a file other than a directory."
577 msgstr ""
578 "(B<fstatat>()) I<Pfad> ist relativ und I<Verzdd> ist ein Dateideskriptor, "
579 "der sich auf eine Datei bezieht, die kein Verzeichnis ist."
580
581 #. type: TP
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 #, no-wrap
585 msgid "B<EOVERFLOW>"
586 msgstr "B<EOVERFLOW>"
587
588 #. type: Plain text
589 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
590 #: opensuse-tumbleweed
591 msgid ""
592 "I<path> or I<fd> refers to a file whose size, inode number, or number of "
593 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
594 "or I<blkcnt_t>. This error can occur when, for example, an application "
595 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
596 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
597 msgstr ""
598 "I<Pfad> oder I<dd> bezieht sich auf eine Datei, deren Name, Inode-Anzahl "
599 "oder Anzahl der Blöcke nicht durch die Typen I<off_t>, I<ino_t> oder "
600 "I<blkcnt_t> repräsentiert werden kann. Dieser Fehler kann beispielsweise "
601 "auftreten, wenn eine auf einer 32-bit-Plattform kompilierte Anwendung ohne "
602 "I<-D_FILE_OFFSET_BITS=64> B<stat>() für eine Datei aufruft, deren Größe "
603 "I<(1E<lt>E<lt>31)-1> Byte übersteigt."
604
605 #. type: SH
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, no-wrap
609 msgid "STANDARDS"
610 msgstr "STANDARDS"
611
612 #. type: Plain text
613 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
614 #: opensuse-tumbleweed
615 msgid "POSIX.1-2024."
616 msgstr "POSIX.1-2024."
617
618 #. type: SH
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 #, no-wrap
622 msgid "HISTORY"
623 msgstr "GESCHICHTE"
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<stat>()"
630 msgstr "B<stat>()"
631
632 #. type: TQ
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, no-wrap
636 msgid "B<fstat>()"
637 msgstr "B<fstat>()"
638
639 #. type: TQ
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 #, no-wrap
643 msgid "B<lstat>()"
644 msgstr "B<lstat>()"
645
646 #. SVr4 documents additional
647 #. .BR fstat ()
648 #. error conditions EINTR, ENOLINK, and EOVERFLOW. SVr4
649 #. documents additional
650 #. .BR stat ()
651 #. and
652 #. .BR lstat ()
653 #. error conditions EINTR, EMULTIHOP, ENOLINK, and EOVERFLOW.
654 #. type: Plain text
655 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
656 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
657 msgid "SVr4, 4.3BSD, POSIX.1-2001."
658 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
659
660 #. type: TP
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 #, no-wrap
664 msgid "B<fstatat>()"
665 msgstr "B<fstatat>()"
666
667 #. type: Plain text
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
671 msgstr "POSIX.1-2008. Linux 2.6.16, Glibc 2.4."
672
673 #. type: Plain text
674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
675 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
676 msgid ""
677 "According to POSIX.1-2001, B<lstat>() on a symbolic link need return valid "
678 "information only in the I<st_size> field and the file type of the I<st_mode> "
679 "field of the I<stat> structure. POSIX.1-2008 tightens the specification, "
680 "requiring B<lstat>() to return valid information in all fields except the "
681 "mode bits in I<st_mode>."
682 msgstr ""
683 "Entsprechend POSIX.1-2001 benötigt B<lstat>() bei Anwendung auf einen "
684 "symbolischen Link lediglich im Feld I<st_size> und im Dateityp des "
685 "I<st_mode>-Feldes der I<stat>-Struktur gültige Rückgabeinformationen. "
686 "POSIX.1-2008 engt diese Spezifikation ein, indem B<lstat>() in allen Feldern "
687 "außer den Modus-Bits in I<st_mode> gültige Informationen zurückgeben muss."
688
689 #. type: Plain text
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 msgid ""
693 "Use of the I<st_blocks> and I<st_blksize> fields may be less portable. "
694 "(They were introduced in BSD. The interpretation differs between systems, "
695 "and possibly on a single system when NFS mounts are involved.)"
696 msgstr ""
697 "Die Verwendung der Felder I<st_blocks> und I<st_blksize> kann die "
698 "Portabilität einschränken. Diese wurden in BSD eingeführt. Die "
699 "Interpretation unterscheidet sich auf verschiedenen Systemen, und "
700 "möglicherweise auf einem einzelnen System, wenn NFS-Einhängungen bestehen. "
701
702 #. type: SS
703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
705 #, no-wrap
706 msgid "C library/kernel differences"
707 msgstr "Unterschiede C-Bibliothek/Kernel"
708
709 #. See include/asm-i386/stat.h in the Linux 2.4 source code for the
710 #. various versions of the structure definitions
711 #. type: Plain text
712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
713 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
714 msgid ""
715 "Over time, increases in the size of the I<stat> structure have led to three "
716 "successive versions of B<stat>(): I<sys_stat>() (slot I<__NR_oldstat>), "
717 "I<sys_newstat>() (slot I<__NR_stat>), and I<sys_stat64()> (slot "
718 "I<__NR_stat64>) on 32-bit platforms such as i386. The first two versions "
719 "were already present in Linux 1.0 (albeit with different names); the last "
720 "was added in Linux 2.4. Similar remarks apply for B<fstat>() and "
721 "B<lstat>()."
722 msgstr ""
723 "Mit der Zeit führte der Größenzuwachs der I<stat>-Struktur auf 32-Bit-"
724 "Plattformen wie i386 zu drei Folgeversionen von B<stat>(): I<sys_stat>() "
725 "(slot I<__NR_oldstat>), I<sys_newstat>() (slot I<__NR_stat>) und "
726 "I<sys_stat64()> (slot I<__NR_stat64>). Die ersten zwei Versionen waren "
727 "bereits in Linux 1.0. (allerdings mit anderen Namen) verfügbar; die letzte "
728 "wurde in Linux 2.4 hinzugefügt. Ähnliches gilt für B<fstat>() und B<lstat>()."
729
730 #. type: Plain text
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 msgid ""
734 "The kernel-internal versions of the I<stat> structure dealt with by the "
735 "different versions are, respectively:"
736 msgstr ""
737 "Die kernelinterne Version der Struktur I<stat> handhabte drei verschieden "
738 "Versionen, und zwar:"
739
740 #. type: TP
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "I<__old_kernel_stat>"
745 msgstr "I<__old_kernel_stat>"
746
747 #. type: Plain text
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 msgid "The original structure, with rather narrow fields, and no padding."
751 msgstr ""
752 "Die ursprüngliche Struktur, mit eher engen Felder und keiner Auffüllung."
753
754 #. type: TP
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 #, no-wrap
758 msgid "I<stat>"
759 msgstr "I<stat>"
760
761 #. type: Plain text
762 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
763 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
764 msgid ""
765 "Larger I<st_ino> field and padding added to various parts of the structure "
766 "to allow for future expansion."
767 msgstr ""
768 "Größeres Feld I<st_ino> mit ergänzter Auffüllung an verschiedenen Teilen der "
769 "Struktur, um zukünftige Erweiterungen zu erlauben."
770
771 #. type: TP
772 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
773 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
774 #, no-wrap
775 msgid "I<stat64>"
776 msgstr "I<stat64>"
777
778 #. type: Plain text
779 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
780 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
781 msgid ""
782 "Even larger I<st_ino> field, larger I<st_uid> and I<st_gid> fields to "
783 "accommodate the Linux-2.4 expansion of UIDs and GIDs to 32 bits, and various "
784 "other enlarged fields and further padding in the structure. (Various "
785 "padding bytes were eventually consumed in Linux 2.6, with the advent of 32-"
786 "bit device IDs and nanosecond components for the timestamp fields.)"
787 msgstr ""
788 "Noch größeres Feld I<st_ino>, größere Felder I<st_uid> und I<st_gid>, um der "
789 "Linux-2.4-Erweiterung der UIDs und GIDs auf 32 bit Platz zu schaffen, und "
790 "verschiedene andere vergrößerte Felder und weitere Auffüllungen in der "
791 "Struktur. (Verschiedene Auffüllbytes wurden schließlich in Linux 2.6 mit dem "
792 "Aufkommen von 32-bit-Gerätekennungen und Nanosekundenkomponenten der "
793 "Zeitstempelfelder benutzt.)"
794
795 #
796 #
797 #
798 #
799 #
800 #
801 #. #-#-#-#-# archlinux: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
802 #. A note from Andries Brouwer, July 2007
803 #. > Is the story not rather more complicated for some calls like
804 #. > stat(2)?
805 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
806 #. The idea is here not so much that syscalls change, but that
807 #. the definitions of struct stat and of the types dev_t and mode_t change.
808 #. This means that libc (even if it does not call the kernel
809 #. but only calls some internal function) must know what the
810 #. format of dev_t or of struct stat is.
811 #. The communication between the application and libc goes via
812 #. the include file <sys/stat.h> that defines a _STAT_VER and
813 #. _MKNOD_VER describing the layout of the data that user space
814 #. uses. Each (almost each) occurrence of stat() is replaced by
815 #. an occurrence of xstat() where the first parameter of xstat()
816 #. is this version number _STAT_VER.
817 #. Now, also the definitions used by the kernel change.
818 #. But glibc copes with this in the standard way, and the
819 #. struct stat as returned by the kernel is repacked into
820 #. the struct stat as expected by the application.
821 #. Thus, _STAT_VER and this setup cater for the application-libc
822 #. interface, rather than the libc-kernel interface.
823 #. (Note that the details depend on gcc being used as c compiler.)
824 #. type: Plain text
825 #. #-#-#-#-# debian-trixie: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
826 #. A note from Andries Brouwer, July 2007
827 #. > Is the story not rather more complicated for some calls like
828 #. > stat(2)?
829 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
830 #. The idea is here not so much that syscalls change, but that
831 #. the definitions of struct stat and of the types dev_t and mode_t change.
832 #. This means that libc (even if it does not call the kernel
833 #. but only calls some internal function) must know what the
834 #. format of dev_t or of struct stat is.
835 #. The communication between the application and libc goes via
836 #. the include file <sys/stat.h> that defines a _STAT_VER and
837 #. _MKNOD_VER describing the layout of the data that user space
838 #. uses. Each (almost each) occurrence of stat() is replaced by
839 #. an occurrence of xstat() where the first parameter of xstat()
840 #. is this version number _STAT_VER.
841 #. Now, also the definitions used by the kernel change.
842 #. But glibc copes with this in the standard way, and the
843 #. struct stat as returned by the kernel is repacked into
844 #. the struct stat as expected by the application.
845 #. Thus, _STAT_VER and this setup cater for the application-libc
846 #. interface, rather than the libc-kernel interface.
847 #. (Note that the details depend on gcc being used as c compiler.)
848 #. type: Plain text
849 #. #-#-#-#-# debian-unstable: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
850 #. A note from Andries Brouwer, July 2007
851 #. > Is the story not rather more complicated for some calls like
852 #. > stat(2)?
853 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
854 #. The idea is here not so much that syscalls change, but that
855 #. the definitions of struct stat and of the types dev_t and mode_t change.
856 #. This means that libc (even if it does not call the kernel
857 #. but only calls some internal function) must know what the
858 #. format of dev_t or of struct stat is.
859 #. The communication between the application and libc goes via
860 #. the include file <sys/stat.h> that defines a _STAT_VER and
861 #. _MKNOD_VER describing the layout of the data that user space
862 #. uses. Each (almost each) occurrence of stat() is replaced by
863 #. an occurrence of xstat() where the first parameter of xstat()
864 #. is this version number _STAT_VER.
865 #. Now, also the definitions used by the kernel change.
866 #. But glibc copes with this in the standard way, and the
867 #. struct stat as returned by the kernel is repacked into
868 #. the struct stat as expected by the application.
869 #. Thus, _STAT_VER and this setup cater for the application-libc
870 #. interface, rather than the libc-kernel interface.
871 #. (Note that the details depend on gcc being used as c compiler.)
872 #. type: Plain text
873 #. #-#-#-#-# fedora-44: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
874 #. A note from Andries Brouwer, July 2007
875 #. > Is the story not rather more complicated for some calls like
876 #. > stat(2)?
877 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
878 #. The idea is here not so much that syscalls change, but that
879 #. the definitions of struct stat and of the types dev_t and mode_t change.
880 #. This means that libc (even if it does not call the kernel
881 #. but only calls some internal function) must know what the
882 #. format of dev_t or of struct stat is.
883 #. The communication between the application and libc goes via
884 #. the include file <sys/stat.h> that defines a _STAT_VER and
885 #. _MKNOD_VER describing the layout of the data that user space
886 #. uses. Each (almost each) occurrence of stat() is replaced by
887 #. an occurrence of xstat() where the first parameter of xstat()
888 #. is this version number _STAT_VER.
889 #. Now, also the definitions used by the kernel change.
890 #. But glibc copes with this in the standard way, and the
891 #. struct stat as returned by the kernel is repacked into
892 #. the struct stat as expected by the application.
893 #. Thus, _STAT_VER and this setup cater for the application-libc
894 #. interface, rather than the libc-kernel interface.
895 #. (Note that the details depend on gcc being used as c compiler.)
896 #. type: Plain text
897 #. #-#-#-#-# fedora-rawhide: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
898 #. A note from Andries Brouwer, July 2007
899 #. > Is the story not rather more complicated for some calls like
900 #. > stat(2)?
901 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
902 #. The idea is here not so much that syscalls change, but that
903 #. the definitions of struct stat and of the types dev_t and mode_t change.
904 #. This means that libc (even if it does not call the kernel
905 #. but only calls some internal function) must know what the
906 #. format of dev_t or of struct stat is.
907 #. The communication between the application and libc goes via
908 #. the include file <sys/stat.h> that defines a _STAT_VER and
909 #. _MKNOD_VER describing the layout of the data that user space
910 #. uses. Each (almost each) occurrence of stat() is replaced by
911 #. an occurrence of xstat() where the first parameter of xstat()
912 #. is this version number _STAT_VER.
913 #. Now, also the definitions used by the kernel change.
914 #. But glibc copes with this in the standard way, and the
915 #. struct stat as returned by the kernel is repacked into
916 #. the struct stat as expected by the application.
917 #. Thus, _STAT_VER and this setup cater for the application-libc
918 #. interface, rather than the libc-kernel interface.
919 #. (Note that the details depend on gcc being used as c compiler.)
920 #. type: Plain text
921 #. #-#-#-#-# mageia-cauldron: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
922 #. A note from Andries Brouwer, July 2007
923 #. > Is the story not rather more complicated for some calls like
924 #. > stat(2)?
925 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
926 #. The idea is here not so much that syscalls change, but that
927 #. the definitions of struct stat and of the types dev_t and mode_t change.
928 #. This means that libc (even if it does not call the kernel
929 #. but only calls some internal function) must know what the
930 #. format of dev_t or of struct stat is.
931 #. The communication between the application and libc goes via
932 #. the include file <sys/stat.h> that defines a _STAT_VER and
933 #. _MKNOD_VER describing the layout of the data that user space
934 #. uses. Each (almost each) occurrence of stat() is replaced by
935 #. an occurrence of xstat() where the first parameter of xstat()
936 #. is this version number _STAT_VER.
937 #. Now, also the definitions used by the kernel change.
938 #. But glibc copes with this in the standard way, and the
939 #. struct stat as returned by the kernel is repacked into
940 #. the struct stat as expected by the application.
941 #. Thus, _STAT_VER and this setup cater for the application-libc
942 #. interface, rather than the libc-kernel interface.
943 #. (Note that the details depend on gcc being used as c compiler.)
944 #. type: Plain text
945 #. #-#-#-#-# opensuse-leap-16-1: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
946 #. A note from Andries Brouwer, July 2007
947 #. > Is the story not rather more complicated for some calls like
948 #. > stat(2)?
949 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
950 #. The idea is here not so much that syscalls change, but that
951 #. the definitions of struct stat and of the types dev_t and mode_t change.
952 #. This means that libc (even if it does not call the kernel
953 #. but only calls some internal function) must know what the
954 #. format of dev_t or of struct stat is.
955 #. The communication between the application and libc goes via
956 #. the include file <sys/stat.h> that defines a _STAT_VER and
957 #. _MKNOD_VER describing the layout of the data that user space
958 #. uses. Each (almost each) occurrence of stat() is replaced by
959 #. an occurrence of xstat() where the first parameter of xstat()
960 #. is this version number _STAT_VER.
961 #. Now, also the definitions used by the kernel change.
962 #. But glibc copes with this in the standard way, and the
963 #. struct stat as returned by the kernel is repacked into
964 #. the struct stat as expected by the application.
965 #. Thus, _STAT_VER and this setup cater for the application-libc
966 #. interface, rather than the libc-kernel interface.
967 #. (Note that the details depend on gcc being used as c compiler.)
968 #. type: Plain text
969 #. #-#-#-#-# opensuse-tumbleweed: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
970 #. A note from Andries Brouwer, July 2007
971 #. > Is the story not rather more complicated for some calls like
972 #. > stat(2)?
973 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
974 #. The idea is here not so much that syscalls change, but that
975 #. the definitions of struct stat and of the types dev_t and mode_t change.
976 #. This means that libc (even if it does not call the kernel
977 #. but only calls some internal function) must know what the
978 #. format of dev_t or of struct stat is.
979 #. The communication between the application and libc goes via
980 #. the include file <sys/stat.h> that defines a _STAT_VER and
981 #. _MKNOD_VER describing the layout of the data that user space
982 #. uses. Each (almost each) occurrence of stat() is replaced by
983 #. an occurrence of xstat() where the first parameter of xstat()
984 #. is this version number _STAT_VER.
985 #. Now, also the definitions used by the kernel change.
986 #. But glibc copes with this in the standard way, and the
987 #. struct stat as returned by the kernel is repacked into
988 #. the struct stat as expected by the application.
989 #. Thus, _STAT_VER and this setup cater for the application-libc
990 #. interface, rather than the libc-kernel interface.
991 #. (Note that the details depend on gcc being used as c compiler.)
992 #. type: Plain text
993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
994 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
995 msgid ""
996 "The glibc B<stat>() wrapper function hides these details from applications, "
997 "invoking the most recent version of the system call provided by the kernel, "
998 "and repacking the returned information if required for old binaries."
999 msgstr ""
1000 "Die Wrapperfunktion der Glibc B<stat>() versteckt diese Details vor "
1001 "Anwendungen. Sie ruft die neuste Version des vom Kernel bereitgestellten "
1002 "Systemaufrufs auf und packt die zurückgelieferten Informationen neu, falls "
1003 "dies für alte Programme benötigt wird."
1004
1005 #. type: Plain text
1006 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1007 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1008 msgid ""
1009 "On modern 64-bit systems, life is simpler: there is a single B<stat>() "
1010 "system call and the kernel deals with a I<stat> structure that contains "
1011 "fields of a sufficient size."
1012 msgstr ""
1013 "Auf modernen 64-Bit-Systemen ist das Leben einfacher: Es gibt einen einzigen "
1014 "Systemaufruf B<stat>() und der Kernel arbeitet mit einer Struktur I<stat>, "
1015 "die Felder einer ausreichenden Größe enthält."
1016
1017 #. strace(1) shows the name "newfstatat" on x86-64
1018 #. type: Plain text
1019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1021 msgid ""
1022 "The underlying system call employed by the glibc B<fstatat>() wrapper "
1023 "function is actually called B<fstatat64>() or, on some architectures, "
1024 "B<newfstatat>()."
1025 msgstr ""
1026 "Der der Glibc-Wrapper-Funktion B<fstatat>() zugrunde liegende Systemaufruf "
1027 "ist tatsächlich B<fstatat64>() oder auf einigen Architekturen "
1028 "B<newfstatat>()."
1029
1030 #. type: SH
1031 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1032 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1033 #, no-wrap
1034 msgid "EXAMPLES"
1035 msgstr "BEISPIELE"
1036
1037 #. type: Plain text
1038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1039 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1040 msgid ""
1041 "The following program calls B<lstat>() and displays selected fields in the "
1042 "returned I<stat> structure."
1043 msgstr ""
1044 "Das folgende Programm ruft B<lstat>() auf zeigt ausgewählte Felder der "
1045 "zurückgelieferten Struktur I<stat> an."
1046
1047 #. type: Plain text
1048 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1049 #: opensuse-tumbleweed
1050 #, no-wrap
1051 msgid ""
1052 "#include E<lt>stdint.hE<gt>\n"
1053 "#include E<lt>stdio.hE<gt>\n"
1054 "#include E<lt>stdlib.hE<gt>\n"
1055 "#include E<lt>sys/stat.hE<gt>\n"
1056 "#include E<lt>sys/sysmacros.hE<gt>\n"
1057 "#include E<lt>time.hE<gt>\n"
1058 "\\&\n"
1059 "int\n"
1060 "main(int argc, char *argv[])\n"
1061 "{\n"
1062 " struct stat sb;\n"
1063 "\\&\n"
1064 " if (argc != 2) {\n"
1065 " fprintf(stderr, \"Usage: %s E<lt>pathE<gt>\\[rs]n\", argv[0]);\n"
1066 " exit(EXIT_FAILURE);\n"
1067 " }\n"
1068 "\\&\n"
1069 " if (lstat(argv[1], &sb) == -1) {\n"
1070 " perror(\"lstat\");\n"
1071 " exit(EXIT_FAILURE);\n"
1072 " }\n"
1073 "\\&\n"
1074 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1075 " major(sb.st_dev),\n"
1076 " minor(sb.st_dev));\n"
1077 "\\&\n"
1078 " printf(\"File type: \");\n"
1079 "\\&\n"
1080 " switch (sb.st_mode & S_IFMT) {\n"
1081 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1082 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1083 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1084 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1085 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1086 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1087 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1088 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1089 " }\n"
1090 "\\&\n"
1091 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1092 "\\&\n"
1093 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1094 " (uintmax_t) sb.st_mode);\n"
1095 "\\&\n"
1096 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1097 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1098 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1099 "\\&\n"
1100 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1101 " (intmax_t) sb.st_blksize);\n"
1102 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1103 " (intmax_t) sb.st_size);\n"
1104 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1105 " (intmax_t) sb.st_blocks);\n"
1106 "\\&\n"
1107 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1108 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1109 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1110 "\\&\n"
1111 " exit(EXIT_SUCCESS);\n"
1112 "}\n"
1113 msgstr ""
1114 "#include E<lt>stdint.hE<gt>\n"
1115 "#include E<lt>stdio.hE<gt>\n"
1116 "#include E<lt>stdlib.hE<gt>\n"
1117 "#include E<lt>sys/stat.hE<gt>\n"
1118 "#include E<lt>sys/sysmacros.hE<gt>\n"
1119 "#include E<lt>time.hE<gt>\n"
1120 "\\&\n"
1121 "int\n"
1122 "main(int argc, char *argv[])\n"
1123 "{\n"
1124 " struct stat sb;\n"
1125 "\\&\n"
1126 " if (argc != 2) {\n"
1127 " fprintf(stderr, \"Aufruf: %s E<lt>PfadE<gt>\\[rs]n\", argv[0]);\n"
1128 " exit(EXIT_FAILURE);\n"
1129 " }\n"
1130 "\\&\n"
1131 " if (lstat(argv[1], &sb) == -1) {\n"
1132 " perror(\"lstat\");\n"
1133 " exit(EXIT_FAILURE);\n"
1134 " }\n"
1135 "\\&\n"
1136 " printf(\"Kennung des enthaltenen Gerätes: [%x,%x]\\[rs]n\",\n"
1137 " major(sb.st_dev),\n"
1138 " minor(sb.st_dev));\n"
1139 "\\&\n"
1140 " printf(\"File type: \");\n"
1141 "\\&\n"
1142 " switch (sb.st_mode & S_IFMT) {\n"
1143 " case S_IFBLK: printf(\"Blockgerät\\[rs]n\"); break;\n"
1144 " case S_IFCHR: printf(\"zeichenorientiertes Gerät \\[rs]n\"); break;\n"
1145 " case S_IFDIR: printf(\"Verzeichnis\\[rs]n\"); break;\n"
1146 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1147 " case S_IFLNK: printf(\"Symlink\\[rs]n\"); break;\n"
1148 " case S_IFREG: printf(\"reguläre Datei\\[rs]n\"); break;\n"
1149 " case S_IFSOCK: printf(\"Socket\\[rs]en\"); break;\n"
1150 " default: printf(\"unbekannt?\\[rs]n\"); break;\n"
1151 " }\n"
1152 "\\&\n"
1153 " printf(\"I-node-Nummmer: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1154 "\\&\n"
1155 " printf(\"Modus: %jo (octal)\\[rs]n\",\n"
1156 " (uintmax_t) sb.st_mode);\n"
1157 "\\&\n"
1158 " printf(\"Linkzähler: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1159 " printf(\"Eigentümer: UID=%ju GID=%ju\\[rs]n\",\n"
1160 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1161 "\\&\n"
1162 " printf(\"Bevorzugte E/A-Blockgräße: %jd byte\\[rs]n\",\n"
1163 " (intmax_t) sb.st_blksize);\n"
1164 " printf(\"Dateigröße: %jd byte\\[rs]n\",\n"
1165 " (intmax_t) sb.st_size);\n"
1166 " printf(\"Reservierte Blöcke: %jd\\[rs]n\",\n"
1167 " (intmax_t) sb.st_blocks);\n"
1168 "\\&\n"
1169 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1170 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1171 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1172 "\\&\n"
1173 " exit(EXIT_SUCCESS);\n"
1174 "}\n"
1175
1176 #. SRC END
1177 #. type: SH
1178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1180 #, no-wrap
1181 msgid "SEE ALSO"
1182 msgstr "SIEHE AUCH"
1183
1184 #. type: Plain text
1185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1187 msgid ""
1188 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1189 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1190 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1191 msgstr ""
1192 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1193 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1194 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1195
1196 #. type: TH
1197 #: debian-trixie
1198 #, no-wrap
1199 msgid "2024-06-15"
1200 msgstr "15. Juni 2024"
1201
1202 #. type: TH
1203 #: debian-trixie
1204 #, no-wrap
1205 msgid "Linux man-pages 6.9.1"
1206 msgstr "Linux man-pages 6.9.1"
1207
1208 #. type: Plain text
1209 #: debian-trixie
1210 msgid "Standard C library (I<libc>, I<-lc>)"
1211 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
1212
1213 #. type: Plain text
1214 #: debian-trixie fedora-44 fedora-rawhide
1215 #, no-wrap
1216 msgid ""
1217 "B<int stat(const char *restrict >I<pathname>B<,>\n"
1218 "B< struct stat *restrict >I<statbuf>B<);>\n"
1219 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1220 "B<int lstat(const char *restrict >I<pathname>B<,>\n"
1221 "B< struct stat *restrict >I<statbuf>B<);>\n"
1222 msgstr ""
1223 "B<int stat(const char *restrict >I<Pfadname>B<,>\n"
1224 "B< struct stat *restrict >I<Statuspuffer>B<);>\n"
1225 "B<int fstat(int >I<dd>B<, struct stat *>I<Statuspuffer>B<);>\n"
1226 "B<int lstat(const char *restrict >I<Pfadname>B<,>\n"
1227 "B< struct stat *restrict >I<Statuspuffer>B<);>\n"
1228
1229 #. type: Plain text
1230 #: debian-trixie fedora-44 fedora-rawhide
1231 #, no-wrap
1232 msgid ""
1233 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
1234 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
1235 msgstr ""
1236 "B<int fstatat(int >I<Verzdd>B<, const char *restrict >I<Pfadname>B<,>\n"
1237 "B< struct stat *restrict >I<Statuspuffer>B<, int >I<Schalter>B<);>\n"
1238
1239 #. type: Plain text
1240 #: debian-trixie fedora-44 fedora-rawhide
1241 msgid ""
1242 "These functions return information about a file, in the buffer pointed to by "
1243 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
1244 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
1245 "permission is required on all of the directories in I<pathname> that lead to "
1246 "the file."
1247 msgstr ""
1248 "Diese Funktionen geben Informationen über eine Datei im Puffer zurück, auf "
1249 "den I<Statuspuffer> zeigt. Dazu werden keinerlei Rechte an der angegebenen "
1250 "Datei benötigt, aber – im Falle von B<stat>(), B<fstatat>() und B<lstat>() – "
1251 "müssen alle Verzeichnisse im I<Pfadnamen>, die zu der Datei führen, "
1252 "durchsucht werden dürfen."
1253
1254 #. type: Plain text
1255 #: debian-trixie fedora-44 fedora-rawhide
1256 msgid ""
1257 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
1258 "by I<pathname>; the differences for B<fstatat>() are described below."
1259 msgstr ""
1260 "B<stat>() und B<fstatat>() liefern die Informationen zu der in I<Pfadname> "
1261 "angegebenen Datei und übergibt diese an I<fstatat>(), wie nachfolgend "
1262 "beschrieben."
1263
1264 #. type: Plain text
1265 #: debian-trixie fedora-44 fedora-rawhide
1266 msgid ""
1267 "B<lstat>() is identical to B<stat>(), except that if I<pathname> is a "
1268 "symbolic link, then it returns information about the link itself, not the "
1269 "file that the link refers to."
1270 msgstr ""
1271 "B<lstat>() ist ähnlich B<stat>(), nur dass falls I<Pfadname> ein "
1272 "symbolischer Link ist, Informationen zum Link zurückgegeben werden und nicht "
1273 "zur Datei, auf die der Link zeigt."
1274
1275 #. type: Plain text
1276 #: debian-trixie fedora-44 fedora-rawhide
1277 msgid ""
1278 "If the pathname given in I<pathname> is relative, then it is interpreted "
1279 "relative to the directory referred to by the file descriptor I<dirfd> "
1280 "(rather than relative to the current working directory of the calling "
1281 "process, as is done by B<stat>() and B<lstat>() for a relative pathname)."
1282 msgstr ""
1283 "Falls der in I<Pfadname> übergebene Pfadname relativ ist, wird er als "
1284 "relativ zu dem im Dateideskriptor I<Verzdd> referenzierten Verzeichnis "
1285 "interpretiert (statt relativ zum aktuellen Arbeitsverzeichnis des "
1286 "aufrufenden Prozesses, wie es bei B<stat>() und B<lstat>() für einen "
1287 "relativen Pfadnamen erfolgt)."
1288
1289 #. type: Plain text
1290 #: debian-trixie fedora-44 fedora-rawhide
1291 msgid ""
1292 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1293 "then I<pathname> is interpreted relative to the current working directory of "
1294 "the calling process (like B<stat>() and B<lstat>())."
1295 msgstr ""
1296 "Falls I<Pfadname> relativ ist und I<Verzdd> den besonderen Wert B<AT_FDCWD> "
1297 "annimmt, wird I<Pfadname> als relativ zum aktuellen Arbeitsverzeichnis des "
1298 "aufrufenden Prozesses interpretiert (wie B<stat>() und B<lstat>())."
1299
1300 #. type: Plain text
1301 #: debian-trixie fedora-44 fedora-rawhide
1302 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1303 msgstr "Falls I<Pfadname> absolut ist, wird I<Verzdd> ignoriert."
1304
1305 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1306 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1307 #. type: Plain text
1308 #: debian-trixie
1309 msgid ""
1310 "If I<pathname> is an empty string, operate on the file referred to by "
1311 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1312 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1313 "directory, and the behavior of B<fstatat>() is similar to that of "
1314 "B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1315 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1316 "obtain its definition."
1317 msgstr ""
1318 "Falls I<Pfadname> eine leere Zeichenkette ist, wird mit der Datei "
1319 "gearbeitet, auf die I<Verzdd> verweist (dies kann mit dem B<O_PATH>-Schalter "
1320 "von B<open>(2) ermittelt werden). In diesem Fall kann sich I<Verzdd> auf "
1321 "jeden Dateityp beziehen, nicht nur einem Verzeichnis und das Verhalten von "
1322 "B<fstatat>() ist ähnlich zu dem von B<fstat>(). Falls I<Verzdd> B<AT_FDCWD> "
1323 "ist, erfolgt der Aufruf im aktuellen Arbeitsverzeichnis. Dieser Schalter ist "
1324 "Linux-spezifisch; definieren Sie B<_GNU_SOURCE>, um dessen Definition zu "
1325 "ermitteln."
1326
1327 #. type: Plain text
1328 #: debian-trixie fedora-44 fedora-rawhide
1329 msgid ""
1330 "Don't automount the terminal (\"basename\") component of I<pathname.> Since "
1331 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
1332 msgstr ""
1333 "Die Terminal- (»Basisnamen«-)Komponente von I<Pfadname> nicht automatisch "
1334 "einhängen. Seit Linux 3.1 wird dieser Schalter ignoriert. Seit Linux 4.11 "
1335 "wird dieser Schalter impliziert."
1336
1337 #. type: Plain text
1338 #: debian-trixie fedora-44 fedora-rawhide
1339 msgid ""
1340 "If I<pathname> is a symbolic link, do not dereference it: instead return "
1341 "information about the link itself, like B<lstat>(). (By default, "
1342 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
1343 msgstr ""
1344 "Falls I<Pfadname> ein symbolischer Link ist, wird er nicht dereferenziert: "
1345 "Stattdessen werden Informationen zum Link selbst zurückgegeben, wie "
1346 "B<lstat>(). In der Voreinstellung dereferenziert B<fstatat>() symbolische "
1347 "Links, wie auch B<stat>()."
1348
1349 #. type: Plain text
1350 #: debian-trixie fedora-44 fedora-rawhide
1351 msgid ""
1352 "Search permission is denied for one of the directories in the path prefix of "
1353 "I<pathname>. (See also B<path_resolution>(7).)"
1354 msgstr ""
1355 "Der Suchzugriff auf eines der Verzeichnisse im Pfadpräfix von I<Pfadname> "
1356 "wurde verweigert (siehe auch B<path_resolution>(7))."
1357
1358 #. type: Plain text
1359 #: debian-trixie fedora-44 fedora-rawhide
1360 msgid ""
1361 "(B<fstatat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
1362 "nor a valid file descriptor."
1363 msgstr ""
1364 "(B<fstatat>()) Der I<Pfadname> ist relativ, aber I<Verzdd> ist weder "
1365 "B<AT_FDCWD> noch ein gültiger Dateideskriptor."
1366
1367 #. type: Plain text
1368 #: debian-trixie fedora-44 fedora-rawhide
1369 msgid "I<pathname> is too long."
1370 msgstr "I<Pfadname> ist zu lang."
1371
1372 #. type: Plain text
1373 #: debian-trixie fedora-44 fedora-rawhide
1374 msgid ""
1375 "A component of I<pathname> does not exist or is a dangling symbolic link."
1376 msgstr ""
1377 "Eine Komponente von I<Pfadname> existiert nicht oder ist ein toter "
1378 "symbolischer Link."
1379
1380 #. type: Plain text
1381 #: debian-trixie fedora-44 fedora-rawhide
1382 msgid ""
1383 "I<pathname> is an empty string and B<AT_EMPTY_PATH> was not specified in "
1384 "I<flags>."
1385 msgstr ""
1386 "I<Pfadname> ist die leere Zeichenkette und B<AT_EMPTY_PATH> wurde in "
1387 "I<Schalter> nicht angegeben."
1388
1389 #. type: Plain text
1390 #: debian-trixie fedora-44 fedora-rawhide
1391 msgid "A component of the path prefix of I<pathname> is not a directory."
1392 msgstr "Eine Komponente des Pfadpräfixes von I<Pfadname> ist kein Verzeichnis."
1393
1394 #. type: Plain text
1395 #: debian-trixie fedora-44 fedora-rawhide
1396 msgid ""
1397 "(B<fstatat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1398 "referring to a file other than a directory."
1399 msgstr ""
1400 "(B<fstatat>()) I<Pfadname> ist relativ und I<Verzdd> ist ein "
1401 "Dateideskriptor, der sich auf eine Datei bezieht, die kein Verzeichnis ist."
1402
1403 #. type: Plain text
1404 #: debian-trixie fedora-44 fedora-rawhide
1405 msgid ""
1406 "I<pathname> or I<fd> refers to a file whose size, inode number, or number of "
1407 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
1408 "or I<blkcnt_t>. This error can occur when, for example, an application "
1409 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
1410 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
1411 msgstr ""
1412 "I<Pfadname> oder I<dd> bezieht sich auf eine Datei, deren Name, Inode-Anzahl "
1413 "oder Anzahl der Blöcke nicht durch die Typen I<off_t>, I<ino_t> oder "
1414 "I<blkcnt_t> repräsentiert werden kann. Dieser Fehler kann beispielsweise "
1415 "auftreten, wenn eine auf einer 32-bit-Plattform kompilierte Anwendung ohne "
1416 "I<-D_FILE_OFFSET_BITS=64> B<stat>() für eine Datei aufruft, deren Größe "
1417 "I<(1E<lt>E<lt>31)-1> Byte übersteigt."
1418
1419 #. type: Plain text
1420 #: debian-trixie fedora-44 fedora-rawhide
1421 msgid "POSIX.1-2008."
1422 msgstr "POSIX.1-2008."
1423
1424 #. type: Plain text
1425 #: debian-trixie fedora-44 fedora-rawhide
1426 #, no-wrap
1427 msgid ""
1428 "#include E<lt>stdint.hE<gt>\n"
1429 "#include E<lt>stdio.hE<gt>\n"
1430 "#include E<lt>stdlib.hE<gt>\n"
1431 "#include E<lt>sys/stat.hE<gt>\n"
1432 "#include E<lt>sys/sysmacros.hE<gt>\n"
1433 "#include E<lt>time.hE<gt>\n"
1434 "\\&\n"
1435 "int\n"
1436 "main(int argc, char *argv[])\n"
1437 "{\n"
1438 " struct stat sb;\n"
1439 "\\&\n"
1440 " if (argc != 2) {\n"
1441 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1442 " exit(EXIT_FAILURE);\n"
1443 " }\n"
1444 "\\&\n"
1445 " if (lstat(argv[1], &sb) == -1) {\n"
1446 " perror(\"lstat\");\n"
1447 " exit(EXIT_FAILURE);\n"
1448 " }\n"
1449 "\\&\n"
1450 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1451 " major(sb.st_dev),\n"
1452 " minor(sb.st_dev));\n"
1453 "\\&\n"
1454 " printf(\"File type: \");\n"
1455 "\\&\n"
1456 " switch (sb.st_mode & S_IFMT) {\n"
1457 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1458 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1459 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1460 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1461 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1462 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1463 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1464 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1465 " }\n"
1466 "\\&\n"
1467 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1468 "\\&\n"
1469 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1470 " (uintmax_t) sb.st_mode);\n"
1471 "\\&\n"
1472 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1473 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1474 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1475 "\\&\n"
1476 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1477 " (intmax_t) sb.st_blksize);\n"
1478 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1479 " (intmax_t) sb.st_size);\n"
1480 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1481 " (intmax_t) sb.st_blocks);\n"
1482 "\\&\n"
1483 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1484 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1485 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1486 "\\&\n"
1487 " exit(EXIT_SUCCESS);\n"
1488 "}\n"
1489 msgstr ""
1490 "#include E<lt>stdint.hE<gt>\n"
1491 "#include E<lt>stdio.hE<gt>\n"
1492 "#include E<lt>stdlib.hE<gt>\n"
1493 "#include E<lt>sys/stat.hE<gt>\n"
1494 "#include E<lt>sys/sysmacros.hE<gt>\n"
1495 "#include E<lt>time.hE<gt>\n"
1496 "\\&\n"
1497 "int\n"
1498 "main(int argc, char *argv[])\n"
1499 "{\n"
1500 " struct stat sb;\n"
1501 "\\&\n"
1502 " if (argc != 2) {\n"
1503 " fprintf(stderr, \"Aufruf: %s E<lt>PfadnameE<gt>\\[rs]n\", argv[0]);\n"
1504 " exit(EXIT_FAILURE);\n"
1505 " }\n"
1506 "\\&\n"
1507 " if (lstat(argv[1], &sb) == -1) {\n"
1508 " perror(\"lstat\");\n"
1509 " exit(EXIT_FAILURE);\n"
1510 " }\n"
1511 "\\&\n"
1512 " printf(\"Kennung des enthaltenen Gerätes: [%x,%x]\\[rs]n\",\n"
1513 " major(sb.st_dev),\n"
1514 " minor(sb.st_dev));\n"
1515 "\\&\n"
1516 " printf(\"File type: \");\n"
1517 "\\&\n"
1518 " switch (sb.st_mode & S_IFMT) {\n"
1519 " case S_IFBLK: printf(\"Blockgerät\\[rs]n\"); break;\n"
1520 " case S_IFCHR: printf(\"zeichenorientiertes Gerät \\[rs]n\"); break;\n"
1521 " case S_IFDIR: printf(\"Verzeichnis\\[rs]n\"); break;\n"
1522 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1523 " case S_IFLNK: printf(\"Symlink\\[rs]n\"); break;\n"
1524 " case S_IFREG: printf(\"reguläre Datei\\[rs]n\"); break;\n"
1525 " case S_IFSOCK: printf(\"Socket\\[rs]en\"); break;\n"
1526 " default: printf(\"unbekannt?\\[rs]n\"); break;\n"
1527 " }\n"
1528 "\\&\n"
1529 " printf(\"I-node-Nummmer: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1530 "\\&\n"
1531 " printf(\"Modus: %jo (octal)\\[rs]n\",\n"
1532 " (uintmax_t) sb.st_mode);\n"
1533 "\\&\n"
1534 " printf(\"Linkzähler: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1535 " printf(\"Eigentümer: UID=%ju GID=%ju\\[rs]n\",\n"
1536 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1537 "\\&\n"
1538 " printf(\"Bevorzugte E/A-Blockgräße: %jd byte\\[rs]n\",\n"
1539 " (intmax_t) sb.st_blksize);\n"
1540 " printf(\"Dateigröße: %jd byte\\[rs]n\",\n"
1541 " (intmax_t) sb.st_size);\n"
1542 " printf(\"Reservierte Blöcke: %jd\\[rs]n\",\n"
1543 " (intmax_t) sb.st_blocks);\n"
1544 "\\&\n"
1545 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1546 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1547 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1548 "\\&\n"
1549 " exit(EXIT_SUCCESS);\n"
1550 "}\n"
1551
1552 #. type: TH
1553 #: fedora-44 fedora-rawhide
1554 #, no-wrap
1555 msgid "2025-01-09"
1556 msgstr "9. Januar 2025"
1557
1558 #. type: TH
1559 #: fedora-44 fedora-rawhide
1560 #, no-wrap
1561 msgid "Linux man-pages 6.13"
1562 msgstr "Linux man-pages 6.13"
1563
1564 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1565 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1566 #. type: Plain text
1567 #: fedora-44 fedora-rawhide
1568 msgid ""
1569 "If I<pathname> is an empty string (or NULL, since Linux 6.11) operate on "
1570 "the file referred to by I<dirfd> (which may have been obtained using the "
1571 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
1572 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
1573 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
1574 "current working directory. This flag is Linux-specific; define "
1575 "B<_GNU_SOURCE> to obtain its definition."
1576 msgstr ""
1577 "Falls I<Pfadname> eine leere Zeichenkette (oder NULL, seit Linux 6.11) ist, "
1578 "wird mit der Datei gearbeitet, auf die I<Verzdd> verweist (dies kann mit dem "
1579 "B<O_PATH>-Schalter von B<open>(2) ermittelt werden). In diesem Fall kann "
1580 "sich I<Verzdd> auf jeden Dateityp beziehen, nicht nur einem Verzeichnis und "
1581 "das Verhalten von B<fstatat>() ist ähnlich zu dem von B<fstat>(). Falls "
1582 "I<Verzdd> B<AT_FDCWD> ist, erfolgt der Aufruf im aktuellen "
1583 "Arbeitsverzeichnis. Dieser Schalter ist Linux-spezifisch; definieren Sie "
1584 "B<_GNU_SOURCE>, um dessen Definition zu ermitteln."
1585
1586 #. type: TH
1587 #: mageia-cauldron
1588 #, no-wrap
1589 msgid "Linux man-pages 6.17"
1590 msgstr "Linux man-pages 6.17"
1591
1592 #. type: TH
1593 #: opensuse-leap-16-1 opensuse-tumbleweed
1594 #, no-wrap
1595 msgid "Linux man-pages (unreleased)"
1596 msgstr "Linux man-pages (unveröffentlicht)"