msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-03-19 23:50+0900\n"
+"POT-Creation-Date: 2012-03-22 04:26+0900\n"
"PO-Revision-Date: 2012-03-22 00:52+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
#: build/C/man3/sem_getvalue.3:71 build/C/man3/sem_init.3:102
#: build/C/man3/sem_open.3:172 build/C/man7/sem_overview.7:152
#: build/C/man3/sem_post.3:70 build/C/man3/sem_unlink.3:64
-#: build/C/man3/sem_wait.3:263 build/C/man2/semctl.2:509
+#: build/C/man3/sem_wait.3:262 build/C/man2/semctl.2:509
#: build/C/man2/semget.2:279 build/C/man2/semop.2:513
#, no-wrap
msgid "SEE ALSO"
#: build/C/man3/sem_getvalue.3:75 build/C/man3/sem_init.3:107
#: build/C/man3/sem_open.3:179 build/C/man7/sem_overview.7:162
#: build/C/man3/sem_post.3:74 build/C/man3/sem_unlink.3:70
-#: build/C/man3/sem_wait.3:269 build/C/man2/semctl.2:516
+#: build/C/man3/sem_wait.3:268 build/C/man2/semctl.2:516
#: build/C/man2/semget.2:286 build/C/man2/semop.2:521
#, no-wrap
msgid "COLOPHON"
#: build/C/man3/sem_getvalue.3:82 build/C/man3/sem_init.3:114
#: build/C/man3/sem_open.3:186 build/C/man7/sem_overview.7:169
#: build/C/man3/sem_post.3:81 build/C/man3/sem_unlink.3:77
-#: build/C/man3/sem_wait.3:276 build/C/man2/semctl.2:523
+#: build/C/man3/sem_wait.3:275 build/C/man2/semctl.2:523
#: build/C/man2/semget.2:293 build/C/man2/semop.2:528
msgid ""
-"This page is part of release 3.35 of the Linux I<man-pages> project. A "
+"This page is part of release 3.37 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
-"found at http://man7.org/linux/man-pages/."
+"found at http://www.kernel.org/doc/man-pages/."
msgstr ""
#. type: TH
#. type: TH
#: build/C/man3/sem_wait.3:26
-#, no-wrap
-msgid "2010-02-25"
+#, fuzzy, no-wrap
+#| msgid "2010-02-25"
+msgid "2012-02-12"
msgstr "2010-02-25"
#. type: Plain text
"B<sem_timedwait>() に渡すタイムアウトまでの時間を秒単位で指定する。"
#. type: Plain text
-#: build/C/man3/sem_wait.3:183
-#, no-wrap
+#: build/C/man3/sem_wait.3:182
+#, fuzzy, no-wrap
+#| msgid ""
+#| "$B< ./a.out 2 3>\n"
+#| "About to call sem_timedwait()\n"
+#| "sem_post() from handler\n"
+#| "sem_getvalue() from handler; value = 1\n"
+#| "sem_timedwait() succeeded\n"
+#| "$B< ./a.out 2 1>\n"
+#| "About to call sem_timedwait()\n"
+#| "sem_timedwait() timed out\n"
msgid ""
"$B< ./a.out 2 3>\n"
"About to call sem_timedwait()\n"
"sem_post() from handler\n"
-"sem_getvalue() from handler; value = 1\n"
"sem_timedwait() succeeded\n"
"$B< ./a.out 2 1>\n"
"About to call sem_timedwait()\n"
"sem_timedwait() timed out\n"
#. type: SS
-#: build/C/man3/sem_wait.3:185
+#: build/C/man3/sem_wait.3:184
#, no-wrap
msgid "Program source"
msgstr "プログラムのソース"
#. type: Plain text
-#: build/C/man3/sem_wait.3:196
+#: build/C/man3/sem_wait.3:195
#, no-wrap
msgid ""
"#include E<lt>unistd.hE<gt>\n"
"#include E<lt>signal.hE<gt>\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:198
+#: build/C/man3/sem_wait.3:197
#, no-wrap
msgid "sem_t sem;\n"
msgstr "sem_t sem;\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:201
+#: build/C/man3/sem_wait.3:200
#, no-wrap
msgid ""
"#define handle_error(msg) \\e\n"
" do { perror(msg); exit(EXIT_FAILURE); } while (0)\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:211
+#: build/C/man3/sem_wait.3:210
#, no-wrap
msgid ""
"static void\n"
"}\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:218
+#: build/C/man3/sem_wait.3:217
#, no-wrap
msgid ""
"int\n"
" int s;\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:224
+#: build/C/man3/sem_wait.3:223
#, no-wrap
msgid ""
" if (argc != 3) {\n"
" }\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:227
+#: build/C/man3/sem_wait.3:226
#, no-wrap
msgid ""
" if (sem_init(&sem, 0, 0) == -1)\n"
" handle_error(\"sem_init\");\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:229
+#: build/C/man3/sem_wait.3:228
#, no-wrap
msgid " /* Establish SIGALRM handler; set alarm timer using argv[1] */\n"
msgstr " /* Establish SIGALRM handler; set alarm timer using argv[1] */\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:235
+#: build/C/man3/sem_wait.3:234
#, no-wrap
msgid ""
" sa.sa_handler = handler;\n"
" handle_error(\"sigaction\");\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:237
+#: build/C/man3/sem_wait.3:236
#, no-wrap
msgid " alarm(atoi(argv[1]));\n"
msgstr " alarm(atoi(argv[1]));\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:240
+#: build/C/man3/sem_wait.3:239
#, no-wrap
msgid ""
" /* Calculate relative interval as current time plus\n"
" number of seconds given argv[2] */\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:243
+#: build/C/man3/sem_wait.3:242
#, no-wrap
msgid ""
" if (clock_gettime(CLOCK_REALTIME, &ts) == -1)\n"
" handle_error(\"clock_gettime\");\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:245
+#: build/C/man3/sem_wait.3:244
#, no-wrap
msgid " ts.tv_sec += atoi(argv[2]);\n"
msgstr " ts.tv_sec += atoi(argv[2]);\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:249
+#: build/C/man3/sem_wait.3:248
#, no-wrap
msgid ""
" printf(\"main() about to call sem_timedwait()\\en\");\n"
" continue; /* Restart if interrupted by handler */\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:251
+#: build/C/man3/sem_wait.3:250
#, no-wrap
msgid " /* Check what happened */\n"
msgstr " /* Check what happened */\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:259
+#: build/C/man3/sem_wait.3:258
#, no-wrap
msgid ""
" if (s == -1) {\n"
" printf(\"sem_timedwait() succeeded\\en\");\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:262
+#: build/C/man3/sem_wait.3:261
#, no-wrap
msgid ""
" exit((s == 0) ? EXIT_SUCCESS : EXIT_FAILURE);\n"
"}\n"
#. type: Plain text
-#: build/C/man3/sem_wait.3:269
+#: build/C/man3/sem_wait.3:268
msgid ""
"B<clock_gettime>(2), B<sem_getvalue>(3), B<sem_post>(3), B<sem_overview>(7), "
"B<time>(7)"