Debian Codegraph @

po/ko/man2/wait.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:50+0200\n"
10 "PO-Revision-Date: 2005-02-11 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 "wait"
24 msgstr "wait"
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 #, fuzzy
50 #| msgid "wait, waitpid - wait for process termination"
51 msgid "wait, waitpid, waitid - wait for process to change state"
52 msgstr "wait, waitpid - 프로세스 종료를 기다린다."
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "라이브러리"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "표준 C 라이브러리 (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "요약"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>sys/wait.hE<gt>>\n"
79 msgstr "B<#include E<lt>sys/wait.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
83 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<pid_t wait(int *_Nullable >I<wstatus>B<);>\n"
87 "B<pid_t waitpid(pid_t >I<pid>B<, int *_Nullable >I<wstatus>B<, int >I<options>B<);>\n"
88 msgstr ""
89 "B<pid_t wait(int *_Nullable >I<wstatus>B<);>\n"
90 "B<pid_t waitpid(pid_t >I<pid>B<, int *_Nullable >I<wstatus>B<, int >I<options>B<);>\n"
91
92 #. type: Plain text
93 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
94 #: opensuse-tumbleweed
95 #, no-wrap
96 msgid ""
97 "B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n"
98 " /* This is the glibc and POSIX interface; see\n"
99 " VERSIONS for information on the raw system call. */\n"
100 msgstr ""
101
102 #. type: Plain text
103 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
104 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
105 msgid ""
106 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
107 msgstr "c"
108
109 #. type: Plain text
110 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
111 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
112 msgid "B<waitid>():"
113 msgstr "B<waitid>():"
114
115 #. (_XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED)
116 #. type: Plain text
117 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
118 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
119 #, no-wrap
120 msgid ""
121 " Since glibc 2.26:\n"
122 " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200809L\n"
123 " glibc 2.25 and earlier:\n"
124 " _XOPEN_SOURCE\n"
125 " || /* Since glibc 2.12: */ _POSIX_C_SOURCE E<gt>= 200809L\n"
126 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n"
127 msgstr ""
128
129 #. type: SH
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 #, no-wrap
133 msgid "DESCRIPTION"
134 msgstr "설명"
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "All of these system calls are used to wait for state changes in a child of "
141 "the calling process, and obtain information about the child whose state has "
142 "changed. A state change is considered to be: the child terminated; the "
143 "child was stopped by a signal; or the child was resumed by a signal. In the "
144 "case of a terminated child, performing a wait allows the system to release "
145 "the resources associated with the child; if a wait is not performed, then "
146 "the terminated child remains in a \"zombie\" state (see NOTES below)."
147 msgstr ""
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 "If a child has already changed state, then these calls return immediately. "
154 "Otherwise, they block until either a child changes state or a signal handler "
155 "interrupts the call (assuming that system calls are not automatically "
156 "restarted using the B<SA_RESTART> flag of B<sigaction>(2)). In the "
157 "remainder of this page, a child whose state has changed and which has not "
158 "yet been waited upon by one of these system calls is termed I<waitable>."
159 msgstr ""
160
161 #. type: SS
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "wait() and waitpid()"
166 msgstr ""
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "The B<wait>() system call suspends execution of the calling thread until "
173 "one of its children terminates. The call I<wait(&wstatus)> is equivalent to:"
174 msgstr ""
175
176 #. type: Plain text
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "waitpid(-1, &wstatus, 0);\n"
181 msgstr "waitpid(-1, &wstatus, 0);\n"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "The B<waitpid>() system call suspends execution of the calling thread until "
188 "a child specified by I<pid> argument has changed state. By default, "
189 "B<waitpid>() waits only for terminated children, but this behavior is "
190 "modifiable via the I<options> argument, as described below."
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, fuzzy
197 #| msgid "The value of I<pid> can be one of:"
198 msgid "The value of I<pid> can be:"
199 msgstr "I<pid> 값은 다음 중 하나이다:"
200
201 #. type: TP
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 #, no-wrap
205 msgid "E<lt> B<-1>"
206 msgstr "E<lt> B<-1>"
207
208 #. type: Plain text
209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
211 #, fuzzy
212 #| msgid ""
213 #| "which means to wait for any child process whose process group ID is equal "
214 #| "to the absolute value of I<pid>."
215 msgid ""
216 "meaning wait for any child process whose process group ID is equal to the "
217 "absolute value of I<pid>."
218 msgstr ""
219 "이것은 프로세세 그룹 ID가 I<pid>의 절대 값과 같은 어떤 자식 프로세스를 기다리"
220 "라는 의미이다."
221
222 #. type: TP
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
225 #, no-wrap
226 msgid "B<-1>"
227 msgstr "B<-1>"
228
229 #. type: Plain text
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 msgid "meaning wait for any child process."
233 msgstr ""
234
235 #. type: TP
236 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
237 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
238 #, no-wrap
239 msgid "B<0>"
240 msgstr "B<0>"
241
242 #. type: Plain text
243 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
244 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
245 #, fuzzy
246 #| msgid ""
247 #| "which means to wait for any child process whose process group ID is equal "
248 #| "to that of the calling process."
249 msgid ""
250 "meaning wait for any child process whose process group ID is equal to that "
251 "of the calling process at the time of the call to B<waitpid>()."
252 msgstr ""
253 "이것은 프로세스 그룹 ID가 호출 프로세스의 ID와 같은 어떤 자식 프로세스를 기다"
254 "리라는 의미이다."
255
256 #. type: TP
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 #, no-wrap
260 msgid "E<gt> B<0>"
261 msgstr "E<gt> B<0>"
262
263 #. type: Plain text
264 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
265 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
266 #, fuzzy
267 #| msgid ""
268 #| "which means to wait for the child whose process ID is equal to the value "
269 #| "of I<pid>."
270 msgid ""
271 "meaning wait for the child whose process ID is equal to the value of I<pid>."
272 msgstr "이것은 프로세스 ID가 I<pid>의 값과 같은 자식을 기다리라는 의미이다."
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "The value of I<options> is an OR of zero or more of the following constants:"
279 msgstr "I<options> 의 값은 0 이거나 다음 상수의 어떤것과 OR 이다."
280
281 #. type: TP
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "B<WNOHANG>"
286 msgstr "B<WNOHANG>"
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 #, fuzzy
292 #| msgid "which means to return immediately if no child has exited."
293 msgid "return immediately if no child has exited."
294 msgstr "이것은 어떤 자식도 종료되지 않았다면 즉시 리턴하라는 의미이다."
295
296 #. type: TP
297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
298 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
299 #, no-wrap
300 msgid "B<WUNTRACED>"
301 msgstr "B<WUNTRACED>"
302
303 #. type: Plain text
304 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
305 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
306 msgid ""
307 "also return if a child has stopped (but not traced via B<ptrace>(2)). "
308 "Status for I<traced> children which have stopped is provided even if this "
309 "option is not specified."
310 msgstr ""
311
312 #. type: TP
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "B<WCONTINUED> (since Linux 2.6.10)"
317 msgstr ""
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 msgid ""
323 "also return if a stopped child has been resumed by delivery of B<SIGCONT>."
324 msgstr ""
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid "(For Linux-only options, see below.)"
330 msgstr ""
331
332 #. type: Plain text
333 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
334 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
335 msgid ""
336 "If I<wstatus> is not NULL, B<wait>() and B<waitpid>() store status "
337 "information in the I<int> to which it points. This integer can be inspected "
338 "with the following macros (which take the integer itself as an argument, not "
339 "a pointer to it, as is done in B<wait>() and B<waitpid>()!):"
340 msgstr ""
341
342 #. type: TP
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "B<WIFEXITED(>I<wstatus>B<)>"
347 msgstr "B<WIFEXITED(>I<wstatus>B<)>"
348
349 #. type: Plain text
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 msgid ""
353 "returns true if the child terminated normally, that is, by calling "
354 "B<exit>(3) or B<_exit>(2), or by returning from main()."
355 msgstr ""
356
357 #. type: TP
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "B<WEXITSTATUS(>I<wstatus>B<)>"
362 msgstr "B<WEXITSTATUS(>I<wstatus>B<)>"
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 #| "evaluates to the least significant eight bits of the return code of the "
370 #| "child which terminated, which may have been set as the argument to a call "
371 #| "to B<exit()> or as the argument for a B<return> statement in the main "
372 #| "program. This macro can only be evaluated if B<WIFEXITED> returned non-"
373 #| "zero."
374 msgid ""
375 "returns the exit status of the child. This consists of the least "
376 "significant 8 bits of the I<status> argument that the child specified in a "
377 "call to B<exit>(3) or B<_exit>(2) or as the argument for a return "
378 "statement in main(). This macro should be employed only if B<WIFEXITED> "
379 "returned true."
380 msgstr ""
381 "B<exit()> 를 호출하기 위한 인자나 주 프로그램에서 B<return> 문장을 위한 인자"
382 "로써 설정되고 종료된 자식의 반환 코드의 최하위 8비트를 평가한다. 이 매크로"
383 "는 B<WIFEXITED> 가 non-zero 를 반환할 때만 평가된다."
384
385 #. type: TP
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "B<WIFSIGNALED(>I<wstatus>B<)>"
390 msgstr "B<WIFSIGNALED(>I<wstatus>B<)>"
391
392 #. type: Plain text
393 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
394 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
395 #, fuzzy
396 #| msgid ""
397 #| "returns true if the child process exited because of a signal which was "
398 #| "not caught."
399 msgid "returns true if the child process was terminated by a signal."
400 msgstr ""
401 "만일 자식 프로세스가 잡혀지지 않은 신호때문에 종료되었다면 참을 반환한다."
402
403 #. type: TP
404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
405 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
406 #, no-wrap
407 msgid "B<WTERMSIG(>I<wstatus>B<)>"
408 msgstr "B<WTERMSIG(>I<wstatus>B<)>"
409
410 #. type: Plain text
411 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
412 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
413 #, fuzzy
414 #| msgid ""
415 #| "returns the number of the signal that caused the child process to "
416 #| "terminate. This macro can only be evaluated if B<WIFSIGNALED> returned "
417 #| "non-zero."
418 msgid ""
419 "returns the number of the signal that caused the child process to "
420 "terminate. This macro should be employed only if B<WIFSIGNALED> returned "
421 "true."
422 msgstr ""
423 "자식 프로세스를 종료하도록 야기한 신호의 숫자를 반환한다. 이 매크로는 만일 "
424 "B<WIFSIGNALED> 가 non-zero 를 반환할 경우만 평가된다."
425
426 #. type: TP
427 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
428 #: opensuse-tumbleweed
429 #, fuzzy, no-wrap
430 #| msgid "B<WCOREDUMP(>I<wstatus>B<)>"
431 msgid "B<WCOREDUMP(>I<wstatus>B<)>I< >\\f[R]// POSIX.1-2024\\fR"
432 msgstr "B<WCOREDUMP(>I<wstatus>B<)>"
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, fuzzy
438 #| msgid ""
439 #| "returns the number of the signal that caused the child process to "
440 #| "terminate. This macro can only be evaluated if B<WIFSIGNALED> returned "
441 #| "non-zero."
442 msgid ""
443 "returns true if the child produced a core dump (see B<core>(5)). This macro "
444 "should be employed only if B<WIFSIGNALED> returned true."
445 msgstr ""
446 "자식 프로세스를 종료하도록 야기한 신호의 숫자를 반환한다. 이 매크로는 만일 "
447 "B<WIFSIGNALED> 가 non-zero 를 반환할 경우만 평가된다."
448
449 #. type: TP
450 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
451 #: opensuse-tumbleweed
452 #, fuzzy, no-wrap
453 #| msgid "B<WIFSTOPPED(>I<wstatus>B<)>"
454 msgid "B<WIFSTOPPED(>I<wstatus>B<)>I< >\\f[R]// POSIX.1-2024\\fR"
455 msgstr "B<WIFSTOPPED(>I<wstatus>B<)>"
456
457 #. type: Plain text
458 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
459 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
460 #, fuzzy
461 #| msgid ""
462 #| "returns true if the child process which caused the return is currently "
463 #| "stopped; this is only possible if the call was done using B<WUNTRACED>."
464 msgid ""
465 "returns true if the child process was stopped by delivery of a signal; this "
466 "is possible only if the call was done using B<WUNTRACED> or when the child "
467 "is being traced (see B<ptrace>(2))."
468 msgstr ""
469 "반환의 원인이 된 자식 프로세스가 현재 정지되어 있다면 참을 반환한다.; 이것은 "
470 "이 함수가 B<WUNTRACED>를 사용했을 때만 가능하다."
471
472 #. type: TP
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 #, no-wrap
476 msgid "B<WSTOPSIG(>I<wstatus>B<)>"
477 msgstr "B<WSTOPSIG(>I<wstatus>B<)>"
478
479 #. type: Plain text
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, fuzzy
483 #| msgid ""
484 #| "returns the number of the signal which caused the child to stop. This "
485 #| "macro can only be evaluated if B<WIFSTOPPED> returned non-zero."
486 msgid ""
487 "returns the number of the signal which caused the child to stop. This macro "
488 "should be employed only if B<WIFSTOPPED> returned true."
489 msgstr ""
490 "자식을 정지하도록 야기한 신호의 숫자를 반환한다. 이 매크로는 B<WIFSTOPPED> "
491 "가 non-zero 를 반환할 경우만 평가된다."
492
493 #. type: TP
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "B<WIFCONTINUED(>I<wstatus>B<)>"
498 msgstr "B<WIFCONTINUED(>I<wstatus>B<)>"
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid ""
504 "(since Linux 2.6.10) returns true if the child process was resumed by "
505 "delivery of B<SIGCONT>."
506 msgstr ""
507
508 #. type: SS
509 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
510 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
511 #, no-wrap
512 msgid "waitid()"
513 msgstr "waitid()"
514
515 #. type: Plain text
516 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
517 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
518 msgid ""
519 "The B<waitid>() system call (available since Linux 2.6.9) provides more "
520 "precise control over which child state changes to wait for."
521 msgstr ""
522
523 #. type: Plain text
524 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
525 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
526 msgid ""
527 "The I<idtype> and I<id> arguments select the child(ren) to wait for, as "
528 "follows:"
529 msgstr ""
530
531 #. type: TP
532 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
533 #: opensuse-tumbleweed
534 #, fuzzy, no-wrap
535 #| msgid "I<idtype> == B<P_PID>"
536 msgid "I<idtype> == \\f[B]P_PID\\fR"
537 msgstr "I<idtype> == B<P_PID>"
538
539 #. type: Plain text
540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
541 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
542 #, fuzzy
543 #| msgid ""
544 #| "which means to wait for the child whose process ID is equal to the value "
545 #| "of I<pid>."
546 msgid "Wait for the child whose process ID matches I<id>."
547 msgstr "이것은 프로세스 ID가 I<pid>의 값과 같은 자식을 기다리라는 의미이다."
548
549 #. type: TP
550 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
551 #: opensuse-tumbleweed
552 #, no-wrap
553 msgid "I<idtype> == \\f[B]P_PIDFD\\fR (since Linux 5.4)"
554 msgstr ""
555
556 #. commit 3695eae5fee0605f316fbaad0b9e3de791d7dfaf
557 #. type: Plain text
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 msgid ""
561 "Wait for the child referred to by the PID file descriptor specified in "
562 "I<id>. (See B<pidfd_open>(2) for further information on PID file "
563 "descriptors.)"
564 msgstr ""
565
566 #. type: TP
567 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
568 #: opensuse-tumbleweed
569 #, fuzzy, no-wrap
570 #| msgid "I<idtype> == B<P_PGID>"
571 msgid "I<idtype> == \\f[B]P_PGID\\fR"
572 msgstr "I<idtype> == B<P_PGID>"
573
574 #. commit 821cc7b0b205c0df64cce59aacc330af251fa8f7
575 #. type: Plain text
576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
577 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
578 msgid ""
579 "Wait for any child whose process group ID matches I<id>. Since Linux 5.4, "
580 "if I<id> is zero, then wait for any child that is in the same process group "
581 "as the caller's process group at the time of the call."
582 msgstr ""
583
584 #. type: TP
585 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
586 #: opensuse-tumbleweed
587 #, fuzzy, no-wrap
588 #| msgid "I<idtype> == B<P_ALL>"
589 msgid "I<idtype> == \\f[B]P_ALL\\fR"
590 msgstr "I<idtype> == B<P_ALL>"
591
592 #. type: Plain text
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 msgid "Wait for any child; I<id> is ignored."
596 msgstr ""
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 msgid ""
602 "The child state changes to wait for are specified by ORing one or more of "
603 "the following flags in I<options>:"
604 msgstr ""
605
606 #. type: TP
607 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
608 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
609 #, no-wrap
610 msgid "B<WEXITED>"
611 msgstr "B<WEXITED>"
612
613 #. type: Plain text
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 msgid "Wait for children that have terminated."
617 msgstr ""
618
619 #. type: TP
620 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
621 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
622 #, no-wrap
623 msgid "B<WSTOPPED>"
624 msgstr "B<WSTOPPED>"
625
626 #. type: Plain text
627 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
628 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
629 msgid "Wait for children that have been stopped by delivery of a signal."
630 msgstr ""
631
632 #. type: TP
633 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
634 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
635 #, no-wrap
636 msgid "B<WCONTINUED>"
637 msgstr "B<WCONTINUED>"
638
639 #. type: Plain text
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 msgid ""
643 "Wait for (previously stopped) children that have been resumed by delivery of "
644 "B<SIGCONT>."
645 msgstr ""
646
647 #. type: Plain text
648 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
649 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
650 msgid "The following flags may additionally be ORed in I<options>:"
651 msgstr ""
652
653 #. type: Plain text
654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
656 msgid "As for B<waitpid>()."
657 msgstr ""
658
659 #. type: TP
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 #, no-wrap
663 msgid "B<WNOWAIT>"
664 msgstr "B<WNOWAIT>"
665
666 #. type: Plain text
667 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
668 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
669 msgid ""
670 "Leave the child in a waitable state; a later wait call can be used to again "
671 "retrieve the child status information."
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 msgid ""
678 "Upon successful return, B<waitid>() fills in the following fields of the "
679 "I<siginfo_t> structure pointed to by I<infop>:"
680 msgstr ""
681
682 #. type: TP
683 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
684 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
685 #, no-wrap
686 msgid "I<si_pid>"
687 msgstr "I<si_pid>"
688
689 #. type: Plain text
690 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
691 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
692 msgid "The process ID of the child."
693 msgstr ""
694
695 #. type: TP
696 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
697 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
698 #, no-wrap
699 msgid "I<si_uid>"
700 msgstr "I<si_uid>"
701
702 #. type: Plain text
703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
704 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
705 msgid ""
706 "The real user ID of the child. (This field is not set on most other "
707 "implementations.)"
708 msgstr ""
709
710 #. type: TP
711 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
712 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
713 #, no-wrap
714 msgid "I<si_signo>"
715 msgstr "I<si_signo>"
716
717 #. type: Plain text
718 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
719 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
720 msgid "Always set to B<SIGCHLD>."
721 msgstr ""
722
723 #. type: TP
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 #, no-wrap
727 msgid "I<si_status>"
728 msgstr "I<si_status>"
729
730 #. type: Plain text
731 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
732 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
733 msgid ""
734 "Either the exit status of the child, as given to B<_exit>(2) (or "
735 "B<exit>(3)), or the signal that caused the child to terminate, stop, or "
736 "continue. The I<si_code> field can be used to determine how to interpret "
737 "this field."
738 msgstr ""
739
740 #. type: TP
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 #, no-wrap
744 msgid "I<si_code>"
745 msgstr "I<si_code>"
746
747 #. type: Plain text
748 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
749 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
750 msgid ""
751 "Set to one of: B<CLD_EXITED> (child called B<_exit>(2)); B<CLD_KILLED> "
752 "(child killed by signal); B<CLD_DUMPED> (child killed by signal, and dumped "
753 "core); B<CLD_STOPPED> (child stopped by signal); B<CLD_TRAPPED> (traced "
754 "child has trapped); or B<CLD_CONTINUED> (child continued by B<SIGCONT>)."
755 msgstr ""
756
757 #. type: Plain text
758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
759 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
760 msgid ""
761 "If B<WNOHANG> was specified in I<options> and there were no children in a "
762 "waitable state, then B<waitid>() returns 0 immediately and the state of the "
763 "I<siginfo_t> structure pointed to by I<infop> depends on the "
764 "implementation. To (portably) distinguish this case from that where a child "
765 "was in a waitable state, zero out the I<si_pid> field before the call and "
766 "check for a nonzero value in this field after the call returns."
767 msgstr ""
768
769 #. POSIX.1-2001 leaves this possibility unspecified; most
770 #. implementations (including Linux) zero out the structure
771 #. in this case, but at least one implementation (AIX 5.1)
772 #. does not -- MTK Nov 04
773 #. type: Plain text
774 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
775 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
776 msgid ""
777 "POSIX.1-2008 Technical Corrigendum 1 (2013) adds the requirement that when "
778 "B<WNOHANG> is specified in I<options> and there were no children in a "
779 "waitable state, then B<waitid>() should zero out the I<si_pid> and "
780 "I<si_signo> fields of the structure. On Linux and other implementations "
781 "that adhere to this requirement, it is not necessary to zero out the "
782 "I<si_pid> field before calling B<waitid>(). However, not all "
783 "implementations follow the POSIX.1 specification on this point."
784 msgstr ""
785
786 #. type: SH
787 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
788 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
789 #, no-wrap
790 msgid "RETURN VALUE"
791 msgstr "반환값"
792
793 #. type: Plain text
794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
795 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
796 msgid ""
797 "B<wait>(): on success, returns the process ID of the terminated child; on "
798 "failure, -1 is returned."
799 msgstr ""
800
801 #. type: Plain text
802 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
803 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
804 msgid ""
805 "B<waitpid>(): on success, returns the process ID of the child whose state "
806 "has changed; if B<WNOHANG> was specified and one or more child(ren) "
807 "specified by I<pid> exist, but have not yet changed state, then 0 is "
808 "returned. On failure, -1 is returned."
809 msgstr ""
810
811 #. FIXME As reported by Vegard Nossum, if infop is NULL, then waitid()
812 #. returns the PID of the child. Either this is a bug, or it is intended
813 #. behavior that needs to be documented. See my Jan 2009 LKML mail
814 #. "waitid() return value strangeness when infop is NULL".
815 #. type: Plain text
816 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
817 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
818 msgid ""
819 "B<waitid>(): returns 0 on success or if B<WNOHANG> was specified and no "
820 "child(ren) specified by I<id> has yet changed state; on failure, -1 is "
821 "returned."
822 msgstr ""
823
824 #. type: Plain text
825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
826 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
827 msgid "On failure, each of these calls sets I<errno> to indicate the error."
828 msgstr ""
829
830 #. type: SH
831 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
832 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
833 #, no-wrap
834 msgid "ERRORS"
835 msgstr "에러"
836
837 #. type: TP
838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
839 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
840 #, no-wrap
841 msgid "B<EAGAIN>"
842 msgstr "B<EAGAIN>"
843
844 #. type: Plain text
845 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
846 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
847 msgid ""
848 "The PID file descriptor specified in I<id> is nonblocking and the process "
849 "that it refers to has not terminated."
850 msgstr ""
851
852 #. type: TP
853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
854 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
855 #, no-wrap
856 msgid "B<ECHILD>"
857 msgstr "B<ECHILD>"
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
862 msgid ""
863 "(for B<wait>()) The calling process does not have any unwaited-for children."
864 msgstr ""
865
866 #. type: Plain text
867 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
868 #: opensuse-tumbleweed
869 #, fuzzy
870 #| msgid ""
871 #| "if the process specified in I<pid> does not exist or is not a child of "
872 #| "the calling process. (This can happen for one's own child if the action "
873 #| "for SIGCHLD is set to SIG_IGN.)"
874 msgid ""
875 "(for B<waitpid>() or B<waitid>()) The process specified by I<pid> "
876 "(B<waitpid>()) or I<idtype> and I<id> (B<waitid>()) does not exist or is "
877 "not a child of the calling process. (This can happen for one's own child if "
878 "the action for B<SIGCHLD> is set to B<SIG_IGN>. See also the I<Linux\\ "
879 "Notes> section about threads.)"
880 msgstr ""
881 "만일 I<pid> 로 지정된 프로세스가 존재하지 않거나 호출 프로세스의 자식이 아닐 "
882 "경우 이다. (이것은 SIGCHLD 에 대한 행동이 SIG_IGN 으로 설정되었다면 자신의 자"
883 "식을 위해 일어날 수 있다.)"
884
885 #. type: TP
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
888 #, no-wrap
889 msgid "B<EINTR>"
890 msgstr "B<EINTR>"
891
892 #. type: Plain text
893 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
894 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
895 msgid ""
896 "B<WNOHANG> was not set and an unblocked signal or a B<SIGCHLD> was caught; "
897 "see B<signal>(7)."
898 msgstr ""
899
900 #. type: TP
901 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
902 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
903 #, no-wrap
904 msgid "B<EINVAL>"
905 msgstr "B<EINVAL>"
906
907 #. type: Plain text
908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
909 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
910 #, fuzzy
911 #| msgid "if the I<options> argument was invalid."
912 msgid "The I<options> argument was invalid."
913 msgstr "I<options> 인자가 유효하지 않을 경우이다."
914
915 #. type: TP
916 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
917 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
918 #, no-wrap
919 msgid "B<ESRCH>"
920 msgstr "B<ESRCH>"
921
922 #. type: Plain text
923 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
924 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
925 msgid "(for B<wait>() or B<waitpid>()) I<pid> is equal to B<INT_MIN>."
926 msgstr ""
927
928 #. type: SH
929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
930 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
931 #, no-wrap
932 msgid "VERSIONS"
933 msgstr "버전S"
934
935 #. type: SS
936 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
937 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
938 #, no-wrap
939 msgid "C library/kernel differences"
940 msgstr ""
941
942 #. type: Plain text
943 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
944 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
945 msgid ""
946 "B<wait>() is actually a library function that (in glibc) is implemented as "
947 "a call to B<wait4>(2)."
948 msgstr ""
949
950 #. e.g., i386 has the system call, but not x86-64
951 #. type: Plain text
952 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
953 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
954 msgid ""
955 "On some architectures, there is no B<waitpid>() system call; instead, this "
956 "interface is implemented via a C library wrapper function that calls "
957 "B<wait4>(2)."
958 msgstr ""
959
960 #. type: Plain text
961 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
962 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
963 msgid ""
964 "The raw B<waitid>() system call takes a fifth argument, of type I<struct "
965 "rusage\\ *>. If this argument is non-NULL, then it is used to return "
966 "resource usage information about the child, in the same manner as "
967 "B<wait4>(2). See B<getrusage>(2) for details."
968 msgstr ""
969
970 #. type: SH
971 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
972 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
973 #, no-wrap
974 msgid "STANDARDS"
975 msgstr "표준"
976
977 #. type: Plain text
978 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
979 #: opensuse-tumbleweed
980 msgid "POSIX.1-2024."
981 msgstr "POSIX.1-2024."
982
983 #. type: SH
984 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
985 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
986 #, no-wrap
987 msgid "HISTORY"
988 msgstr "이력"
989
990 #. type: Plain text
991 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
992 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
993 msgid "SVr4, 4.3BSD, POSIX.1-2001."
994 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
995
996 #. type: SH
997 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
998 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
999 #, no-wrap
1000 msgid "NOTES"
1001 msgstr "주의"
1002
1003 #. type: Plain text
1004 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1005 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1006 msgid ""
1007 "A child that terminates, but has not been waited for becomes a \"zombie\". "
1008 "The kernel maintains a minimal set of information about the zombie process "
1009 "(PID, termination status, resource usage information) in order to allow the "
1010 "parent to later perform a wait to obtain information about the child. As "
1011 "long as a zombie is not removed from the system via a wait, it will consume "
1012 "a slot in the kernel process table, and if this table fills, it will not be "
1013 "possible to create further processes. If a parent process terminates, then "
1014 "its \"zombie\" children (if any) are adopted by B<init>(1), (or by the "
1015 "nearest \"subreaper\" process as defined through the use of the B<prctl>(2) "
1016 "B<PR_SET_CHILD_SUBREAPER> operation); B<init>(1) automatically performs a "
1017 "wait to remove the zombies."
1018 msgstr ""
1019
1020 #. type: Plain text
1021 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1022 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1023 msgid ""
1024 "POSIX.1-2001 specifies that if the disposition of B<SIGCHLD> is set to "
1025 "B<SIG_IGN> or the B<SA_NOCLDWAIT> flag is set for B<SIGCHLD> (see "
1026 "B<sigaction>(2)), then children that terminate do not become zombies and a "
1027 "call to B<wait>() or B<waitpid>() will block until all children have "
1028 "terminated, and then fail with I<errno> set to B<ECHILD>. (The original "
1029 "POSIX standard left the behavior of setting B<SIGCHLD> to B<SIG_IGN> "
1030 "unspecified. Note that even though the default disposition of B<SIGCHLD> is "
1031 "\"ignore\", explicitly setting the disposition to B<SIG_IGN> results in "
1032 "different treatment of zombie process children.)"
1033 msgstr ""
1034
1035 #. type: Plain text
1036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1037 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1038 msgid ""
1039 "Linux 2.6 conforms to the POSIX requirements. However, Linux 2.4 (and "
1040 "earlier) does not: if a B<wait>() or B<waitpid>() call is made while "
1041 "B<SIGCHLD> is being ignored, the call behaves just as though B<SIGCHLD> were "
1042 "not being ignored, that is, the call blocks until the next child terminates "
1043 "and then returns the process ID and status of that child."
1044 msgstr ""
1045
1046 #. type: SS
1047 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1048 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1049 #, fuzzy, no-wrap
1050 #| msgid "Linux"
1051 msgid "Linux notes"
1052 msgstr "리눅스"
1053
1054 #. type: Plain text
1055 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1056 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1057 msgid ""
1058 "In the Linux kernel, a kernel-scheduled thread is not a distinct construct "
1059 "from a process. Instead, a thread is simply a process that is created using "
1060 "the Linux-unique B<clone>(2) system call; other routines such as the "
1061 "portable B<pthread_create>(3) call are implemented using B<clone>(2). "
1062 "Before Linux 2.4, a thread was just a special case of a process, and as a "
1063 "consequence one thread could not wait on the children of another thread, "
1064 "even when the latter belongs to the same thread group. However, POSIX "
1065 "prescribes such functionality, and since Linux 2.4 a thread can, and by "
1066 "default will, wait on children of other threads in the same thread group."
1067 msgstr ""
1068
1069 #. commit 91c4e8ea8f05916df0c8a6f383508ac7c9e10dba
1070 #. type: Plain text
1071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1072 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1073 msgid ""
1074 "The following Linux-specific I<options> are for use with children created "
1075 "using B<clone>(2); they can also, since Linux 4.7, be used with B<waitid>():"
1076 msgstr ""
1077
1078 #. type: TP
1079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1080 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1081 #, no-wrap
1082 msgid "B<__WCLONE>"
1083 msgstr "B<__WCLONE>"
1084
1085 #. since 0.99pl10
1086 #. type: Plain text
1087 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1088 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1089 msgid ""
1090 "Wait for \"clone\" children only. If omitted, then wait for \"non-clone\" "
1091 "children only. (A \"clone\" child is one which delivers no signal, or a "
1092 "signal other than B<SIGCHLD> to its parent upon termination.) This option "
1093 "is ignored if B<__WALL> is also specified."
1094 msgstr ""
1095
1096 #. type: TP
1097 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1098 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1099 #, no-wrap
1100 msgid "B<__WALL> (since Linux 2.4)"
1101 msgstr ""
1102
1103 #. since patch-2.3.48
1104 #. type: Plain text
1105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1107 msgid "Wait for all children, regardless of type (\"clone\" or \"non-clone\")."
1108 msgstr ""
1109
1110 #. type: TP
1111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1113 #, no-wrap
1114 msgid "B<__WNOTHREAD> (since Linux 2.4)"
1115 msgstr ""
1116
1117 #. since patch-2.4.0-test8
1118 #. type: Plain text
1119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1121 msgid ""
1122 "Do not wait for children of other threads in the same thread group. This "
1123 "was the default before Linux 2.4."
1124 msgstr ""
1125
1126 #. commit bf959931ddb88c4e4366e96dd22e68fa0db9527c
1127 #. prevents cases where an unreapable zombie is created if
1128 #. /sbin/init doesn't use __WALL.
1129 #. type: Plain text
1130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1132 msgid ""
1133 "Since Linux 4.7, the B<__WALL> flag is automatically implied if the child is "
1134 "being ptraced."
1135 msgstr ""
1136
1137 #. type: SH
1138 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1139 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1140 #, no-wrap
1141 msgid "BUGS"
1142 msgstr "버그"
1143
1144 #. type: Plain text
1145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1146 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1147 msgid ""
1148 "According to POSIX.1-2008, an application calling B<waitid>() must ensure "
1149 "that I<infop> points to a I<siginfo_t> structure (i.e., that it is a non-"
1150 "null pointer). On Linux, if I<infop> is NULL, B<waitid>() succeeds, and "
1151 "returns the process ID of the waited-for child. Applications should avoid "
1152 "relying on this inconsistent, nonstandard, and unnecessary feature."
1153 msgstr ""
1154
1155 #. type: SH
1156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1158 #, no-wrap
1159 msgid "EXAMPLES"
1160 msgstr "폐제"
1161
1162 #. fork.2 refers to this example program.
1163 #. type: Plain text
1164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1166 msgid ""
1167 "The following program demonstrates the use of B<fork>(2) and B<waitpid>(). "
1168 "The program creates a child process. If no command-line argument is "
1169 "supplied to the program, then the child suspends its execution using "
1170 "B<pause>(2), to allow the user to send signals to the child. Otherwise, if "
1171 "a command-line argument is supplied, then the child exits immediately, using "
1172 "the integer supplied on the command line as the exit status. The parent "
1173 "process executes a loop that monitors the child using B<waitpid>(), and uses "
1174 "the W*() macros described above to analyze the wait status value."
1175 msgstr ""
1176
1177 #. type: Plain text
1178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1180 msgid "The following shell session demonstrates the use of the program:"
1181 msgstr ""
1182
1183 #. type: Plain text
1184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1186 #, no-wrap
1187 msgid ""
1188 "$B< ./a.out &>\n"
1189 "Child PID is 32360\n"
1190 "[1] 32359\n"
1191 "$B< kill -STOP 32360>\n"
1192 "stopped by signal 19\n"
1193 "$B< kill -CONT 32360>\n"
1194 "continued\n"
1195 "$B< kill -TERM 32360>\n"
1196 "killed by signal 15\n"
1197 "[1]+ Done ./a.out\n"
1198 "$\n"
1199 msgstr ""
1200
1201 #. type: SS
1202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1204 #, no-wrap
1205 msgid "Program source"
1206 msgstr ""
1207
1208 #. type: Plain text
1209 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1210 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1211 #, no-wrap
1212 msgid ""
1213 "#include E<lt>stdint.hE<gt>\n"
1214 "#include E<lt>stdio.hE<gt>\n"
1215 "#include E<lt>stdlib.hE<gt>\n"
1216 "#include E<lt>sys/types.hE<gt>\n"
1217 "#include E<lt>sys/wait.hE<gt>\n"
1218 "#include E<lt>unistd.hE<gt>\n"
1219 "\\&\n"
1220 "int\n"
1221 "main(int argc, char *argv[])\n"
1222 "{\n"
1223 " int wstatus;\n"
1224 " pid_t cpid, w;\n"
1225 "\\&\n"
1226 " cpid = fork();\n"
1227 " if (cpid == -1) {\n"
1228 " perror(\"fork\");\n"
1229 " exit(EXIT_FAILURE);\n"
1230 " }\n"
1231 "\\&\n"
1232 " if (cpid == 0) { /* Code executed by child */\n"
1233 " printf(\"Child PID is %jd\\[rs]n\", (intmax_t) getpid());\n"
1234 " if (argc == 1)\n"
1235 " pause(); /* Wait for signals */\n"
1236 " _exit(atoi(argv[1]));\n"
1237 "\\&\n"
1238 " } else { /* Code executed by parent */\n"
1239 " do {\n"
1240 " w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED);\n"
1241 " if (w == -1) {\n"
1242 " perror(\"waitpid\");\n"
1243 " exit(EXIT_FAILURE);\n"
1244 " }\n"
1245 "\\&\n"
1246 " if (WIFEXITED(wstatus)) {\n"
1247 " printf(\"exited, status=%d\\[rs]n\", WEXITSTATUS(wstatus));\n"
1248 " } else if (WIFSIGNALED(wstatus)) {\n"
1249 " printf(\"killed by signal %d\\[rs]n\", WTERMSIG(wstatus));\n"
1250 " } else if (WIFSTOPPED(wstatus)) {\n"
1251 " printf(\"stopped by signal %d\\[rs]n\", WSTOPSIG(wstatus));\n"
1252 " } else if (WIFCONTINUED(wstatus)) {\n"
1253 " printf(\"continued\\[rs]n\");\n"
1254 " }\n"
1255 " } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus));\n"
1256 " exit(EXIT_SUCCESS);\n"
1257 " }\n"
1258 "}\n"
1259 msgstr ""
1260
1261 #. SRC END
1262 #. type: SH
1263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1265 #, no-wrap
1266 msgid "SEE ALSO"
1267 msgstr "추가 참조"
1268
1269 #. type: Plain text
1270 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1271 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1272 msgid ""
1273 "B<_exit>(2), B<clone>(2), B<fork>(2), B<kill>(2), B<ptrace>(2), "
1274 "B<sigaction>(2), B<signal>(2), B<wait4>(2), B<pthread_create>(3), "
1275 "B<core>(5), B<credentials>(7), B<signal>(7)"
1276 msgstr ""
1277 "B<_exit>(2), B<clone>(2), B<fork>(2), B<kill>(2), B<ptrace>(2), "
1278 "B<sigaction>(2), B<signal>(2), B<wait4>(2), B<pthread_create>(3), "
1279 "B<core>(5), B<credentials>(7), B<signal>(7)"
1280
1281 #. type: TH
1282 #: debian-trixie
1283 #, no-wrap
1284 msgid "2024-06-15"
1285 msgstr "2024년 6월 15일"
1286
1287 #. type: TH
1288 #: debian-trixie
1289 #, no-wrap
1290 msgid "Linux man-pages 6.9.1"
1291 msgstr "Linux man-pages 6.9.1"
1292
1293 #. type: Plain text
1294 #: debian-trixie
1295 msgid "Standard C library (I<libc>, I<-lc>)"
1296 msgstr "표준 C 라이브러리 (I<libc>, I<-lc>)"
1297
1298 #. type: Plain text
1299 #: debian-trixie
1300 #, no-wrap
1301 msgid ""
1302 "B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n"
1303 " /* This is the glibc and POSIX interface; see\n"
1304 " NOTES for information on the raw system call. */\n"
1305 msgstr ""
1306
1307 #. type: TP
1308 #: debian-trixie fedora-44 fedora-rawhide
1309 #, no-wrap
1310 msgid "B<WCOREDUMP(>I<wstatus>B<)>"
1311 msgstr "B<WCOREDUMP(>I<wstatus>B<)>"
1312
1313 #. type: Plain text
1314 #: debian-trixie fedora-44 fedora-rawhide
1315 msgid ""
1316 "This macro is not specified in POSIX.1-2001 and is not available on some "
1317 "UNIX implementations (e.g., AIX, SunOS). Therefore, enclose its use inside "
1318 "I<#ifdef WCOREDUMP ... #endif>."
1319 msgstr ""
1320
1321 #. type: TP
1322 #: debian-trixie fedora-44 fedora-rawhide
1323 #, no-wrap
1324 msgid "B<WIFSTOPPED(>I<wstatus>B<)>"
1325 msgstr "B<WIFSTOPPED(>I<wstatus>B<)>"
1326
1327 #. type: TP
1328 #: debian-trixie fedora-44 fedora-rawhide
1329 #, no-wrap
1330 msgid "I<idtype> == B<P_PID>"
1331 msgstr "I<idtype> == B<P_PID>"
1332
1333 #. type: TP
1334 #: debian-trixie fedora-44 fedora-rawhide
1335 #, no-wrap
1336 msgid "I<idtype> == B<P_PIDFD> (since Linux 5.4)"
1337 msgstr ""
1338
1339 #. type: TP
1340 #: debian-trixie fedora-44 fedora-rawhide
1341 #, no-wrap
1342 msgid "I<idtype> == B<P_PGID>"
1343 msgstr "I<idtype> == B<P_PGID>"
1344
1345 #. type: TP
1346 #: debian-trixie fedora-44 fedora-rawhide
1347 #, no-wrap
1348 msgid "I<idtype> == B<P_ALL>"
1349 msgstr "I<idtype> == B<P_ALL>"
1350
1351 #. type: Plain text
1352 #: debian-trixie fedora-44 fedora-rawhide
1353 #, fuzzy
1354 #| msgid ""
1355 #| "if the process specified in I<pid> does not exist or is not a child of "
1356 #| "the calling process. (This can happen for one's own child if the action "
1357 #| "for SIGCHLD is set to SIG_IGN.)"
1358 msgid ""
1359 "(for B<waitpid>() or B<waitid>()) The process specified by I<pid> "
1360 "(B<waitpid>()) or I<idtype> and I<id> (B<waitid>()) does not exist or is "
1361 "not a child of the calling process. (This can happen for one's own child if "
1362 "the action for B<SIGCHLD> is set to B<SIG_IGN>. See also the I<Linux Notes> "
1363 "section about threads.)"
1364 msgstr ""
1365 "만일 I<pid> 로 지정된 프로세스가 존재하지 않거나 호출 프로세스의 자식이 아닐 "
1366 "경우 이다. (이것은 SIGCHLD 에 대한 행동이 SIG_IGN 으로 설정되었다면 자신의 자"
1367 "식을 위해 일어날 수 있다.)"
1368
1369 #. type: Plain text
1370 #: debian-trixie fedora-44 fedora-rawhide
1371 msgid "POSIX.1-2008."
1372 msgstr "POSIX.1-2008."
1373
1374 #. type: TH
1375 #: fedora-44 fedora-rawhide
1376 #, no-wrap
1377 msgid "2024-07-23"
1378 msgstr "2024년 7월 23일"
1379
1380 #. type: TH
1381 #: fedora-44 fedora-rawhide
1382 #, no-wrap
1383 msgid "Linux man-pages 6.13"
1384 msgstr "Linux man-pages 6.13"
1385
1386 #. type: Plain text
1387 #: fedora-44 fedora-rawhide
1388 #, no-wrap
1389 msgid ""
1390 "B<int waitid(idtype_t >I<idtype>B<, id_t >I<id>B<, siginfo_t *>I<infop>B<, int >I<options>B<);>\n"
1391 " /* This is the glibc and POSIX interface; see\n"
1392 " VERSIONS for information on the raw system call. */\n"
1393 msgstr ""
1394
1395 #. type: TH
1396 #: mageia-cauldron
1397 #, no-wrap
1398 msgid "Linux man-pages 6.17"
1399 msgstr "Linux man-pages 6.17"
1400
1401 #. type: TH
1402 #: opensuse-leap-16-1 opensuse-tumbleweed
1403 #, no-wrap
1404 msgid "Linux man-pages (unreleased)"
1405 msgstr "Linux man-pages (미공개)"