Debian Codegraph @

po/ko/man3/readdir.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 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
9 "PO-Revision-Date: 2001-06-28 08:57+0900\n"
10 "Last-Translator: 임종균 <[email protected]>\n"
11 "Language-Team: Korean <[email protected]>\n"
12 "Language: ko\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17
18 #. type: TH
19 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
20 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
21 #, no-wrap
22 msgid "readdir"
23 msgstr "readdir"
24
25 #. type: TH
26 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
27 #: opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-08"
30 msgstr "2026년 2월 8일"
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr "Linux man-pages 6.18"
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr "이름"
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "readdir - read a directory"
49 msgstr "readdir - 디렉토리를 읽다"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr "라이브러리"
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr "요약"
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>dirent.hE<gt>>\n"
76 msgstr "B<#include E<lt>dirent.hE<gt>>\n"
77
78 #. type: Plain text
79 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
80 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
81 #, no-wrap
82 msgid "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n"
83 msgstr "B<struct dirent *readdir(DIR *>I<dirp>B<);>\n"
84
85 #. type: SH
86 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
87 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
88 #, no-wrap
89 msgid "DESCRIPTION"
90 msgstr "설명"
91
92 #. type: Plain text
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, fuzzy
96 #| msgid ""
97 #| "The B<readdir()> function returns a pointer to a dirent structure "
98 #| "representing the next directory entry in the directory stream pointed to "
99 #| "by I<dir>. It returns NULL on reaching the end-of-file or if an error "
100 #| "occurred."
101 msgid ""
102 "The B<readdir>() function returns a pointer to a I<dirent> structure "
103 "representing the next directory entry in the directory stream pointed to by "
104 "I<dirp>. It returns NULL on reaching the end of the directory stream or if "
105 "an error occurred."
106 msgstr ""
107 "B<readdir()> 함수는 I<dir>이 가리키는 디렉토리 기술자의 다음 디렉토리 항목을 "
108 "나타내는 dirent 구조체를 반환한다. 파일 끝에 도달하거나 에러가 발생하면 NULL"
109 "을 반환한다."
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "In the glibc implementation, the I<dirent> structure is defined as follows:"
116 msgstr ""
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid ""
123 "struct dirent {\n"
124 " ino_t d_ino; /* Inode number */\n"
125 " off_t d_off; /* Not an offset; see below */\n"
126 " unsigned short d_reclen; /* Length of this record */\n"
127 " unsigned char d_type; /* Type of file; not supported\n"
128 " by all filesystem types */\n"
129 " char d_name[256]; /* Null-terminated filename */\n"
130 "};\n"
131 msgstr ""
132
133 #. type: Plain text
134 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
135 #: opensuse-tumbleweed
136 msgid ""
137 "The only fields in the I<dirent> structure that are mandated by POSIX.1 are "
138 "I<.d_name> and I<.d_ino>. The other fields are unstandardized, and not "
139 "present on all systems; see VERSIONS."
140 msgstr ""
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 #, fuzzy
146 #| msgid "The options are as follows:"
147 msgid "The fields of the I<dirent> structure are as follows:"
148 msgstr "여기서 사용되는 옵션은 다음과 같다:"
149
150 #. type: TP
151 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
152 #: opensuse-tumbleweed
153 #, fuzzy, no-wrap
154 #| msgid "I<d_ino>"
155 msgid "I<.d_ino>"
156 msgstr "I<d_ino>"
157
158 #. type: Plain text
159 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
160 #: opensuse-tumbleweed
161 msgid ""
162 "This is the inode number of the file in the filesystem containing the "
163 "directory on which B<readdir>() was called. If the directory entry is a "
164 "mount point, then I<.d_ino> differs from I<.st_ino> returned by B<stat>(2) "
165 "on this file: I<.d_ino> is the inode number of the mount point, while "
166 "I<.st_ino> is the inode number of the root directory of the mounted "
167 "filesystem."
168 msgstr ""
169
170 #. type: TP
171 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
172 #: opensuse-tumbleweed
173 #, fuzzy, no-wrap
174 #| msgid "I<d_off>"
175 msgid "I<.d_off>"
176 msgstr "I<d_off>"
177
178 #. https://lwn.net/Articles/544298/
179 #. type: Plain text
180 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
181 #: opensuse-tumbleweed
182 msgid ""
183 "The value returned in I<.d_off> is the same as would be returned by calling "
184 "B<telldir>(3) at the current position in the directory stream. Be aware "
185 "that despite its type and name, the I<.d_off> field is seldom any kind of "
186 "directory offset on modern filesystems. Applications should treat this "
187 "field as an opaque value, making no assumptions about its contents; see also "
188 "B<telldir>(3)."
189 msgstr ""
190
191 #. type: TP
192 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
193 #: opensuse-tumbleweed
194 #, fuzzy, no-wrap
195 #| msgid "I<d_reclen>"
196 msgid "I<.d_reclen>"
197 msgstr "I<d_reclen>"
198
199 #. type: Plain text
200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
201 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
202 msgid ""
203 "This is the size (in bytes) of the returned record. This may not match the "
204 "size of the structure definition shown above; see VERSIONS."
205 msgstr ""
206
207 #. type: TP
208 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
209 #: opensuse-tumbleweed
210 #, fuzzy, no-wrap
211 #| msgid "I<d_type>"
212 msgid "I<.d_type>"
213 msgstr "I<d_type>"
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "This field contains a value indicating the file type, making it possible to "
220 "avoid the expense of calling B<lstat>(2) if further actions depend on the "
221 "type of the file."
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
226 #: opensuse-tumbleweed
227 msgid ""
228 "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since "
229 "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the "
230 "following macro constants for the value returned in I<.d_type>:"
231 msgstr ""
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<DT_BLK>"
238 msgstr "B<DT_BLK>"
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid "This is a block device."
244 msgstr ""
245
246 #. type: TP
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "B<DT_CHR>"
251 msgstr "B<DT_CHR>"
252
253 #. type: Plain text
254 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
255 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
256 msgid "This is a character device."
257 msgstr ""
258
259 #. type: TP
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "B<DT_DIR>"
264 msgstr "B<DT_DIR>"
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 #, fuzzy
270 #| msgid "No such directory."
271 msgid "This is a directory."
272 msgstr "해당 디렉토리가 없다."
273
274 #. type: TP
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 #, no-wrap
278 msgid "B<DT_FIFO>"
279 msgstr "B<DT_FIFO>"
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 "This is a named pipe (FIFO)."
285 msgstr ""
286
287 #. type: TP
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "B<DT_LNK>"
292 msgstr "B<DT_LNK>"
293
294 #. type: Plain text
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 msgid "This is a symbolic link."
298 msgstr ""
299
300 #. type: TP
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "B<DT_REG>"
305 msgstr "B<DT_REG>"
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid "This is a regular file."
311 msgstr ""
312
313 #. type: TP
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 #, no-wrap
317 msgid "B<DT_SOCK>"
318 msgstr "B<DT_SOCK>"
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid "This is a UNIX domain socket."
324 msgstr ""
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "B<DT_UNKNOWN>"
331 msgstr "B<DT_UNKNOWN>"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid "The file type could not be determined."
337 msgstr ""
338
339 #. kernel 2.6.27
340 #. The same sentence is in getdents.2
341 #. type: Plain text
342 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
343 #: opensuse-tumbleweed
344 msgid ""
345 "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) "
346 "have full support for returning the file type in I<.d_type>. All "
347 "applications must properly handle a return of B<DT_UNKNOWN>."
348 msgstr ""
349
350 #. type: TP
351 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
352 #: opensuse-tumbleweed
353 #, fuzzy, no-wrap
354 #| msgid "I<d_name>"
355 msgid "I<.d_name>"
356 msgstr "I<d_name>"
357
358 #. type: Plain text
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 msgid "This field contains the null terminated filename; see VERSIONS."
362 msgstr ""
363
364 #. type: Plain text
365 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
366 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
367 #, fuzzy
368 #| msgid ""
369 #| "The data returned by B<readdir()> is overwritten by subsequent calls to "
370 #| "B<readdir()> for the same directory stream."
371 msgid ""
372 "The data returned by B<readdir>() may be overwritten by subsequent calls to "
373 "B<readdir>() for the same directory stream."
374 msgstr ""
375 "B<readdir()>에 의해 반환되는 데이터는 같은 디렉토리 스트림에 대한 다음의 "
376 "B<readdir()> 호출에 의해 덮어 쓰여진다."
377
378 #. type: SH
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 #, no-wrap
382 msgid "RETURN VALUE"
383 msgstr "반환값"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid ""
389 "On success, B<readdir>() returns a pointer to a I<dirent> structure. (This "
390 "structure may be statically allocated; do not attempt to B<free>(3) it.)"
391 msgstr ""
392
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "If the end of the directory stream is reached, NULL is returned and I<errno> "
398 "is not changed. If an error occurs, NULL is returned and I<errno> is set to "
399 "indicate the error. To distinguish end of stream from an error, set "
400 "I<errno> to zero before calling B<readdir>() and then check the value of "
401 "I<errno> if NULL is returned."
402 msgstr ""
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 "ERRORS"
409 msgstr "에러"
410
411 #. type: TP
412 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
413 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
414 #, no-wrap
415 msgid "B<EBADF>"
416 msgstr "B<EBADF>"
417
418 #. type: Plain text
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 msgid "Invalid directory stream descriptor I<dirp>."
422 msgstr "무효한 디렉토리 스트림 기술자 I<dirp>."
423
424 #. type: SH
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 #, no-wrap
428 msgid "ATTRIBUTES"
429 msgstr "속성"
430
431 #. type: Plain text
432 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
433 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
434 msgid ""
435 "For an explanation of the terms used in this section, see B<attributes>(7)."
436 msgstr ""
437 "이 섹션에서 사용되는 용어에 대한 설명은 B<attributes>(7)을 참조하십시오."
438
439 #. type: tbl table
440 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
441 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
442 #, no-wrap
443 msgid "Interface"
444 msgstr "상호 작용"
445
446 #. type: tbl table
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 #, no-wrap
450 msgid "Attribute"
451 msgstr "속성"
452
453 #. type: tbl table
454 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
455 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid "Value"
458 msgstr "번호"
459
460 #. type: tbl table
461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
462 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
463 #, no-wrap
464 msgid ".na\n"
465 msgstr ".na\n"
466
467 #. type: tbl table
468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
469 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
470 #, no-wrap
471 msgid ".nh\n"
472 msgstr ".nh\n"
473
474 #. type: tbl table
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, no-wrap
478 msgid "B<readdir>()"
479 msgstr "B<readdir>()"
480
481 #. type: tbl table
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, no-wrap
485 msgid "Thread safety"
486 msgstr ""
487
488 #. type: tbl table
489 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
490 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
491 #, no-wrap
492 msgid "MT-Unsafe race:dirstream"
493 msgstr ""
494
495 #. FIXME .
496 #. http://www.austingroupbugs.net/view.php?id=696
497 #. type: Plain text
498 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
499 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
500 msgid ""
501 "In the current POSIX.1 specification (POSIX.1-2008), B<readdir>() is not "
502 "required to be thread-safe. However, in modern implementations (including "
503 "the glibc implementation), concurrent calls to B<readdir>() that specify "
504 "different directory streams are thread-safe. In cases where multiple "
505 "threads must read from the same directory stream, using B<readdir>() with "
506 "external synchronization is still preferable to the use of the deprecated "
507 "B<readdir_r>(3) function. It is expected that a future version of POSIX.1 "
508 "will require that B<readdir>() be thread-safe when concurrently employed on "
509 "different directory streams."
510 msgstr ""
511
512 #. type: SH
513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
514 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
515 #, no-wrap
516 msgid "VERSIONS"
517 msgstr "버전S"
518
519 #. POSIX.1-2001, POSIX.1-2008
520 #. type: Plain text
521 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
522 #: opensuse-tumbleweed
523 msgid ""
524 "Only the fields I<.d_name> and (as an XSI extension) I<.d_ino> are "
525 "specified in POSIX.1. Other than Linux, the I<.d_type> field is available "
526 "mainly only on BSD systems. The remaining fields are available on many, but "
527 "not all systems. Under glibc, programs can check for the availability of "
528 "the fields not defined in POSIX.1 by testing whether the macros "
529 "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, "
530 "or B<_DIRENT_HAVE_D_TYPE> are defined."
531 msgstr ""
532
533 #. type: SS
534 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
535 #: opensuse-tumbleweed
536 #, no-wrap
537 msgid "The \\f[I].d_name\\fB field"
538 msgstr ""
539
540 #. type: Plain text
541 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
542 #: opensuse-tumbleweed
543 msgid ""
544 "The I<dirent> structure definition shown above is taken from the glibc "
545 "headers, and shows the I<.d_name> field with a fixed size."
546 msgstr ""
547
548 #. type: Plain text
549 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
550 #: opensuse-tumbleweed
551 msgid ""
552 "I<Warning>: applications should avoid any dependence on the size of the "
553 "I<.d_name> field. POSIX defines it as I<char\\ d_name[]>, a character array "
554 "of unspecified size, with at most B<NAME_MAX> characters preceding the "
555 "terminating null byte (\\[aq]\\[rs]0\\[aq])."
556 msgstr ""
557
558 #. type: Plain text
559 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
560 #: opensuse-tumbleweed
561 msgid ""
562 "POSIX.1 explicitly notes that this field should not be used as an lvalue. "
563 "The standard also notes that the use of I<sizeof(.d_name)> is incorrect; use "
564 "I<strlen(.d_name)> instead. (On some systems, this field is defined as "
565 "I<char\\ d_name[1]>!) By implication, the use I<sizeof(struct dirent)> to "
566 "capture the size of the record including the size of I<.d_name> is also "
567 "incorrect."
568 msgstr ""
569
570 #. type: Plain text
571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
572 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
573 msgid "Note that while the call"
574 msgstr ""
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 #, no-wrap
580 msgid "fpathconf(fd, _PC_NAME_MAX)\n"
581 msgstr "fpathconf(fd, _PC_NAME_MAX)\n"
582
583 #. type: Plain text
584 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
585 #: opensuse-tumbleweed
586 msgid ""
587 "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, "
588 "Windows SMB servers), the null-terminated filename that is (correctly) "
589 "returned in I<.d_name> can actually exceed this size. In such cases, the "
590 "I<.d_reclen> field will contain a value that exceeds the size of the glibc "
591 "I<dirent> structure shown above."
592 msgstr ""
593
594 #. type: SH
595 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
596 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
597 #, no-wrap
598 msgid "STANDARDS"
599 msgstr "표준"
600
601 #. type: Plain text
602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
603 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
604 msgid "POSIX.1-2008."
605 msgstr "POSIX.1-2008."
606
607 #. type: SH
608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
609 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
610 #, no-wrap
611 msgid "HISTORY"
612 msgstr "이력"
613
614 #. type: Plain text
615 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
616 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
617 msgid "POSIX.1-2001, SVr4, 4.3BSD."
618 msgstr "POSIX.1-2001, SVr4, 4.3BSD."
619
620 #. type: SH
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "NOTES"
625 msgstr "주의"
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 #, fuzzy
631 #| msgid "Invalid directory stream descriptor I<dir>."
632 msgid "A directory stream is opened using B<opendir>(3)."
633 msgstr "무효한 디렉토리 스트림 기술자 I<dir>"
634
635 #. type: Plain text
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 msgid ""
639 "The order in which filenames are read by successive calls to B<readdir>() "
640 "depends on the filesystem implementation; it is unlikely that the names will "
641 "be sorted in any fashion."
642 msgstr ""
643
644 #. type: SH
645 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
646 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
647 #, no-wrap
648 msgid "SEE ALSO"
649 msgstr "추가 참조"
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid ""
655 "B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), "
656 "B<offsetof>(3), B<opendir>(3), B<readdir_r>(3), B<rewinddir>(3), "
657 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
658 msgstr ""
659 "B<getdents>(2), B<read>(2), B<closedir>(3), B<dirfd>(3), B<ftw>(3), "
660 "B<offsetof>(3), B<opendir>(3), B<readdir_r>(3), B<rewinddir>(3), "
661 "B<scandir>(3), B<seekdir>(3), B<telldir>(3)"
662
663 #. type: TH
664 #: debian-trixie
665 #, no-wrap
666 msgid "2024-06-16"
667 msgstr "2024년 6월 16일"
668
669 #. type: TH
670 #: debian-trixie
671 #, no-wrap
672 msgid "Linux man-pages 6.9.1"
673 msgstr "Linux man-pages 6.9.1"
674
675 #. type: Plain text
676 #: debian-trixie
677 msgid "Standard C library (I<libc>, I<-lc>)"
678 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
679
680 #. type: Plain text
681 #: debian-trixie fedora-44 fedora-rawhide
682 msgid ""
683 "The only fields in the I<dirent> structure that are mandated by POSIX.1 are "
684 "I<d_name> and I<d_ino>. The other fields are unstandardized, and not "
685 "present on all systems; see VERSIONS."
686 msgstr ""
687
688 #. type: TP
689 #: debian-trixie fedora-44 fedora-rawhide
690 #, no-wrap
691 msgid "I<d_ino>"
692 msgstr "I<d_ino>"
693
694 #. type: Plain text
695 #: debian-trixie fedora-44 fedora-rawhide
696 msgid "This is the inode number of the file."
697 msgstr ""
698
699 #. type: TP
700 #: debian-trixie fedora-44 fedora-rawhide
701 #, no-wrap
702 msgid "I<d_off>"
703 msgstr "I<d_off>"
704
705 #. https://lwn.net/Articles/544298/
706 #. type: Plain text
707 #: debian-trixie fedora-44 fedora-rawhide
708 msgid ""
709 "The value returned in I<d_off> is the same as would be returned by calling "
710 "B<telldir>(3) at the current position in the directory stream. Be aware "
711 "that despite its type and name, the I<d_off> field is seldom any kind of "
712 "directory offset on modern filesystems. Applications should treat this "
713 "field as an opaque value, making no assumptions about its contents; see also "
714 "B<telldir>(3)."
715 msgstr ""
716
717 #. type: TP
718 #: debian-trixie fedora-44 fedora-rawhide
719 #, no-wrap
720 msgid "I<d_reclen>"
721 msgstr "I<d_reclen>"
722
723 #. type: TP
724 #: debian-trixie fedora-44 fedora-rawhide
725 #, no-wrap
726 msgid "I<d_type>"
727 msgstr "I<d_type>"
728
729 #. type: Plain text
730 #: debian-trixie fedora-44 fedora-rawhide
731 msgid ""
732 "When a suitable feature test macro is defined (B<_DEFAULT_SOURCE> since "
733 "glibc 2.19, or B<_BSD_SOURCE> on glibc 2.19 and earlier), glibc defines the "
734 "following macro constants for the value returned in I<d_type>:"
735 msgstr ""
736
737 #. kernel 2.6.27
738 #. The same sentence is in getdents.2
739 #. type: Plain text
740 #: debian-trixie fedora-44 fedora-rawhide
741 msgid ""
742 "Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) "
743 "have full support for returning the file type in I<d_type>. All "
744 "applications must properly handle a return of B<DT_UNKNOWN>."
745 msgstr ""
746
747 #. type: TP
748 #: debian-trixie fedora-44 fedora-rawhide
749 #, no-wrap
750 msgid "I<d_name>"
751 msgstr "I<d_name>"
752
753 #. POSIX.1-2001, POSIX.1-2008
754 #. type: Plain text
755 #: debian-trixie fedora-44 fedora-rawhide
756 msgid ""
757 "Only the fields I<d_name> and (as an XSI extension) I<d_ino> are specified "
758 "in POSIX.1. Other than Linux, the I<d_type> field is available mainly only "
759 "on BSD systems. The remaining fields are available on many, but not all "
760 "systems. Under glibc, programs can check for the availability of the fields "
761 "not defined in POSIX.1 by testing whether the macros "
762 "B<_DIRENT_HAVE_D_NAMLEN>, B<_DIRENT_HAVE_D_RECLEN>, B<_DIRENT_HAVE_D_OFF>, "
763 "or B<_DIRENT_HAVE_D_TYPE> are defined."
764 msgstr ""
765
766 #. type: SS
767 #: debian-trixie fedora-44 fedora-rawhide
768 #, no-wrap
769 msgid "The d_name field"
770 msgstr ""
771
772 #. type: Plain text
773 #: debian-trixie fedora-44 fedora-rawhide
774 msgid ""
775 "The I<dirent> structure definition shown above is taken from the glibc "
776 "headers, and shows the I<d_name> field with a fixed size."
777 msgstr ""
778
779 #. type: Plain text
780 #: debian-trixie fedora-44 fedora-rawhide
781 msgid ""
782 "I<Warning>: applications should avoid any dependence on the size of the "
783 "I<d_name> field. POSIX defines it as I<char\\ d_name[]>, a character array "
784 "of unspecified size, with at most B<NAME_MAX> characters preceding the "
785 "terminating null byte (\\[aq]\\[rs]0\\[aq])."
786 msgstr ""
787
788 #. type: Plain text
789 #: debian-trixie fedora-44 fedora-rawhide
790 msgid ""
791 "POSIX.1 explicitly notes that this field should not be used as an lvalue. "
792 "The standard also notes that the use of I<sizeof(d_name)> is incorrect; use "
793 "I<strlen(d_name)> instead. (On some systems, this field is defined as "
794 "I<char\\ d_name[1]>!) By implication, the use I<sizeof(struct dirent)> to "
795 "capture the size of the record including the size of I<d_name> is also "
796 "incorrect."
797 msgstr ""
798
799 #. type: Plain text
800 #: debian-trixie fedora-44 fedora-rawhide
801 msgid ""
802 "returns the value 255 for most filesystems, on some filesystems (e.g., CIFS, "
803 "Windows SMB servers), the null-terminated filename that is (correctly) "
804 "returned in I<d_name> can actually exceed this size. In such cases, the "
805 "I<d_reclen> field will contain a value that exceeds the size of the glibc "
806 "I<dirent> structure shown above."
807 msgstr ""
808
809 #. type: TH
810 #: fedora-44 fedora-rawhide
811 #, no-wrap
812 msgid "2024-07-23"
813 msgstr "2024년 7월 23일"
814
815 #. type: TH
816 #: fedora-44 fedora-rawhide
817 #, no-wrap
818 msgid "Linux man-pages 6.13"
819 msgstr "Linux man-pages 6.13"
820
821 #. type: TH
822 #: mageia-cauldron
823 #, no-wrap
824 msgid "Linux man-pages 6.17"
825 msgstr "Linux man-pages 6.17"
826
827 #. type: TH
828 #: opensuse-leap-16-1 opensuse-tumbleweed
829 #, no-wrap
830 msgid "Linux man-pages (unreleased)"
831 msgstr "Linux man-pages (미공개)"