summaryrefslogtreecommitdiffstats
path: root/po/ko/man2/wait.2.po
diff options
context:
space:
mode:
Diffstat (limited to 'po/ko/man2/wait.2.po')
-rw-r--r--po/ko/man2/wait.2.po94
1 files changed, 80 insertions, 14 deletions
diff --git a/po/ko/man2/wait.2.po b/po/ko/man2/wait.2.po
index 2952c517..d49492e4 100644
--- a/po/ko/man2/wait.2.po
+++ b/po/ko/man2/wait.2.po
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: manpages-l10n\n"
-"POT-Creation-Date: 2024-03-01 17:13+0100\n"
+"POT-Creation-Date: 2024-06-01 06:34+0200\n"
"PO-Revision-Date: 2005-02-11 08:57+0900\n"
"Last-Translator: 한글 Manpage 프로젝트 <http://man.kldp.org>\n"
"Language-Team: Korean <translation-team-ko@googlegroups.com>\n"
@@ -24,16 +24,16 @@ msgid "wait"
msgstr "wait"
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
-msgid "2023-10-31"
-msgstr "2023년 10월 31일"
+msgid "2024-05-02"
+msgstr "2024년 5월 2일"
#. type: TH
-#: archlinux fedora-40 fedora-rawhide mageia-cauldron
+#: archlinux debian-unstable
#, fuzzy, no-wrap
#| msgid "Linux man-pages 6.03"
-msgid "Linux man-pages 6.06"
+msgid "Linux man-pages 6.8"
msgstr "Linux man-pages 6.03"
#. type: SH
@@ -1210,13 +1210,13 @@ msgid "Program source"
msgstr ""
#. type: Plain text
-#: archlinux debian-unstable fedora-40 fedora-rawhide mageia-cauldron
-#: opensuse-tumbleweed
+#: archlinux debian-unstable opensuse-tumbleweed
#, no-wrap
msgid ""
"#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/types.hE<gt>\n"
"#include E<lt>sys/wait.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
"\\&\n"
@@ -1398,16 +1398,75 @@ msgstr ""
"}\n"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
-msgid "2023-05-03"
-msgstr "2023년 5월 3일"
+msgid "2023-10-31"
+msgstr "2023년 10월 31일"
#. type: TH
-#: debian-unstable opensuse-tumbleweed
+#: fedora-40 mageia-cauldron
+#, fuzzy, no-wrap
+#| msgid "Linux man-pages 6.03"
+msgid "Linux man-pages 6.06"
+msgstr "Linux man-pages 6.03"
+
+#. type: Plain text
+#: fedora-40 fedora-rawhide mageia-cauldron
#, no-wrap
-msgid "Linux man-pages 6.05.01"
-msgstr "Linux man-pages 6.05.01"
+msgid ""
+"#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/wait.hE<gt>\n"
+"#include E<lt>unistd.hE<gt>\n"
+"\\&\n"
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" int wstatus;\n"
+" pid_t cpid, w;\n"
+"\\&\n"
+" cpid = fork();\n"
+" if (cpid == -1) {\n"
+" perror(\"fork\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" if (cpid == 0) { /* Code executed by child */\n"
+" printf(\"Child PID is %jd\\en\", (intmax_t) getpid());\n"
+" if (argc == 1)\n"
+" pause(); /* Wait for signals */\n"
+" _exit(atoi(argv[1]));\n"
+"\\&\n"
+" } else { /* Code executed by parent */\n"
+" do {\n"
+" w = waitpid(cpid, &wstatus, WUNTRACED | WCONTINUED);\n"
+" if (w == -1) {\n"
+" perror(\"waitpid\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+"\\&\n"
+" if (WIFEXITED(wstatus)) {\n"
+" printf(\"exited, status=%d\\en\", WEXITSTATUS(wstatus));\n"
+" } else if (WIFSIGNALED(wstatus)) {\n"
+" printf(\"killed by signal %d\\en\", WTERMSIG(wstatus));\n"
+" } else if (WIFSTOPPED(wstatus)) {\n"
+" printf(\"stopped by signal %d\\en\", WSTOPSIG(wstatus));\n"
+" } else if (WIFCONTINUED(wstatus)) {\n"
+" printf(\"continued\\en\");\n"
+" }\n"
+" } while (!WIFEXITED(wstatus) && !WIFSIGNALED(wstatus));\n"
+" exit(EXIT_SUCCESS);\n"
+" }\n"
+"}\n"
+msgstr ""
+
+#. type: TH
+#: fedora-rawhide
+#, fuzzy, no-wrap
+#| msgid "Linux man-pages 6.03"
+msgid "Linux man-pages 6.7"
+msgstr "Linux man-pages 6.03"
#. type: TH
#: opensuse-leap-15-6
@@ -1420,3 +1479,10 @@ msgstr "2023년 3월 30일"
#, no-wrap
msgid "Linux man-pages 6.04"
msgstr "Linux man-pages 6.04"
+
+#. type: TH
+#: opensuse-tumbleweed
+#, fuzzy, no-wrap
+#| msgid "Linux man-pages 6.03"
+msgid "Linux man-pages (unreleased)"
+msgstr "Linux man-pages 6.03"