Debian Codegraph @

po/de/man3/scandir.3.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 # Markus Kaufmann <[email protected]>
5 # Martin Eberhard Schauer <[email protected]>, 2012.
6 # Mario Blättermann <[email protected]>, 2014, 2021, 2022, 2023.
7 # Helge Kreutzmann <[email protected]>, 2014, 2016.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-l10n 4.26.2\n"
11 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
12 "PO-Revision-Date: 2025-06-01 06:52+0200\n"
13 "Last-Translator: Mario Blättermann <[email protected]>\n"
14 "Language-Team: German <[email protected]>\n"
15 "Language: de\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "X-Generator: Lokalize 23.04.3\n"
20 "Plural-Forms: nplurals=2; plural=n != 1;\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "scandir"
27 msgstr "scandir"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8. Februar 2026"
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
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 "BEZEICHNUNG"
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 ""
53 "scandir, scandirat, alphasort, versionsort - scan a directory for matching "
54 "entries"
55 msgstr ""
56 "scandir, scandirat, alphasort, versionsort - durchsucht ein Verzeichnis nach "
57 "passenden Einträgen"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "LIBRARY"
64 msgstr "BIBLIOTHEK"
65
66 #. type: Plain text
67 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
68 #: opensuse-leap-16-1 opensuse-tumbleweed
69 msgid "Standard C library (I<libc>,\\ I<-lc>)"
70 msgstr "Standard-C-Bibliothek (I<libc>,\\ I<-lc>)"
71
72 #. type: SH
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "SYNOPSIS"
77 msgstr "ÜBERSICHT"
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid "B<#include E<lt>dirent.hE<gt>>\n"
84 msgstr "B<#include E<lt>dirent.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
88 #: opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid ""
91 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
92 "B< struct dirent ***restrict >I<namelist>B<,>\n"
93 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
94 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
95 "B< *>I<compar>B<);>\n"
96 msgstr ""
97 "B<int scandir(const char *restrict >I<Verzz>B<,>\n"
98 "B< struct dirent ***restrict >I<namelist>B<,>\n"
99 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
100 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
101 "B< *>I<vergl>B<);>\n"
102
103 #. type: Plain text
104 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
105 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
106 #, no-wrap
107 msgid ""
108 "B<int alphasort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
109 "B<int versionsort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
110 msgstr ""
111 "B<int alphasort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
112 "B<int versionsort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 #, no-wrap
118 msgid ""
119 "B<#include E<lt>fcntl.hE<gt>> /* Definition of AT_* constants */\n"
120 "B<#include E<lt>dirent.hE<gt>>\n"
121 msgstr ""
122 "B<#include E<lt>fcntl.hE<gt>> /* Definition von AT_*-Konstanten */\n"
123 "B<#include E<lt>dirent.hE<gt>>\n"
124
125 #. type: Plain text
126 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
127 #: opensuse-leap-16-1 opensuse-tumbleweed
128 #, no-wrap
129 msgid ""
130 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
131 "B< struct dirent ***restrict >I<namelist>B<,>\n"
132 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
133 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
134 "B< *>I<compar>B<);>\n"
135 msgstr ""
136 "B<int scandirat(int >I<Verzdd>B<, const char *restrict >I<Verzz>B<,>\n"
137 "B< struct dirent ***restrict >I<namelist>B<,>\n"
138 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
139 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
140 "B< *>I<vergl>B<);>\n"
141
142 #. type: Plain text
143 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
144 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
145 msgid ""
146 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
147 msgstr ""
148 "Mit Glibc erforderliche Feature-Test-Makros (siehe "
149 "B<feature_test_macros>(7)):"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid "B<scandir>(), B<alphasort>():"
155 msgstr "B<scandir>(), B<alphasort>():"
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid ""
162 " /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
163 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
164 msgstr ""
165 " /* Seit Glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
166 " || /* Glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid "B<versionsort>():"
172 msgstr "B<versionsort>():"
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 #, no-wrap
178 msgid " _GNU_SOURCE\n"
179 msgstr " _GNU_SOURCE\n"
180
181 #. type: Plain text
182 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
183 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
184 msgid "B<scandirat>():"
185 msgstr "B<scandirat>():"
186
187 #. type: SH
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "DESCRIPTION"
192 msgstr "BESCHREIBUNG"
193
194 #. type: Plain text
195 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
196 #: opensuse-tumbleweed
197 msgid ""
198 "The B<scandir>() function scans the directory I<dirp>, calling I<filter>() "
199 "on each directory entry. Entries for which I<filter>() returns nonzero are "
200 "stored in strings allocated via B<malloc>(3), sorted using B<qsort>(3) with "
201 "the comparison function I<compar>(), and collected in array I<namelist> "
202 "which is allocated via B<malloc>(3). If I<filter> is NULL, all entries are "
203 "selected."
204 msgstr ""
205 "Die Funktion B<scandir>() durchsucht das Verzeichnis I<Verzz> und ruft für "
206 "jeden Verzeichniseintrag B<filter>() auf. Einträge, für die B<filter()> "
207 "einen Wert ungleich 0 zurückgibt, werden in Zeichenketten gespeichert, "
208 "derenSpeicher mit B<malloc>(3) reserviert wird. Danach werden die "
209 "Zeichenkettenmit B<qsort>(3) unter Verwendung der Vergleichsfunktion "
210 "B<vergl>() sortiert und im Feld I<namelist> gesammelt, dessen Speicher "
211 "ebenfalls mit B<malloc>(3) reserviert wird. Falls I<filter> gleich NULL ist, "
212 "werden alle Einträge ausgewählt."
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "The B<alphasort>() and B<versionsort>() functions can be used as the "
219 "comparison function I<compar>(). The former sorts directory entries using "
220 "B<strcoll>(3), the latter using B<strverscmp>(3) on the strings I<(*a)-"
221 "E<gt>d_name> and I<(*b)-E<gt>d_name>."
222 msgstr ""
223 "Die Funktionen B<alphasort>() und B<versionsort>() können als die "
224 "Vergleichsfunktion I<vergl>() benutzt werden. Die erste sortiert die "
225 "Verzeichniseinträge mittels B<strcoll>(3), die letztere B<strverscmp>(3) auf "
226 "den Zeichenketten I<(*a)-E<gt>d_name> und I<(*b)-E<gt>d_name>."
227
228 #. type: SS
229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
230 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
231 #, no-wrap
232 msgid "scandirat()"
233 msgstr "scandirat()"
234
235 #. type: Plain text
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 msgid ""
239 "The B<scandirat>() function operates in exactly the same way as "
240 "B<scandir>(), except for the differences described here."
241 msgstr ""
242 "Die Funktion B<scandirat>() funktioniert genauso wie B<scandir>(), abgesehen "
243 "von den hier beschriebenen Unterschieden."
244
245 #. type: Plain text
246 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
247 #: opensuse-tumbleweed
248 msgid ""
249 "If I<dirp> is relative, then it is interpreted relative to the directory "
250 "referred to by the file descriptor I<dirfd> (rather than relative to the "
251 "current working directory of the calling process, as is done by "
252 "B<scandir>() for a relative pathname)."
253 msgstr ""
254 "Falls I<Verzz> relativ ist, wird er relativ zu dem Verzeichnis "
255 "interpretiert, auf das sich der Dateideskriptor I<Verzdd> bezieht (statt "
256 "relativ zum aktuellen Arbeitsverzeichnis des aufrufenden Prozesses, so wie "
257 "B<scandir>() einen relativen Pfadnamen behandeln würde)."
258
259 #. type: Plain text
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 msgid ""
263 "If I<dirp> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
264 "I<dirp> is interpreted relative to the current working directory of the "
265 "calling process (like B<scandir>())."
266 msgstr ""
267 "Falls I<Verzz> relativ ist und I<Verzdd> den besonderen Wert B<AT_FDCWD> "
268 "annimmt, wird I<Verzz> als relativ zum aktuellen Arbeitsverzeichnis des "
269 "aufrufenden Prozesses interpretiert (wie von B<scandir>())."
270
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 "If I<dirp> is absolute, then I<dirfd> is ignored."
275 msgstr "Falls I<Verzz> absolut ist, wird I<Verzdd> ignoriert."
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid "See B<openat>(2) for an explanation of the need for B<scandirat>()."
281 msgstr ""
282 "Lesen Sie B<openat>(2) für die Erklärung der Notwendigkeit von "
283 "B<scandirat>()."
284
285 #. type: SH
286 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
287 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
288 #, no-wrap
289 msgid "RETURN VALUE"
290 msgstr "RÜCKGABEWERT"
291
292 #. type: Plain text
293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
294 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
295 msgid ""
296 "The B<scandir>() function returns the number of directory entries "
297 "selected. On error, -1 is returned, with I<errno> set to indicate the error."
298 msgstr ""
299 "Die Funktion B<scandir>() liefert die Anzahl ausgewählter "
300 "Verzeichniseinträge oder im Fehlerfall -1 zurück, wobei I<errno> gesetzt "
301 "wird, den Fehler anzuzeigen."
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "The B<alphasort>() and B<versionsort>() functions return an integer less "
308 "than, equal to, or greater than zero if the first argument is considered to "
309 "be respectively less than, equal to, or greater than the second."
310 msgstr ""
311 "Die Funktionen B<alphasort>() und B<versionsort>() liefern eine Zahl kleiner "
312 "als Null, Null, oder größer als Null zurück, wenn das erste Argument "
313 "entsprechend als kleiner, gleich oder größer als das zweite Argument "
314 "angesehen wird."
315
316 #. type: SH
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 #, no-wrap
320 msgid "ERRORS"
321 msgstr "FEHLER"
322
323 #. type: TP
324 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
325 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
326 #, no-wrap
327 msgid "B<EBADF>"
328 msgstr "B<EBADF>"
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid ""
334 "(B<scandirat>()) I<dirp> is relative but I<dirfd> is neither B<AT_FDCWD> "
335 "nor a valid file descriptor."
336 msgstr ""
337 "(B<scandirat>()) I<Verzz> ist relativ, aber I<Verzdd> ist weder B<AT_FDCWD> "
338 "noch ein gültiger Dateideskriptor."
339
340 #. type: TP
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "B<ENOENT>"
345 msgstr "B<ENOENT>"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid "The path in I<dirp> does not exist."
351 msgstr "Der Pfad in I<Verzz> existiert nicht."
352
353 #. type: TP
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, no-wrap
357 msgid "B<ENOMEM>"
358 msgstr "B<ENOMEM>"
359
360 #. type: Plain text
361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
362 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
363 msgid "Insufficient memory to complete the operation."
364 msgstr "Der Speicher reicht nicht aus, um den Vorgang zu beenden."
365
366 #. type: TP
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 #, no-wrap
370 msgid "B<ENOTDIR>"
371 msgstr "B<ENOTDIR>"
372
373 #. type: Plain text
374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
375 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
376 msgid "The path in I<dirp> is not a directory."
377 msgstr "Der Pfad in I<Verzz> ist kein Verzeichnis."
378
379 #. type: Plain text
380 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
381 #: opensuse-tumbleweed
382 msgid ""
383 "(B<scandirat>()) I<dirp> is relative and I<dirfd> is a file descriptor "
384 "referring to a file other than a directory."
385 msgstr ""
386 "(B<scandirat>()) I<Verzz> ist relativ und I<Verzdd> ist ein "
387 "Dateideskriptor, der sich auf eine Datei bezieht, die kein Verzeichnis ist."
388
389 #. type: SH
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 #, no-wrap
393 msgid "ATTRIBUTES"
394 msgstr "ATTRIBUTE"
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 ""
400 "For an explanation of the terms used in this section, see B<attributes>(7)."
401 msgstr ""
402 "Siehe B<attributes>(7) für eine Erläuterung der in diesem Abschnitt "
403 "verwandten Ausdrücke."
404
405 #. type: tbl table
406 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
407 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
408 #, no-wrap
409 msgid "Interface"
410 msgstr "Schnittstelle"
411
412 #. type: tbl table
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 #, no-wrap
416 msgid "Attribute"
417 msgstr "Attribut"
418
419 #. type: tbl table
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 #, no-wrap
423 msgid "Value"
424 msgstr "Wert"
425
426 #. type: tbl table
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 #, no-wrap
430 msgid ".na\n"
431 msgstr ".na\n"
432
433 #. type: tbl table
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid ".nh\n"
438 msgstr ".nh\n"
439
440 #. type: tbl table
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 #, no-wrap
444 msgid ""
445 "B<scandir>(),\n"
446 "B<scandirat>()"
447 msgstr ""
448 "B<scandir>(),\n"
449 "B<scandirat>()"
450
451 #. type: tbl table
452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
453 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "Thread safety"
456 msgstr "Multithread-Fähigkeit"
457
458 #. type: tbl table
459 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
460 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
461 #, no-wrap
462 msgid "MT-Safe"
463 msgstr "MT-Sicher"
464
465 #. type: tbl table
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid ""
470 "B<alphasort>(),\n"
471 "B<versionsort>()"
472 msgstr ""
473 "B<alphasort>(),\n"
474 "B<versionsort>()"
475
476 #. type: tbl table
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "MT-Safe locale"
481 msgstr "MT-Sicher locale"
482
483 #. type: SH
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 #, no-wrap
487 msgid "STANDARDS"
488 msgstr "STANDARDS"
489
490 #. type: TP
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "B<alphasort>()"
495 msgstr "B<alphasort>()"
496
497 #. type: TQ
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, no-wrap
501 msgid "B<scandir>()"
502 msgstr "B<scandir>()"
503
504 #. type: Plain text
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 msgid "POSIX.1-2008."
508 msgstr "POSIX.1-2008."
509
510 #. type: TP
511 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
512 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
513 #, no-wrap
514 msgid "B<versionsort>()"
515 msgstr "B<versionsort>()"
516
517 #. type: TP
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 #, no-wrap
521 msgid "B<scandirat>()"
522 msgstr "B<scandirat>()"
523
524 #. type: Plain text
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 msgid "GNU."
528 msgstr "GNU."
529
530 #. type: SH
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "HISTORY"
535 msgstr "GESCHICHTE"
536
537 #. type: Plain text
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 msgid "4.3BSD, POSIX.1-2008."
541 msgstr "4.3BSD, POSIX.1-2008."
542
543 #. type: Plain text
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 msgid "glibc 2.1."
547 msgstr "Glibc 2.1."
548
549 #. .P
550 #. The functions
551 #. .BR scandir ()
552 #. and
553 #. .BR alphasort ()
554 #. are from 4.3BSD, and have been available under Linux since libc4.
555 #. Libc4 and libc5 use the more precise prototype
556 #. .sp
557 #. .nf
558 #. int alphasort(const struct dirent ** a,
559 #. const struct dirent **b);
560 #. .fi
561 #. .sp
562 #. but glibc 2.0 returns to the imprecise BSD prototype.
563 #. type: Plain text
564 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
565 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
566 msgid "glibc 2.15."
567 msgstr "Glibc 2.15."
568
569 #. type: SH
570 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
571 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
572 #, no-wrap
573 msgid "NOTES"
574 msgstr "ANMERKUNGEN"
575
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 msgid ""
580 "Since glibc 2.1, B<alphasort>() calls B<strcoll>(3); earlier it used "
581 "B<strcmp>(3)."
582 msgstr ""
583 "Seit Glibc 2.1 verwendet B<alphasort>() B<strcoll>(3); früher nutzte sie "
584 "B<strcmp>(3)."
585
586 #. type: Plain text
587 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
588 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
589 msgid ""
590 "Before glibc 2.10, the two arguments of B<alphasort>() and "
591 "B<versionsort>() were typed as I<const void\\ *>. When B<alphasort>() was "
592 "standardized in POSIX.1-2008, the argument type was specified as the type-"
593 "safe I<const struct dirent\\ **>, and glibc 2.10 changed the definition of "
594 "B<alphasort>() (and the nonstandard B<versionsort>()) to match the "
595 "standard."
596 msgstr ""
597 "Vor Glibc 2.10 hatten die zwei Argumente von B<alphasort>() und "
598 "B<versionsort>() den Typ I<const void\\ *>. Als B<alphasort>() in "
599 "POSIX.1-2008 standardisiert wurde, wurde der Argumententyp als typsicherer "
600 "I<const struct dirent\\ **> spezifiziert und Glibc 2.10 änderte die "
601 "Definitionen von B<alphasort>() (und dem nicht standardisierten "
602 "B<versionsort>()), um auf den Standard zu passen."
603
604 #. type: SH
605 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
606 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
607 #, no-wrap
608 msgid "EXAMPLES"
609 msgstr "BEISPIELE"
610
611 #. type: Plain text
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 msgid ""
615 "The program below prints a list of the files in the current directory in "
616 "reverse order."
617 msgstr ""
618 "Das nachfolgende Programm gibt eine Liste von Dateien im aktuellen "
619 "Verzeichnis in umgekehrter Reihenfolge aus."
620
621 #. type: SS
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 #, no-wrap
625 msgid "Program source"
626 msgstr "Programmquelltext"
627
628 #. type: Plain text
629 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
630 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
631 #, no-wrap
632 msgid ""
633 "#define _DEFAULT_SOURCE\n"
634 "#include E<lt>dirent.hE<gt>\n"
635 "#include E<lt>stdio.hE<gt>\n"
636 "#include E<lt>stdlib.hE<gt>\n"
637 "\\&\n"
638 "int\n"
639 "main(void)\n"
640 "{\n"
641 " struct dirent **namelist;\n"
642 " int n;\n"
643 "\\&\n"
644 " n = scandir(\".\", &namelist, NULL, alphasort);\n"
645 " if (n == -1) {\n"
646 " perror(\"scandir\");\n"
647 " exit(EXIT_FAILURE);\n"
648 " }\n"
649 "\\&\n"
650 " while (n--) {\n"
651 " printf(\"%s\\[rs]n\", namelist[n]-E<gt>d_name);\n"
652 " free(namelist[n]);\n"
653 " }\n"
654 " free(namelist);\n"
655 "\\&\n"
656 " exit(EXIT_SUCCESS);\n"
657 "}\n"
658 msgstr ""
659 "#define _DEFAULT_SOURCE\n"
660 "#include E<lt>dirent.hE<gt>\n"
661 "#include E<lt>stdio.hE<gt>\n"
662 "#include E<lt>stdlib.hE<gt>\n"
663 "\\&\n"
664 "int\n"
665 "main(void)\n"
666 "{\n"
667 " struct dirent **namelist;\n"
668 " int n;\n"
669 "\\&\n"
670 " n = scandir(\".\", &namelist, NULL, alphasort);\n"
671 " if (n == -1) {\n"
672 " perror(\"scandir\");\n"
673 " exit(EXIT_FAILURE);\n"
674 " }\n"
675 "\\&\n"
676 " while (n--) {\n"
677 " printf(\"%s\\[rs]n\", namelist[n]-E<gt>d_name);\n"
678 " free(namelist[n]);\n"
679 " }\n"
680 " free(namelist);\n"
681 "\\&\n"
682 " exit(EXIT_SUCCESS);\n"
683 "}\n"
684
685 #. SRC END
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 "SEE ALSO"
691 msgstr "SIEHE AUCH"
692
693 #. type: Plain text
694 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
695 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
696 msgid ""
697 "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
698 "B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
699 "B<strverscmp>(3), B<telldir>(3)"
700 msgstr ""
701 "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
702 "B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
703 "B<strverscmp>(3), B<telldir>(3)"
704
705 #. type: TH
706 #: debian-trixie
707 #, no-wrap
708 msgid "2024-06-15"
709 msgstr "15. Juni 2024"
710
711 #. type: TH
712 #: debian-trixie
713 #, no-wrap
714 msgid "Linux man-pages 6.9.1"
715 msgstr "Linux man-pages 6.9.1"
716
717 #. type: Plain text
718 #: debian-trixie
719 msgid "Standard C library (I<libc>, I<-lc>)"
720 msgstr "Standard-C-Bibliothek (I<libc>, I<-lc>)"
721
722 #. type: Plain text
723 #: debian-trixie
724 #, no-wrap
725 msgid ""
726 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
727 "B< struct dirent ***restrict >I<namelist>B<,>\n"
728 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
729 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
730 "B<const struct dirent **));>\n"
731 msgstr ""
732 "B<int scandir(const char *restrict >I<Verzz>B<,>\n"
733 "B< struct dirent ***restrict >I<namelist>B<,>\n"
734 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
735 "B< int (*>I<vergl>B<)(const struct dirent **,>\n"
736 "B<const struct dirent **));>\n"
737
738 #. type: Plain text
739 #: debian-trixie
740 #, no-wrap
741 msgid ""
742 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
743 "B< struct dirent ***restrict >I<namelist>B<,>\n"
744 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
745 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
746 "B<const struct dirent **));>\n"
747 msgstr ""
748 "B<int scandirat(int >I<Verzdd>B<, const char *restrict >I<Verzz>B<,>\n"
749 "B< struct dirent ***restrict >I<namelist>B<,>\n"
750 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
751 "B< int (*>I<vergl>B<)(const struct dirent **,>\n"
752 "B<const struct dirent **));>\n"
753
754 #. type: Plain text
755 #: debian-trixie fedora-44 fedora-rawhide
756 msgid ""
757 "The B<scandir>() function scans the directory I<dirp>, calling I<filter>() "
758 "on each directory entry. Entries for which I<filter>() returns nonzero are "
759 "stored in strings allocated via B<malloc>(3), sorted using B<qsort>(3) with "
760 "the comparison function I<compar>(), and collected in array I<namelist> "
761 "which is allocated via B<malloc>(3). If I<filter> is NULL, all entries are "
762 "selected."
763 msgstr ""
764 "Die Funktion B<scandir>() durchsucht das Verzeichnis I<Verzz> und ruft für "
765 "jeden Verzeichniseintrag B<filter>() auf. Einträge, für die B<filter()> "
766 "einen Wert ungleich 0 zurückgibt, werden in Zeichenketten gespeichert, "
767 "derenSpeicher mit B<malloc>(3) reserviert wird. Danach werden die "
768 "Zeichenkettenmit B<qsort>(3) unter Verwendung der Vergleichsfunktion "
769 "B<vergl>() sortiert und im Feld I<namelist> gesammelt, dessen Speicher "
770 "ebenfalls mit B<malloc>(3) reserviert wird. Falls I<filter> gleich NULL ist, "
771 "werden alle Einträge ausgewählt."
772
773 #. type: Plain text
774 #: debian-trixie fedora-44 fedora-rawhide
775 msgid ""
776 "If the pathname given in I<dirp> is relative, then it is interpreted "
777 "relative to the directory referred to by the file descriptor I<dirfd> "
778 "(rather than relative to the current working directory of the calling "
779 "process, as is done by B<scandir>() for a relative pathname)."
780 msgstr ""
781 "Falls der in I<Verzz> angegebene Pfadname relativ ist, wird er relativ zu "
782 "dem Verzeichnis interpretiert, auf das sich der Dateideskriptor I<Verzdd> "
783 "bezieht (statt relativ zum aktuellen Arbeitsverzeichnis des aufrufenden "
784 "Prozesses, so wie B<scandir>() einen relativen Pfadnamen behandeln würde)."
785
786 #. type: Plain text
787 #: debian-trixie fedora-44 fedora-rawhide
788 msgid ""
789 "(B<scandirat>()) I<dirp> is a relative pathname and I<dirfd> is a file "
790 "descriptor referring to a file other than a directory."
791 msgstr ""
792 "(B<scandirat>()) I<Verzz> ist ein relativer Pfadname und I<Verzdd> ist ein "
793 "Dateideskriptor, der sich auf eine Datei bezieht, die kein Verzeichnis ist."
794
795 #. type: TH
796 #: fedora-44 fedora-rawhide
797 #, no-wrap
798 msgid "2024-12-13"
799 msgstr "13. Dezember 2024"
800
801 #. type: TH
802 #: fedora-44 fedora-rawhide
803 #, no-wrap
804 msgid "Linux man-pages 6.13"
805 msgstr "Linux man-pages 6.13"
806
807 #. type: TH
808 #: mageia-cauldron
809 #, no-wrap
810 msgid "Linux man-pages 6.17"
811 msgstr "Linux man-pages 6.17"
812
813 #. type: TH
814 #: opensuse-leap-16-1 opensuse-tumbleweed
815 #, no-wrap
816 msgid "Linux man-pages (unreleased)"
817 msgstr "Linux man-pages (unveröffentlicht)"