Debian Codegraph @

po/ko/man2/getpid.2.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]>, 2000.
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:25+0200\n"
10 "PO-Revision-Date: 2005-02-17 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 "getpid"
24 msgstr "getpid"
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 "getpid, getppid - get process identification"
50 msgstr "getpid, getppid - 프로세스 식별값(identification)을 얻는다."
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr "라이브러리"
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr "요약"
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>unistd.hE<gt>>\n"
77 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
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 ""
84 "B<pid_t getpid(void);>\n"
85 "B<pid_t getppid(void);>\n"
86 msgstr ""
87 "B<pid_t getpid(void);>\n"
88 "B<pid_t getppid(void);>\n"
89
90 #. type: SH
91 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
92 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
93 #, no-wrap
94 msgid "DESCRIPTION"
95 msgstr "설명"
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, fuzzy
101 #| msgid ""
102 #| "B<getpid> returns the process ID of the current process. (This is often "
103 #| "used by routines that generate unique temporary file names.)"
104 msgid ""
105 "B<getpid>() returns the process ID (PID) of the calling process. (This is "
106 "often used by routines that generate unique temporary filenames.)"
107 msgstr ""
108 "B<getpid>는 현재 프로세스의 프로세스 ID를 돌려준다. (이것은 유일한 임시 파일 "
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 "B<getppid>() returns the process ID of the parent of the calling process. "
116 "This will be either the ID of the process that created this process using "
117 "B<fork>(), or, if that process has already terminated, the ID of the process "
118 "to which this process has been reparented (either B<init>(1) or a "
119 "\"subreaper\" process defined via the B<prctl>(2) B<PR_SET_CHILD_SUBREAPER> "
120 "operation)."
121 msgstr ""
122
123 #. type: SH
124 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
125 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
126 #, no-wrap
127 msgid "ERRORS"
128 msgstr "에러"
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid "These functions are always successful."
134 msgstr "이 함수들은 항상 성공한다."
135
136 #. type: SH
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid "VERSIONS"
141 msgstr "버전S"
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid ""
147 "On Alpha, instead of a pair of B<getpid>() and B<getppid>() system calls, "
148 "a single B<getxpid>() system call is provided, which returns a pair of PID "
149 "and parent PID. The glibc B<getpid>() and B<getppid>() wrapper functions "
150 "transparently deal with this. See B<syscall>(2) for details regarding "
151 "register mapping."
152 msgstr ""
153
154 #. type: SH
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 #, no-wrap
158 msgid "STANDARDS"
159 msgstr "표준"
160
161 #. type: Plain text
162 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
163 #: opensuse-tumbleweed
164 msgid "POSIX.1-2024."
165 msgstr "POSIX.1-2024."
166
167 #. type: SH
168 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
169 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
170 #, no-wrap
171 msgid "HISTORY"
172 msgstr "이력"
173
174 #. type: Plain text
175 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
176 #: opensuse-tumbleweed
177 msgid "4.3BSD, SVr4, POSIX.1-1988."
178 msgstr "4.3BSD, SVr4, POSIX.1-1988."
179
180 #. type: SS
181 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
182 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
183 #, no-wrap
184 msgid "C library/kernel differences"
185 msgstr ""
186
187 #
188 #
189 #
190 #
191 #. The following program demonstrates this "feature":
192 #. #define _GNU_SOURCE
193 #. #include <sys/syscall.h>
194 #. #include <sys/wait.h>
195 #. #include <stdint.h>
196 #. #include <stdio.h>
197 #. #include <stdlib.h>
198 #. #include <unistd.h>
199 #. int
200 #. main(int argc, char *argv[])
201 #. {
202 #. /* The following statement fills the getpid() cache */
203 #. printf("parent PID = %ld
204 #. ", (intmax_t) getpid());
205 #. if (syscall(SYS_fork) == 0) {
206 #. if (getpid() != syscall(SYS_getpid))
207 #. printf("child getpid() mismatch: getpid()=%jd; "
208 #. "syscall(SYS_getpid)=%ld
209 #. ",
210 #. (intmax_t) getpid(), (long) syscall(SYS_getpid));
211 #. exit(EXIT_SUCCESS);
212 #. }
213 #. wait(NULL);
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 "From glibc 2.3.4 up to and including glibc 2.24, the glibc wrapper function "
220 "for B<getpid>() cached PIDs, with the goal of avoiding additional system "
221 "calls when a process calls B<getpid>() repeatedly. Normally this caching "
222 "was invisible, but its correct operation relied on support in the wrapper "
223 "functions for B<fork>(2), B<vfork>(2), and B<clone>(2): if an application "
224 "bypassed the glibc wrappers for these system calls by using B<syscall>(2), "
225 "then a call to B<getpid>() in the child would return the wrong value (to be "
226 "precise: it would return the PID of the parent process). In addition, there "
227 "were cases where B<getpid>() could return the wrong value even when "
228 "invoking B<clone>(2) via the glibc wrapper function. (For a discussion of "
229 "one such case, see BUGS in B<clone>(2).) Furthermore, the complexity of the "
230 "caching code had been the source of a few bugs within glibc over the years."
231 msgstr ""
232
233 #. commit c579f48edba88380635ab98cb612030e3ed8691e
234 #. https://sourceware.org/glibc/wiki/Release/2.25#pid_cache_removal
235 #. FIXME .
236 #. Review progress of https://bugzilla.redhat.com/show_bug.cgi?id=1469757
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid ""
241 "Because of the aforementioned problems, since glibc 2.25, the PID cache is "
242 "removed: calls to B<getpid>() always invoke the actual system call, rather "
243 "than returning a cached value."
244 msgstr ""
245
246 #. type: SH
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 #, no-wrap
250 msgid "NOTES"
251 msgstr "주의"
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 ""
257 "If the caller's parent is in a different PID namespace (see "
258 "B<pid_namespaces>(7)), B<getppid>() returns 0."
259 msgstr ""
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "From a kernel perspective, the PID (which is shared by all of the threads in "
266 "a multithreaded process) is sometimes also known as the thread group ID "
267 "(TGID). This contrasts with the kernel thread ID (TID), which is unique for "
268 "each thread. For further details, see B<gettid>(2) and the discussion of "
269 "the B<CLONE_THREAD> flag in B<clone>(2)."
270 msgstr ""
271
272 #. type: SH
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 #, no-wrap
276 msgid "SEE ALSO"
277 msgstr "추가 참조"
278
279 #. type: Plain text
280 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
281 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
282 msgid ""
283 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
284 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
285 "B<credentials>(7), B<pid_namespaces>(7)"
286 msgstr ""
287 "B<clone>(2), B<fork>(2), B<gettid>(2), B<kill>(2), B<exec>(3), "
288 "B<mkstemp>(3), B<tempnam>(3), B<tmpfile>(3), B<tmpnam>(3), "
289 "B<credentials>(7), B<pid_namespaces>(7)"
290
291 #. type: TH
292 #: debian-trixie
293 #, no-wrap
294 msgid "2024-05-02"
295 msgstr "2024년 5월 2일"
296
297 #. type: TH
298 #: debian-trixie
299 #, no-wrap
300 msgid "Linux man-pages 6.9.1"
301 msgstr "Linux man-pages 6.9.1"
302
303 #. type: Plain text
304 #: debian-trixie
305 msgid "Standard C library (I<libc>, I<-lc>)"
306 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
307
308 #. type: Plain text
309 #: debian-trixie fedora-44 fedora-rawhide
310 msgid "POSIX.1-2008."
311 msgstr "POSIX.1-2008."
312
313 #. type: Plain text
314 #: debian-trixie fedora-44 fedora-rawhide
315 msgid "POSIX.1-2001, 4.3BSD, SVr4."
316 msgstr "POSIX.1-2001, 4.3BSD, SVr4."
317
318 #. type: TH
319 #: fedora-44 fedora-rawhide
320 #, no-wrap
321 msgid "2024-07-23"
322 msgstr "2024년 7월 23일"
323
324 #. type: TH
325 #: fedora-44 fedora-rawhide
326 #, no-wrap
327 msgid "Linux man-pages 6.13"
328 msgstr "Linux man-pages 6.13"
329
330 #. type: TH
331 #: mageia-cauldron
332 #, no-wrap
333 msgid "Linux man-pages 6.17"
334 msgstr "Linux man-pages 6.17"
335
336 #. type: TH
337 #: opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid "Linux man-pages (unreleased)"
340 msgstr "Linux man-pages (미공개)"