Debian Codegraph @

po/ko/man3/scandir.3.po

raw
1 # Korean translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # 임종균 <[email protected]>, 2001.
5 # 한글 Manpage 프로젝트 <http://man.kldp.org>, 2005.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:42+0200\n"
10 "PO-Revision-Date: 2005-02-14 08:57+0900\n"
11 "Last-Translator: 한글 Manpage 프로젝트 <http://man.kldp.org>\n"
12 "Language-Team: Korean <[email protected]>\n"
13 "Language: ko\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Plural-Forms: nplurals=1; plural=0;\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "scandir"
24 msgstr "scandir"
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr "2026년 2월 8일"
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr "Linux man-pages 6.18"
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr "이름"
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid ""
50 "scandir, scandirat, alphasort, versionsort - scan a directory for matching "
51 "entries"
52 msgstr ""
53 "scandir, scandirat, alphasort, versionsort - 디렉토리에서 해당 항목을 조사한"
54 "다"
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 "라이브러리"
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 "표준 C 라이브러리 (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 "요약"
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>dirent.hE<gt>>\n"
81 msgstr "B<#include E<lt>dirent.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
85 #: opensuse-leap-16-1 opensuse-tumbleweed
86 #, fuzzy, no-wrap
87 #| msgid ""
88 #| "B<int scandir(const char *restrict >I<dirp>B<,>\n"
89 #| "B< struct dirent ***restrict >I<namelist>B<,>\n"
90 #| "B< int (*>I<filter>B<)(const struct dirent *),>\n"
91 #| "B< int (*>I<compar>B<)(const struct dirent **,>\n"
92 #| "B<const struct dirent **));>\n"
93 msgid ""
94 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
95 "B< struct dirent ***restrict >I<namelist>B<,>\n"
96 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
97 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
98 "B< *>I<compar>B<);>\n"
99 msgstr ""
100 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
101 "B< struct dirent ***restrict >I<namelist>B<,>\n"
102 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
103 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
104 "B<const struct dirent **));>\n"
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 #, no-wrap
110 msgid ""
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 msgstr ""
114 "B<int alphasort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
115 "B<int versionsort(const struct dirent **>I<a>B<, const struct dirent **>I<b>B<);>\n"
116
117 #. type: Plain text
118 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
119 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
120 #, no-wrap
121 msgid ""
122 "B<#include E<lt>fcntl.hE<gt>> /* Definition of AT_* constants */\n"
123 "B<#include E<lt>dirent.hE<gt>>\n"
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
128 #: opensuse-leap-16-1 opensuse-tumbleweed
129 #, fuzzy, no-wrap
130 #| msgid ""
131 #| "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
132 #| "B< struct dirent ***restrict >I<namelist>B<,>\n"
133 #| "B< int (*>I<filter>B<)(const struct dirent *),>\n"
134 #| "B< int (*>I<compar>B<)(const struct dirent **,>\n"
135 #| "B<const struct dirent **));>\n"
136 msgid ""
137 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
138 "B< struct dirent ***restrict >I<namelist>B<,>\n"
139 "B< typeof(int (const struct dirent *)) *>I<filter>B<,>\n"
140 "B<typeof(int (const struct dirent **, const struct dirent **))>\n"
141 "B< *>I<compar>B<);>\n"
142 msgstr ""
143 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
144 "B< struct dirent ***restrict >I<namelist>B<,>\n"
145 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
146 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
147 "B<const struct dirent **));>\n"
148
149 #. type: Plain text
150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
151 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
152 msgid ""
153 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
154 msgstr "c"
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid "B<scandir>(), B<alphasort>():"
160 msgstr "B<scandir>(), B<alphasort>():"
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, no-wrap
166 msgid ""
167 " /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
168 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
169 msgstr ""
170
171 #. type: Plain text
172 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
173 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
174 msgid "B<versionsort>():"
175 msgstr "B<versionsort>():"
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 #, no-wrap
181 msgid " _GNU_SOURCE\n"
182 msgstr " _GNU_SOURCE\n"
183
184 #. type: Plain text
185 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
186 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
187 msgid "B<scandirat>():"
188 msgstr "B<scandirat>():"
189
190 #. type: SH
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "DESCRIPTION"
195 msgstr "설명"
196
197 #. type: Plain text
198 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
199 #: opensuse-tumbleweed
200 #, fuzzy
201 #| msgid ""
202 #| "The B<scandir()> function scans the directory I<dir>, calling B<select()> "
203 #| "on each directory entry. Entries for which B<select()> returns non-zero "
204 #| "are stored in strings allocated via B<malloc()>, sorted using B<qsort()> "
205 #| "with the comparison function B<compar()>, and collected in array "
206 #| "I<namelist> which is allocated via B<malloc()>. If B<select> is NULL, "
207 #| "all entries are selected."
208 msgid ""
209 "The B<scandir>() function scans the directory I<dirp>, calling I<filter>() "
210 "on each directory entry. Entries for which I<filter>() returns nonzero are "
211 "stored in strings allocated via B<malloc>(3), sorted using B<qsort>(3) with "
212 "the comparison function I<compar>(), and collected in array I<namelist> "
213 "which is allocated via B<malloc>(3). If I<filter> is NULL, all entries are "
214 "selected."
215 msgstr ""
216 "B<scandir()> 함수는 각 디렉토리 항목에 대해 B<select()>를 호출하면서 I<dir> "
217 "디렉토리를 조사한다. B<select()>에서 0이 아닌 값을 반환한 항목들은 "
218 "B<malloc()>을 통해 할당된 문자열에 저장되고, 비교 함수 B<compar()>를 사용한 "
219 "B<qsort()>에 의해 정렬되고, B<malloc()>를 통해 할당된 I<namelist> 배열에 모아"
220 "진다. B<select>가 NULL이면 모든 항목이 선택된다."
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, fuzzy
226 #| msgid ""
227 #| "The B<alphasort()> function can be used as the comparison function for "
228 #| "the B<scandir()> function to sort the directory entries into alphabetical "
229 #| "order. Its parameters are the two directory entries, I<a> and I<b>, to "
230 #| "compare."
231 msgid ""
232 "The B<alphasort>() and B<versionsort>() functions can be used as the "
233 "comparison function I<compar>(). The former sorts directory entries using "
234 "B<strcoll>(3), the latter using B<strverscmp>(3) on the strings I<(*a)-"
235 "E<gt>d_name> and I<(*b)-E<gt>d_name>."
236 msgstr ""
237 "B<alphasort()> 함수는 디렉토리 항목들을 알파벳 순서로 정렬하기 위해 "
238 "B<scandir()> 함수의 비교 함수로 사용될 수 있다. 그 함수의 인자는 비교할 두 개"
239 "의 디렉토리 항목 I<a>와 I<b>이다."
240
241 #. type: SS
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "scandirat()"
246 msgstr "scandirat()"
247
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 "The B<scandirat>() function operates in exactly the same way as "
253 "B<scandir>(), except for the differences described here."
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
258 #: opensuse-tumbleweed
259 msgid ""
260 "If I<dirp> is relative, then it is interpreted relative to the directory "
261 "referred to by the file descriptor I<dirfd> (rather than relative to the "
262 "current working directory of the calling process, as is done by "
263 "B<scandir>() for a relative pathname)."
264 msgstr ""
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 msgid ""
270 "If I<dirp> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
271 "I<dirp> is interpreted relative to the current working directory of the "
272 "calling process (like B<scandir>())."
273 msgstr ""
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 "If I<dirp> is absolute, then I<dirfd> is ignored."
279 msgstr ""
280
281 #. type: Plain text
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 msgid "See B<openat>(2) for an explanation of the need for B<scandirat>()."
285 msgstr ""
286
287 #. type: SH
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "RETURN VALUE"
292 msgstr "반환값"
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, fuzzy
298 #| msgid ""
299 #| "The B<scandir()> function returns the number of directory entries "
300 #| "selected or -1 if an error occurs."
301 msgid ""
302 "The B<scandir>() function returns the number of directory entries "
303 "selected. On error, -1 is returned, with I<errno> set to indicate the error."
304 msgstr ""
305 "B<scandir()> 함수는 선택된 디렉토리 항목의 개수를 또는 에러가 발생하면 -1을 "
306 "반환한다."
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 #, fuzzy
312 #| msgid ""
313 #| "The B<alphasort()> function returns an integer less than, equal to, or "
314 #| "greater than zero if the first argument is considered to be respectively "
315 #| "less than, equal to, or greater than the second."
316 msgid ""
317 "The B<alphasort>() and B<versionsort>() functions return an integer less "
318 "than, equal to, or greater than zero if the first argument is considered to "
319 "be respectively less than, equal to, or greater than the second."
320 msgstr ""
321 "B<alphasort()> 함수는 첫번째 인자가 두번째 인자보다 작거나, 같거나, 크거나에 "
322 "따라 각각 0 보다 작거나, 같거나, 큰 정수를 반환한다."
323
324 #. type: SH
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "ERRORS"
329 msgstr "에러"
330
331 #. type: TP
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 #, no-wrap
335 msgid "B<EBADF>"
336 msgstr "B<EBADF>"
337
338 #. type: Plain text
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 msgid ""
342 "(B<scandirat>()) I<dirp> is relative but I<dirfd> is neither B<AT_FDCWD> "
343 "nor a valid file descriptor."
344 msgstr ""
345
346 #. type: TP
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 #, no-wrap
350 msgid "B<ENOENT>"
351 msgstr "B<ENOENT>"
352
353 #. type: Plain text
354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
355 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
356 #, fuzzy
357 #| msgid "The file does not exist."
358 msgid "The path in I<dirp> does not exist."
359 msgstr "파일이 존재하지 않는다."
360
361 #. type: TP
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 #, no-wrap
365 msgid "B<ENOMEM>"
366 msgstr "B<ENOMEM>"
367
368 #. type: Plain text
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 msgid "Insufficient memory to complete the operation."
372 msgstr "수행을 하기 위한 메모리 부족하다."
373
374 #. type: TP
375 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
376 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
377 #, no-wrap
378 msgid "B<ENOTDIR>"
379 msgstr "B<ENOTDIR>"
380
381 #. type: Plain text
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, fuzzy
385 #| msgid "A component of I<path> is not a directory."
386 msgid "The path in I<dirp> is not a directory."
387 msgstr "I<path>가 디렉토리가 아니다."
388
389 #. type: Plain text
390 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
391 #: opensuse-tumbleweed
392 msgid ""
393 "(B<scandirat>()) I<dirp> is relative and I<dirfd> is a file descriptor "
394 "referring to a file other than a directory."
395 msgstr ""
396
397 #. type: SH
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "ATTRIBUTES"
402 msgstr "속성"
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid ""
408 "For an explanation of the terms used in this section, see B<attributes>(7)."
409 msgstr ""
410 "이 섹션에서 사용되는 용어에 대한 설명은 B<attributes>(7)을 참조하십시오."
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 "Interface"
417 msgstr "상호 작용"
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 "Attribute"
424 msgstr "속성"
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 "Value"
431 msgstr "번호"
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 ".na\n"
438 msgstr ".na\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 ".nh\n"
445 msgstr ".nh\n"
446
447 #. type: tbl table
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 #, no-wrap
451 msgid ""
452 "B<scandir>(),\n"
453 "B<scandirat>()"
454 msgstr ""
455 "B<scandir>(),\n"
456 "B<scandirat>()"
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 "Thread safety"
463 msgstr ""
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 "MT-Safe"
470 msgstr "MT-Safe"
471
472 #. type: tbl table
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid ""
477 "B<alphasort>(),\n"
478 "B<versionsort>()"
479 msgstr ""
480 "B<alphasort>(),\n"
481 "B<versionsort>()"
482
483 #. type: tbl table
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 #, no-wrap
487 msgid "MT-Safe locale"
488 msgstr ""
489
490 #. type: SH
491 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
492 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
493 #, no-wrap
494 msgid "STANDARDS"
495 msgstr "표준"
496
497 #. type: TP
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 #, fuzzy, no-wrap
501 #| msgid "B<allexport>"
502 msgid "B<alphasort>()"
503 msgstr "B<allexport>"
504
505 #. type: TQ
506 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
507 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
508 #, fuzzy, no-wrap
509 #| msgid "B<scandirat>():"
510 msgid "B<scandir>()"
511 msgstr "B<scandirat>():"
512
513 #. type: Plain text
514 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
515 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
516 msgid "POSIX.1-2008."
517 msgstr "POSIX.1-2008."
518
519 #. type: TP
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 #, fuzzy, no-wrap
523 #| msgid "B<versionsort>():"
524 msgid "B<versionsort>()"
525 msgstr "B<versionsort>():"
526
527 #. type: TP
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 #, fuzzy, no-wrap
531 #| msgid "B<scandirat>():"
532 msgid "B<scandirat>()"
533 msgstr "B<scandirat>():"
534
535 #. type: Plain text
536 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
537 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
538 msgid "GNU."
539 msgstr "GNU."
540
541 #. type: SH
542 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
543 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
544 #, no-wrap
545 msgid "HISTORY"
546 msgstr "이력"
547
548 #. type: Plain text
549 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
550 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
551 #, fuzzy
552 #| msgid "SVr4, 4.3BSD, POSIX.1-2001."
553 msgid "4.3BSD, POSIX.1-2008."
554 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
555
556 #. type: Plain text
557 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
558 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
559 msgid "glibc 2.1."
560 msgstr "glibc 2.1."
561
562 #. .P
563 #. The functions
564 #. .BR scandir ()
565 #. and
566 #. .BR alphasort ()
567 #. are from 4.3BSD, and have been available under Linux since libc4.
568 #. Libc4 and libc5 use the more precise prototype
569 #. .sp
570 #. .nf
571 #. int alphasort(const struct dirent ** a,
572 #. const struct dirent **b);
573 #. .fi
574 #. .sp
575 #. but glibc 2.0 returns to the imprecise BSD prototype.
576 #. type: Plain text
577 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
578 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
579 #, fuzzy
580 #| msgid "Since glibc 2.19:"
581 msgid "glibc 2.15."
582 msgstr "glibc 2.19부터:"
583
584 #. type: SH
585 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
586 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
587 #, no-wrap
588 msgid "NOTES"
589 msgstr "주의"
590
591 #. type: Plain text
592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
593 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
594 msgid ""
595 "Since glibc 2.1, B<alphasort>() calls B<strcoll>(3); earlier it used "
596 "B<strcmp>(3)."
597 msgstr ""
598
599 #. type: Plain text
600 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
601 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
602 msgid ""
603 "Before glibc 2.10, the two arguments of B<alphasort>() and "
604 "B<versionsort>() were typed as I<const void\\ *>. When B<alphasort>() was "
605 "standardized in POSIX.1-2008, the argument type was specified as the type-"
606 "safe I<const struct dirent\\ **>, and glibc 2.10 changed the definition of "
607 "B<alphasort>() (and the nonstandard B<versionsort>()) to match the "
608 "standard."
609 msgstr ""
610
611 #. type: SH
612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
613 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
614 #, no-wrap
615 msgid "EXAMPLES"
616 msgstr "폐제"
617
618 #. type: Plain text
619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
620 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
621 msgid ""
622 "The program below prints a list of the files in the current directory in "
623 "reverse order."
624 msgstr ""
625
626 #. type: SS
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 #, no-wrap
630 msgid "Program source"
631 msgstr ""
632
633 #. type: Plain text
634 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
635 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
636 #, no-wrap
637 msgid ""
638 "#define _DEFAULT_SOURCE\n"
639 "#include E<lt>dirent.hE<gt>\n"
640 "#include E<lt>stdio.hE<gt>\n"
641 "#include E<lt>stdlib.hE<gt>\n"
642 "\\&\n"
643 "int\n"
644 "main(void)\n"
645 "{\n"
646 " struct dirent **namelist;\n"
647 " int n;\n"
648 "\\&\n"
649 " n = scandir(\".\", &namelist, NULL, alphasort);\n"
650 " if (n == -1) {\n"
651 " perror(\"scandir\");\n"
652 " exit(EXIT_FAILURE);\n"
653 " }\n"
654 "\\&\n"
655 " while (n--) {\n"
656 " printf(\"%s\\[rs]n\", namelist[n]-E<gt>d_name);\n"
657 " free(namelist[n]);\n"
658 " }\n"
659 " free(namelist);\n"
660 "\\&\n"
661 " exit(EXIT_SUCCESS);\n"
662 "}\n"
663 msgstr ""
664
665 #. SRC END
666 #. type: SH
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 #, no-wrap
670 msgid "SEE ALSO"
671 msgstr "추가 참조"
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 "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
678 "B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
679 "B<strverscmp>(3), B<telldir>(3)"
680 msgstr ""
681 "B<closedir>(3), B<fnmatch>(3), B<opendir>(3), B<readdir>(3), "
682 "B<rewinddir>(3), B<seekdir>(3), B<strcmp>(3), B<strcoll>(3), "
683 "B<strverscmp>(3), B<telldir>(3)"
684
685 #. type: TH
686 #: debian-trixie
687 #, no-wrap
688 msgid "2024-06-15"
689 msgstr "2024년 6월 15일"
690
691 #. type: TH
692 #: debian-trixie
693 #, no-wrap
694 msgid "Linux man-pages 6.9.1"
695 msgstr "Linux man-pages 6.9.1"
696
697 #. type: Plain text
698 #: debian-trixie
699 msgid "Standard C library (I<libc>, I<-lc>)"
700 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
701
702 #. type: Plain text
703 #: debian-trixie
704 #, no-wrap
705 msgid ""
706 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
707 "B< struct dirent ***restrict >I<namelist>B<,>\n"
708 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
709 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
710 "B<const struct dirent **));>\n"
711 msgstr ""
712 "B<int scandir(const char *restrict >I<dirp>B<,>\n"
713 "B< struct dirent ***restrict >I<namelist>B<,>\n"
714 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
715 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
716 "B<const struct dirent **));>\n"
717
718 #. type: Plain text
719 #: debian-trixie
720 #, no-wrap
721 msgid ""
722 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
723 "B< struct dirent ***restrict >I<namelist>B<,>\n"
724 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
725 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
726 "B<const struct dirent **));>\n"
727 msgstr ""
728 "B<int scandirat(int >I<dirfd>B<, const char *restrict >I<dirp>B<,>\n"
729 "B< struct dirent ***restrict >I<namelist>B<,>\n"
730 "B< int (*>I<filter>B<)(const struct dirent *),>\n"
731 "B< int (*>I<compar>B<)(const struct dirent **,>\n"
732 "B<const struct dirent **));>\n"
733
734 #. type: Plain text
735 #: debian-trixie fedora-44 fedora-rawhide
736 #, fuzzy
737 #| msgid ""
738 #| "The B<scandir()> function scans the directory I<dir>, calling B<select()> "
739 #| "on each directory entry. Entries for which B<select()> returns non-zero "
740 #| "are stored in strings allocated via B<malloc()>, sorted using B<qsort()> "
741 #| "with the comparison function B<compar()>, and collected in array "
742 #| "I<namelist> which is allocated via B<malloc()>. If B<select> is NULL, "
743 #| "all entries are selected."
744 msgid ""
745 "The B<scandir>() function scans the directory I<dirp>, calling I<filter>() "
746 "on each directory entry. Entries for which I<filter>() returns nonzero are "
747 "stored in strings allocated via B<malloc>(3), sorted using B<qsort>(3) with "
748 "the comparison function I<compar>(), and collected in array I<namelist> "
749 "which is allocated via B<malloc>(3). If I<filter> is NULL, all entries are "
750 "selected."
751 msgstr ""
752 "B<scandir()> 함수는 각 디렉토리 항목에 대해 B<select()>를 호출하면서 I<dir> "
753 "디렉토리를 조사한다. B<select()>에서 0이 아닌 값을 반환한 항목들은 "
754 "B<malloc()>을 통해 할당된 문자열에 저장되고, 비교 함수 B<compar()>를 사용한 "
755 "B<qsort()>에 의해 정렬되고, B<malloc()>를 통해 할당된 I<namelist> 배열에 모아"
756 "진다. B<select>가 NULL이면 모든 항목이 선택된다."
757
758 #. type: Plain text
759 #: debian-trixie fedora-44 fedora-rawhide
760 msgid ""
761 "If the pathname given in I<dirp> is relative, then it is interpreted "
762 "relative to the directory referred to by the file descriptor I<dirfd> "
763 "(rather than relative to the current working directory of the calling "
764 "process, as is done by B<scandir>() for a relative pathname)."
765 msgstr ""
766
767 #. type: Plain text
768 #: debian-trixie fedora-44 fedora-rawhide
769 msgid ""
770 "(B<scandirat>()) I<dirp> is a relative pathname and I<dirfd> is a file "
771 "descriptor referring to a file other than a directory."
772 msgstr ""
773
774 #. type: TH
775 #: fedora-44 fedora-rawhide
776 #, no-wrap
777 msgid "2024-12-13"
778 msgstr "2024년 12월 13일"
779
780 #. type: TH
781 #: fedora-44 fedora-rawhide
782 #, no-wrap
783 msgid "Linux man-pages 6.13"
784 msgstr "Linux man-pages 6.13"
785
786 #. type: TH
787 #: mageia-cauldron
788 #, no-wrap
789 msgid "Linux man-pages 6.17"
790 msgstr "Linux man-pages 6.17"
791
792 #. type: TH
793 #: opensuse-leap-16-1 opensuse-tumbleweed
794 #, no-wrap
795 msgid "Linux man-pages (unreleased)"
796 msgstr "Linux man-pages (미공개)"