summaryrefslogtreecommitdiffstats
path: root/po/ko/man2/getdents.2.po
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--po/ko/man2/getdents.2.po930
1 files changed, 930 insertions, 0 deletions
diff --git a/po/ko/man2/getdents.2.po b/po/ko/man2/getdents.2.po
new file mode 100644
index 00000000..f1be5c49
--- /dev/null
+++ b/po/ko/man2/getdents.2.po
@@ -0,0 +1,930 @@
+# Korean translation of manpages
+# This file is distributed under the same license as the manpages-l10n package.
+# Copyright © of this file:
+# 정강훈 <skyeyes@soback.kornet.net>, 2000.
+msgid ""
+msgstr ""
+"Project-Id-Version: manpages-l10n\n"
+"POT-Creation-Date: 2024-03-01 16:57+0100\n"
+"PO-Revision-Date: 2000-05-02 08:57+0900\n"
+"Last-Translator: 정강훈 <skyeyes@soback.kornet.net>\n"
+"Language-Team: Korean <translation-team-ko@googlegroups.com>\n"
+"Language: ko\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#. type: TH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "getdents"
+msgstr "getdents"
+
+#. type: TH
+#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#, no-wrap
+msgid "2023-10-31"
+msgstr "2023년 10월 31일"
+
+#. type: TH
+#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#, fuzzy, no-wrap
+#| msgid "Linux man-pages 6.03"
+msgid "Linux man-pages 6.06"
+msgstr "Linux man-pages 6.03"
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "NAME"
+msgstr "이름"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "getdents, getdents64 - get directory entries"
+msgstr "getdents, getdents64 - 디렉토리 엔트리를 가져온다"
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "LIBRARY"
+msgstr "라이브러리"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "Standard C library (I<libc>, I<-lc>)"
+msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "SYNOPSIS"
+msgstr "요약"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid ""
+#| "B<#include E<lt>sys/types.hE<gt>>\n"
+#| "B<#include E<lt>sys/ipc.hE<gt>>\n"
+#| "B<#include E<lt>sys/sem.hE<gt>>\n"
+msgid ""
+"B<#include E<lt>sys/syscall.hE<gt>> /* Definition of B<SYS_*> constants */\n"
+"B<#include E<lt>unistd.hE<gt>>\n"
+msgstr ""
+"B<#include E<lt>sys/types.hE<gt>>\n"
+"B<#include E<lt>sys/ipc.hE<gt>>\n"
+"B<#include E<lt>sys/sem.hE<gt>>\n"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid ""
+"B<long syscall(SYS_getdents, unsigned int >I<fd>B<, struct linux_dirent *>I<dirp>B<,>\n"
+"B< unsigned int >I<count>B<);>\n"
+msgstr ""
+"B<long syscall(SYS_getdents, unsigned int >I<fd>B<, struct linux_dirent *>I<dirp>B<,>\n"
+"B< unsigned int >I<count>B<);>\n"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid ""
+"B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
+"B<#include E<lt>dirent.hE<gt>>\n"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<ssize_t getdents64(int >I<fd>B<, void >I<dirp>B<[.>I<count>B<], size_t >I<count>B<);>\n"
+msgstr "B<ssize_t getdents64(int >I<fd>B<, void >I<dirp>B<[.>I<count>B<], size_t >I<count>B<);>\n"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"I<Note>: glibc provides no wrapper for B<getdents>(), necessitating the use "
+"of B<syscall>(2)."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"I<Note>: There is no definition of I<struct linux_dirent> in glibc; see "
+"NOTES."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "DESCRIPTION"
+msgstr "설명"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"These are not the interfaces you are interested in. Look at B<readdir>(3) "
+"for the POSIX-conforming C library interface. This page documents the bare "
+"kernel system call interfaces."
+msgstr ""
+
+#. type: SS
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "getdents()"
+msgstr "getdents()"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "B<getdents> reads several I<dirent> structures from the directory pointed "
+#| "at by I<fd> into the memory area pointed to by I<dirp>. The parameter "
+#| "I<count> is the size of the memory area."
+msgid ""
+"The system call B<getdents>() reads several I<linux_dirent> structures from "
+"the directory referred to by the open file descriptor I<fd> into the buffer "
+"pointed to by I<dirp>. The argument I<count> specifies the size of that "
+"buffer."
+msgstr ""
+"B<getdents>는 I<fd>가 가리키는 디렉토리에서 여러 I<dirent> 구조체을 읽어와 "
+"I<dirp>가 가리키는 메모리 공간에 저장한다. I<count> 인자는 메모리 공간의 크"
+"기이다."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "The I<linux_dirent> structure is declared as follows:"
+msgstr "I<linux_dirent> 구조체는 다음과 같다:"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid ""
+"struct linux_dirent {\n"
+" unsigned long d_ino; /* Inode number */\n"
+" unsigned long d_off; /* Offset to next I<linux_dirent> */\n"
+" unsigned short d_reclen; /* Length of this I<linux_dirent> */\n"
+" char d_name[]; /* Filename (null-terminated) */\n"
+" /* length is actually (d_reclen - 2 -\n"
+" offsetof(struct linux_dirent, d_name)) */\n"
+" /*\n"
+" char pad; // Zero padding byte\n"
+" char d_type; // File type (only since Linux\n"
+" // 2.6.4); offset is (d_reclen - 1)\n"
+" */\n"
+"}\n"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"I<d_ino> is an inode number. I<d_off> is the distance from the start of the "
+"directory to the start of the next I<linux_dirent>. I<d_reclen> is the size "
+"of this entire I<linux_dirent>. I<d_name> is a null-terminated filename."
+msgstr ""
+"I<d_ino>는 inode 번호이다. I<d_off>는 현재 디렉토리 시작부터 다음 "
+"I<linux_dirent> 시작 까지의 옵셋(offset)이다. I<d_reclen>는 이 "
+"I<linux_dirent>의 전체 크기이다. I<d_name>는 null로 끝나는 파일 이름이다."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"I<d_type> is a byte at the end of the structure that indicates the file "
+"type. It contains one of the following values (defined in I<E<lt>dirent."
+"hE<gt>>):"
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<DT_BLK>"
+msgstr "B<DT_BLK>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "This is a block device."
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<DT_CHR>"
+msgstr "B<DT_CHR>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "This is a character device."
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<DT_DIR>"
+msgstr "B<DT_DIR>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid "No such directory."
+msgid "This is a directory."
+msgstr "그런 디렉토리가 없다."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<DT_FIFO>"
+msgstr "B<DT_FIFO>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "This is a named pipe (FIFO)."
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<DT_LNK>"
+msgstr "B<DT_LNK>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "This is a symbolic link."
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<DT_REG>"
+msgstr "B<DT_REG>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "This is a regular file."
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<DT_SOCK>"
+msgstr "B<DT_SOCK>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "This is a UNIX domain socket."
+msgstr ""
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<DT_UNKNOWN>"
+msgstr "B<DT_UNKNOWN>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid "The file does not exist."
+msgid "The file type is unknown."
+msgstr "파일이 존재하지 않는다."
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The I<d_type> field is implemented since Linux 2.6.4. It occupies a space "
+"that was previously a zero-filled padding byte in the I<linux_dirent> "
+"structure. Thus, on kernels up to and including Linux 2.6.3, attempting to "
+"access this field always provides the value 0 (B<DT_UNKNOWN>)."
+msgstr ""
+
+#. kernel 2.6.27
+#. The same sentence is in readdir.2
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"Currently, only some filesystems (among them: Btrfs, ext2, ext3, and ext4) "
+"have full support for returning the file type in I<d_type>. All "
+"applications must properly handle a return of B<DT_UNKNOWN>."
+msgstr ""
+
+#. type: SS
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "getdents64()"
+msgstr "getdents64()"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The original Linux B<getdents>() system call did not handle large "
+"filesystems and large file offsets. Consequently, Linux 2.4 added "
+"B<getdents64>(), with wider types for the I<d_ino> and I<d_off> fields. In "
+"addition, B<getdents64>() supports an explicit I<d_type> field."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The B<getdents64>() system call is like B<getdents>(), except that its "
+"second argument is a pointer to a buffer containing structures of the "
+"following type:"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid ""
+#| "struct dirent\n"
+#| "{\n"
+#| " long d_ino; /* inode number */\n"
+#| " off_t d_off; /* offset to next I<dirent> */\n"
+#| " unsigned short d_reclen; /* length of this I<dirent> */\n"
+#| " char d_name [NAME_MAX+1]; /* file name (null-terminated) */\n"
+#| "}\n"
+msgid ""
+"struct linux_dirent64 {\n"
+" ino64_t d_ino; /* 64-bit inode number */\n"
+" off64_t d_off; /* 64-bit offset to next structure */\n"
+" unsigned short d_reclen; /* Size of this dirent */\n"
+" unsigned char d_type; /* File type */\n"
+" char d_name[]; /* Filename (null-terminated) */\n"
+"};\n"
+msgstr ""
+"struct dirent\n"
+"{\n"
+" long d_ino; /* inode 번호 */\n"
+" off_t d_off; /* 다음 I<dirent>에 대한 옵셋 */\n"
+" unsigned short d_reclen; /* 이 I<dirent>의 길이 */\n"
+" char d_name [NAME_MAX+1]; /* (null로 끝나는) 파일 이름 */\n"
+"}\n"
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "RETURN VALUE"
+msgstr "반환값"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid ""
+#| "On success, the number of bytes read is returned. On end of directory, 0 "
+#| "is returned. On error, -1 is returned, and I<errno> is set appropriately."
+msgid ""
+"On success, the number of bytes read is returned. On end of directory, 0 is "
+"returned. On error, -1 is returned, and I<errno> is set to indicate the "
+"error."
+msgstr ""
+"성공시, 읽은 바이트의 수가 리턴된다. 디렉토리의 끝에서, 0이 리턴된다. 에러"
+"시, -1이 리턴되며, I<errno>는 적당한 값으로 설정된다."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "ERRORS"
+msgstr "에러"
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EBADF>"
+msgstr "B<EBADF>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "Invalid file descriptor I<fd>."
+msgstr "유효 하지 않은 파일 기술자 I<fd>."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EFAULT>"
+msgstr "B<EFAULT>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "Argument points outside the calling process's address space."
+msgstr "인자가 호출 프로세스의 주소 공간외를 가리키고 있다."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<EINVAL>"
+msgstr "B<EINVAL>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "Result buffer is too small."
+msgstr "결과 버퍼가 너무 작다."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<ENOENT>"
+msgstr "B<ENOENT>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "No such directory."
+msgstr "해당 디렉토리가 없다."
+
+#. type: TP
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<ENOTDIR>"
+msgstr "B<ENOTDIR>"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "File descriptor does not refer to a directory."
+msgstr "파일 기술자가 디렉토리를 가리키지 않는다."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "STANDARDS"
+msgstr "표준"
+
+#. type: Plain text
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+msgid "None."
+msgstr ""
+
+#. type: SH
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "HISTORY"
+msgstr "이력"
+
+#. SVr4 documents additional ENOLINK, EIO error conditions.
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "SVr4."
+msgstr "SVr4."
+
+#. type: TP
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "B<getdents64>()"
+msgstr "B<getdents64>()"
+
+#. type: Plain text
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+msgid "glibc 2.30."
+msgstr "glibc 2.30."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "NOTES"
+msgstr "주의"
+
+#. type: Plain text
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"glibc does not provide a wrapper for B<getdents>(); call B<getdents>() "
+"using B<syscall>(2). In that case you will need to define the "
+"I<linux_dirent> or I<linux_dirent64> structure yourself."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "Probably, you want to use B<readdir>(3) instead of these system calls."
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, fuzzy
+#| msgid "This call supersedes B<readdir>(2)."
+msgid "These calls supersede B<readdir>(2)."
+msgstr "이 시스템 콜은 B<readdir>(2)를 대체한다."
+
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "EXAMPLES"
+msgstr "폐제"
+
+#. FIXME The example program needs to be revised, since it uses the older
+#. getdents() system call and the structure with smaller field widths.
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid ""
+"The program below demonstrates the use of B<getdents>(). The following "
+"output shows an example of what we see when running this program on an ext2 "
+"directory:"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid ""
+"$B< ./a.out /testfs/>\n"
+"--------------- nread=120 ---------------\n"
+"inode# file type d_reclen d_off d_name\n"
+" 2 directory 16 12 .\n"
+" 2 directory 16 24 ..\n"
+" 11 directory 24 44 lost+found\n"
+" 12 regular 16 56 a\n"
+" 228929 directory 16 68 sub\n"
+" 16353 directory 16 80 sub2\n"
+" 130817 directory 16 4096 sub3\n"
+msgstr ""
+"$B< ./a.out /testfs/>\n"
+"--------------- nread=120 ---------------\n"
+"inode# file type d_reclen d_off d_name\n"
+" 2 directory 16 12 .\n"
+" 2 directory 16 24 ..\n"
+" 11 directory 24 44 lost+found\n"
+" 12 regular 16 56 a\n"
+" 228929 directory 16 68 sub\n"
+" 16353 directory 16 80 sub2\n"
+" 130817 directory 16 4096 sub3\n"
+
+#. type: SS
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "Program source"
+msgstr ""
+
+#. type: Plain text
+#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
+#: opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid ""
+#| " printf(\"--------------- nread=%ld ---------------\\en\", nread);\n"
+#| " printf(\"inode# file type d_reclen d_off d_name\\en\");\n"
+#| " for (size_t bpos = 0; bpos E<lt> nread;) {\n"
+#| " d = (struct linux_dirent *) (buf + bpos);\n"
+#| " printf(\"%8lu \", d-E<gt>d_ino);\n"
+#| " d_type = *(buf + bpos + d-E<gt>d_reclen - 1);\n"
+#| " printf(\"%-10s \", (d_type == DT_REG) ? \"regular\" :\n"
+#| " (d_type == DT_DIR) ? \"directory\" :\n"
+#| " (d_type == DT_FIFO) ? \"FIFO\" :\n"
+#| " (d_type == DT_SOCK) ? \"socket\" :\n"
+#| " (d_type == DT_LNK) ? \"symlink\" :\n"
+#| " (d_type == DT_BLK) ? \"block dev\" :\n"
+#| " (d_type == DT_CHR) ? \"char dev\" : \"???\");\n"
+#| " printf(\"%4d %10jd %s\\en\", d-E<gt>d_reclen,\n"
+#| " (intmax_t) d-E<gt>d_off, d-E<gt>d_name);\n"
+#| " bpos += d-E<gt>d_reclen;\n"
+#| " }\n"
+#| " }\n"
+msgid ""
+"#define _GNU_SOURCE\n"
+"#include E<lt>dirent.hE<gt> /* Defines DT_* constants */\n"
+"#include E<lt>err.hE<gt>\n"
+"#include E<lt>fcntl.hE<gt>\n"
+"#include E<lt>stdint.hE<gt>\n"
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>sys/syscall.hE<gt>\n"
+"#include E<lt>unistd.hE<gt>\n"
+"\\&\n"
+"struct linux_dirent {\n"
+" unsigned long d_ino;\n"
+" off_t d_off;\n"
+" unsigned short d_reclen;\n"
+" char d_name[];\n"
+"};\n"
+"\\&\n"
+"#define BUF_SIZE 1024\n"
+"\\&\n"
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int fd;\n"
+" char d_type;\n"
+" char buf[BUF_SIZE];\n"
+" long nread;\n"
+" struct linux_dirent *d;\n"
+"\\&\n"
+" fd = open(argc E<gt> 1 ? argv[1] : \".\", O_RDONLY | O_DIRECTORY);\n"
+" if (fd == -1)\n"
+" err(EXIT_FAILURE, \"open\");\n"
+"\\&\n"
+" for (;;) {\n"
+" nread = syscall(SYS_getdents, fd, buf, BUF_SIZE);\n"
+" if (nread == -1)\n"
+" err(EXIT_FAILURE, \"getdents\");\n"
+"\\&\n"
+" if (nread == 0)\n"
+" break;\n"
+"\\&\n"
+" printf(\"--------------- nread=%ld ---------------\\en\", nread);\n"
+" printf(\"inode# file type d_reclen d_off d_name\\en\");\n"
+" for (size_t bpos = 0; bpos E<lt> nread;) {\n"
+" d = (struct linux_dirent *) (buf + bpos);\n"
+" printf(\"%8lu \", d-E<gt>d_ino);\n"
+" d_type = *(buf + bpos + d-E<gt>d_reclen - 1);\n"
+" printf(\"%-10s \", (d_type == DT_REG) ? \"regular\" :\n"
+" (d_type == DT_DIR) ? \"directory\" :\n"
+" (d_type == DT_FIFO) ? \"FIFO\" :\n"
+" (d_type == DT_SOCK) ? \"socket\" :\n"
+" (d_type == DT_LNK) ? \"symlink\" :\n"
+" (d_type == DT_BLK) ? \"block dev\" :\n"
+" (d_type == DT_CHR) ? \"char dev\" : \"???\");\n"
+" printf(\"%4d %10jd %s\\en\", d-E<gt>d_reclen,\n"
+" (intmax_t) d-E<gt>d_off, d-E<gt>d_name);\n"
+" bpos += d-E<gt>d_reclen;\n"
+" }\n"
+" }\n"
+"\\&\n"
+" exit(EXIT_SUCCESS);\n"
+"}\n"
+msgstr ""
+" printf(\"--------------- nread=%ld ---------------\\en\", nread);\n"
+" printf(\"inode# file type d_reclen d_off d_name\\en\");\n"
+" for (size_t bpos = 0; bpos E<lt> nread;) {\n"
+" d = (struct linux_dirent *) (buf + bpos);\n"
+" printf(\"%8lu \", d-E<gt>d_ino);\n"
+" d_type = *(buf + bpos + d-E<gt>d_reclen - 1);\n"
+" printf(\"%-10s \", (d_type == DT_REG) ? \"regular\" :\n"
+" (d_type == DT_DIR) ? \"directory\" :\n"
+" (d_type == DT_FIFO) ? \"FIFO\" :\n"
+" (d_type == DT_SOCK) ? \"socket\" :\n"
+" (d_type == DT_LNK) ? \"symlink\" :\n"
+" (d_type == DT_BLK) ? \"block dev\" :\n"
+" (d_type == DT_CHR) ? \"char dev\" : \"???\");\n"
+" printf(\"%4d %10jd %s\\en\", d-E<gt>d_reclen,\n"
+" (intmax_t) d-E<gt>d_off, d-E<gt>d_name);\n"
+" bpos += d-E<gt>d_reclen;\n"
+" }\n"
+" }\n"
+
+#. SRC END
+#. type: SH
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+#, no-wrap
+msgid "SEE ALSO"
+msgstr "추가 참조"
+
+#. type: Plain text
+#: archlinux debian-bookworm debian-unstable fedora-40 fedora-rawhide
+#: mageia-cauldron opensuse-leap-15-6 opensuse-tumbleweed
+msgid "B<readdir>(2), B<readdir>(3), B<inode>(7)"
+msgstr "B<readdir>(2), B<readdir>(3), B<inode>(7)"
+
+#. type: TH
+#: debian-bookworm
+#, no-wrap
+msgid "2023-02-05"
+msgstr "2023년 2월 5일"
+
+#. type: TH
+#: debian-bookworm
+#, no-wrap
+msgid "Linux man-pages 6.03"
+msgstr "Linux man-pages 6.03"
+
+#. type: Plain text
+#: debian-bookworm
+msgid ""
+"Library support for B<getdents64>() was added in glibc 2.30; glibc does not "
+"provide a wrapper for B<getdents>(); call B<getdents>() (or "
+"B<getdents64>() on earlier glibc versions) using B<syscall>(2). In that "
+"case you will need to define the I<linux_dirent> or I<linux_dirent64> "
+"structure yourself."
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"#define _GNU_SOURCE\n"
+"#include E<lt>dirent.hE<gt> /* Defines DT_* constants */\n"
+"#include E<lt>err.hE<gt>\n"
+"#include E<lt>fcntl.hE<gt>\n"
+"#include E<lt>stdint.hE<gt>\n"
+"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
+"#include E<lt>sys/syscall.hE<gt>\n"
+"#include E<lt>unistd.hE<gt>\n"
+msgstr ""
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"struct linux_dirent {\n"
+" unsigned long d_ino;\n"
+" off_t d_off;\n"
+" unsigned short d_reclen;\n"
+" char d_name[];\n"
+"};\n"
+msgstr ""
+"struct linux_dirent {\n"
+" unsigned long d_ino;\n"
+" off_t d_off;\n"
+" unsigned short d_reclen;\n"
+" char d_name[];\n"
+"};\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid "#define BUF_SIZE 1024\n"
+msgstr "#define BUF_SIZE 1024\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int fd;\n"
+" char d_type;\n"
+" char buf[BUF_SIZE];\n"
+" long nread;\n"
+" struct linux_dirent *d;\n"
+msgstr ""
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int fd;\n"
+" char d_type;\n"
+" char buf[BUF_SIZE];\n"
+" long nread;\n"
+" struct linux_dirent *d;\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+" fd = open(argc E<gt> 1 ? argv[1] : \".\", O_RDONLY | O_DIRECTORY);\n"
+" if (fd == -1)\n"
+" err(EXIT_FAILURE, \"open\");\n"
+msgstr ""
+" fd = open(argc E<gt> 1 ? argv[1] : \".\", O_RDONLY | O_DIRECTORY);\n"
+" if (fd == -1)\n"
+" err(EXIT_FAILURE, \"open\");\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+" for (;;) {\n"
+" nread = syscall(SYS_getdents, fd, buf, BUF_SIZE);\n"
+" if (nread == -1)\n"
+" err(EXIT_FAILURE, \"getdents\");\n"
+msgstr ""
+" for (;;) {\n"
+" nread = syscall(SYS_getdents, fd, buf, BUF_SIZE);\n"
+" if (nread == -1)\n"
+" err(EXIT_FAILURE, \"getdents\");\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+" if (nread == 0)\n"
+" break;\n"
+msgstr ""
+" if (nread == 0)\n"
+" break;\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+" printf(\"--------------- nread=%ld ---------------\\en\", nread);\n"
+" printf(\"inode# file type d_reclen d_off d_name\\en\");\n"
+" for (size_t bpos = 0; bpos E<lt> nread;) {\n"
+" d = (struct linux_dirent *) (buf + bpos);\n"
+" printf(\"%8lu \", d-E<gt>d_ino);\n"
+" d_type = *(buf + bpos + d-E<gt>d_reclen - 1);\n"
+" printf(\"%-10s \", (d_type == DT_REG) ? \"regular\" :\n"
+" (d_type == DT_DIR) ? \"directory\" :\n"
+" (d_type == DT_FIFO) ? \"FIFO\" :\n"
+" (d_type == DT_SOCK) ? \"socket\" :\n"
+" (d_type == DT_LNK) ? \"symlink\" :\n"
+" (d_type == DT_BLK) ? \"block dev\" :\n"
+" (d_type == DT_CHR) ? \"char dev\" : \"???\");\n"
+" printf(\"%4d %10jd %s\\en\", d-E<gt>d_reclen,\n"
+" (intmax_t) d-E<gt>d_off, d-E<gt>d_name);\n"
+" bpos += d-E<gt>d_reclen;\n"
+" }\n"
+" }\n"
+msgstr ""
+" printf(\"--------------- nread=%ld ---------------\\en\", nread);\n"
+" printf(\"inode# file type d_reclen d_off d_name\\en\");\n"
+" for (size_t bpos = 0; bpos E<lt> nread;) {\n"
+" d = (struct linux_dirent *) (buf + bpos);\n"
+" printf(\"%8lu \", d-E<gt>d_ino);\n"
+" d_type = *(buf + bpos + d-E<gt>d_reclen - 1);\n"
+" printf(\"%-10s \", (d_type == DT_REG) ? \"regular\" :\n"
+" (d_type == DT_DIR) ? \"directory\" :\n"
+" (d_type == DT_FIFO) ? \"FIFO\" :\n"
+" (d_type == DT_SOCK) ? \"socket\" :\n"
+" (d_type == DT_LNK) ? \"symlink\" :\n"
+" (d_type == DT_BLK) ? \"block dev\" :\n"
+" (d_type == DT_CHR) ? \"char dev\" : \"???\");\n"
+" printf(\"%4d %10jd %s\\en\", d-E<gt>d_reclen,\n"
+" (intmax_t) d-E<gt>d_off, d-E<gt>d_name);\n"
+" bpos += d-E<gt>d_reclen;\n"
+" }\n"
+" }\n"
+
+#. type: Plain text
+#: debian-bookworm opensuse-leap-15-6
+#, no-wrap
+msgid ""
+" exit(EXIT_SUCCESS);\n"
+"}\n"
+msgstr ""
+" exit(EXIT_SUCCESS);\n"
+"}\n"
+
+#. type: TH
+#: debian-unstable opensuse-tumbleweed
+#, no-wrap
+msgid "2023-05-03"
+msgstr "2023년 5월 3일"
+
+#. type: TH
+#: debian-unstable opensuse-tumbleweed
+#, no-wrap
+msgid "Linux man-pages 6.05.01"
+msgstr "Linux man-pages 6.05.01"
+
+#. type: TH
+#: opensuse-leap-15-6
+#, no-wrap
+msgid "2023-03-30"
+msgstr "2023년 3월 30일"
+
+#. type: TH
+#: opensuse-leap-15-6
+#, no-wrap
+msgid "Linux man-pages 6.04"
+msgstr "Linux man-pages 6.04"