1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2013-04-30 20:29+0900\n"
10 "PO-Revision-Date: 2013-03-27 01:43+0900\n"
11 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
19 #: build/C/man3/__setfpucw.3:8
25 #: build/C/man3/__setfpucw.3:8
31 #: build/C/man3/__setfpucw.3:8 build/C/man3/queue.3:39
37 #: build/C/man3/__setfpucw.3:8 build/C/man3/addseverity.3:9
38 #: build/C/man3/argz_add.3:10 build/C/man3/backtrace.3:27
39 #: build/C/man3/basename.3:27 build/C/man3/envz_add.3:10
40 #: build/C/man3/ftok.3:29 build/C/man3/longjmp.3:27 build/C/man3/offsetof.3:28
41 #: build/C/man3/program_invocation_name.3:24 build/C/man3/queue.3:39
42 #: build/C/man3/realpath.3:28 build/C/man3/setjmp.3:27
43 #: build/C/man3/xcrypt.3:13
45 msgid "Linux Programmer's Manual"
46 msgstr "Linux Programmer's Manual"
49 #: build/C/man3/__setfpucw.3:9 build/C/man3/addseverity.3:10
50 #: build/C/man3/argz_add.3:11 build/C/man3/backtrace.3:28
51 #: build/C/man3/basename.3:28 build/C/man3/envz_add.3:11
52 #: build/C/man3/ftok.3:30 build/C/man3/longjmp.3:28 build/C/man3/offsetof.3:29
53 #: build/C/man3/program_invocation_name.3:25 build/C/man3/queue.3:40
54 #: build/C/man3/realpath.3:29 build/C/man3/setjmp.3:28
55 #: build/C/man3/xcrypt.3:14
61 #: build/C/man3/__setfpucw.3:11
62 msgid "__setfpucw - set FPU control word on i386 architecture (obsolete)"
64 "__setfpucw - i386 アーキテクチャにおける FPU のコントロールワードの設定 "
68 #: build/C/man3/__setfpucw.3:11 build/C/man3/addseverity.3:12
69 #: build/C/man3/argz_add.3:15 build/C/man3/backtrace.3:31
70 #: build/C/man3/basename.3:30 build/C/man3/envz_add.3:14
71 #: build/C/man3/ftok.3:32 build/C/man3/longjmp.3:30 build/C/man3/offsetof.3:31
72 #: build/C/man3/program_invocation_name.3:28 build/C/man3/queue.3:48
73 #: build/C/man3/realpath.3:31 build/C/man3/setjmp.3:30
74 #: build/C/man3/xcrypt.3:16
80 #: build/C/man3/__setfpucw.3:13
81 msgid "B<#include E<lt>i386/fpu_control.hE<gt>>"
82 msgstr "B<#include E<lt>i386/fpu_control.hE<gt>>"
85 #: build/C/man3/__setfpucw.3:15
86 msgid "B<void __setfpucw(unsigned short >I<control_word>B<);>"
87 msgstr "B<void __setfpucw(unsigned short >I<control_word>B<);>"
90 #: build/C/man3/__setfpucw.3:15 build/C/man3/addseverity.3:27
91 #: build/C/man3/argz_add.3:57 build/C/man3/backtrace.3:50
92 #: build/C/man3/basename.3:38 build/C/man3/envz_add.3:37
93 #: build/C/man3/ftok.3:39 build/C/man3/longjmp.3:46 build/C/man3/offsetof.3:37
94 #: build/C/man3/program_invocation_name.3:36 build/C/man3/queue.3:86
95 #: build/C/man3/realpath.3:51 build/C/man3/setjmp.3:49
96 #: build/C/man3/xcrypt.3:24
102 #: build/C/man3/__setfpucw.3:22
104 "B<__setfpucw>() transfers I<control_word> to the registers of the FPU "
105 "(floating-point unit) on the i386 architecture. This was used to control "
106 "floating-point precision, rounding and floating-point exceptions."
108 "B<__setfpucw>() は、i386アーキテクチャにおいて I<control_word> を FPU "
109 "(floating-point unit) のレジスタに転送する。 これは浮動小数点演算の精度、丸め"
110 "方、 および浮動小数点例外を制御するのに使われる。"
113 #: build/C/man3/__setfpucw.3:22 build/C/man3/addseverity.3:60
114 #: build/C/man3/argz_add.3:202 build/C/man3/backtrace.3:141
115 #: build/C/man3/basename.3:127 build/C/man3/envz_add.3:117
116 #: build/C/man3/ftok.3:70 build/C/man3/longjmp.3:83 build/C/man3/offsetof.3:60
117 #: build/C/man3/program_invocation_name.3:56 build/C/man3/queue.3:485
118 #: build/C/man3/realpath.3:137 build/C/man3/setjmp.3:82
120 msgid "CONFORMING TO"
124 #: build/C/man3/__setfpucw.3:24
125 msgid "This function was a nonstandard GNU extension."
126 msgstr "この関数は非標準で GNU 拡張である。"
129 #: build/C/man3/__setfpucw.3:24 build/C/man3/addseverity.3:67
130 #: build/C/man3/backtrace.3:143 build/C/man3/basename.3:129
131 #: build/C/man3/ftok.3:72 build/C/man3/longjmp.3:88
132 #: build/C/man3/program_invocation_name.3:59 build/C/man3/realpath.3:144
133 #: build/C/man3/setjmp.3:87
139 #: build/C/man3/__setfpucw.3:43
141 "As of glibc 2.1 this function does not exist anymore. There are new "
142 "functions from C99, with prototypes in I<E<lt>fenv.hE<gt>>, to control FPU "
143 "rounding modes, like B<fegetround>(3), B<fesetround>(3), and the floating-"
144 "point environment, like B<fegetenv>(3), B<feholdexcept>(3), B<fesetenv>(3), "
145 "B<feupdateenv>(3), and FPU exception handling, like B<feclearexcept>(3), "
146 "B<fegetexceptflag>(3), B<feraiseexcept>(3), B<fesetexceptflag>(3), and "
147 "B<fetestexcept>(3)."
149 "glibc 2.1 以降では、この関数は存在しない。 新たな関数群が C99 から導入され"
150 "た。これらのプロトタイプは I<E<lt>fenv.hE<gt>> に置かれている。 FPU の丸め"
151 "モードの制御には B<fegetround>(3), B<fesetround>(3) などが、浮動小数点関連の"
152 "環境には B<fegetenv>(3), B<feholdexcept>(3), B<fesetenv>(3), B<feupdateenv>"
153 "(3) などが、 FPU 例外処理には B<feclearexcept>(3), B<fegetexceptflag>(3), "
154 "B<feraiseexcept>(3), B<fesetexceptflag>(3), B<fetestexcept>(3) などが導入され"
158 #: build/C/man3/__setfpucw.3:51
160 "If direct access to the FPU control word is still needed, the B<_FPU_GETCW> "
161 "and B<_FPU_SETCW> macros from I<E<lt>fpu_control.hE<gt>> can be used."
163 "FPU のコントロールワードへどうしても直接アクセスする必要がある場合には、 "
164 "I<E<lt>fpu_control.hE<gt>> の B<_FPU_GETCW> マクロと B<_FPU_SETCW> マクロを用"
168 #: build/C/man3/__setfpucw.3:51 build/C/man3/backtrace.3:165
169 #: build/C/man3/basename.3:162 build/C/man3/envz_add.3:120
170 #: build/C/man3/offsetof.3:62
176 #: build/C/man3/__setfpucw.3:53
177 msgid "B<__setfpucw(0x1372)>"
178 msgstr "B<__setfpucw(0x1372)>"
181 #: build/C/man3/__setfpucw.3:55
182 msgid "Set FPU control word on the i386 architecture to"
183 msgstr "は、i386アーキテクチャにおける FPU のコントロールワードを、"
186 #: build/C/man3/__setfpucw.3:57
188 msgid " - extended precision\n"
192 #: build/C/man3/__setfpucw.3:59
194 msgid " - rounding to nearest\n"
195 msgstr " - 最も近い整数へ丸める、中間の場合は偶数を選択する。\n"
198 #: build/C/man3/__setfpucw.3:61
200 msgid " - exceptions on overflow, zero divide and NaN\n"
201 msgstr " - 桁溢れ、0で除算、及び無効値(NaN)ときに例外を発生に設定する。\n"
204 #: build/C/man3/__setfpucw.3:61 build/C/man3/addseverity.3:70
205 #: build/C/man3/argz_add.3:208 build/C/man3/backtrace.3:249
206 #: build/C/man3/basename.3:175 build/C/man3/envz_add.3:142
207 #: build/C/man3/ftok.3:101 build/C/man3/longjmp.3:125
208 #: build/C/man3/program_invocation_name.3:63 build/C/man3/realpath.3:226
209 #: build/C/man3/setjmp.3:118 build/C/man3/xcrypt.3:72
215 #: build/C/man3/__setfpucw.3:63
216 msgid "B<feclearexcept>(3)"
217 msgstr "B<feclearexcept>(3)"
220 #: build/C/man3/__setfpucw.3:65
221 msgid "I<E<lt>fpu_control.hE<gt>>"
222 msgstr "I<E<lt>fpu_control.hE<gt>>"
225 #: build/C/man3/__setfpucw.3:65 build/C/man3/addseverity.3:72
226 #: build/C/man3/argz_add.3:210 build/C/man3/backtrace.3:254
227 #: build/C/man3/basename.3:178 build/C/man3/envz_add.3:144
228 #: build/C/man3/ftok.3:107 build/C/man3/longjmp.3:128
229 #: build/C/man3/offsetof.3:102 build/C/man3/program_invocation_name.3:65
230 #: build/C/man3/queue.3:491 build/C/man3/realpath.3:232
231 #: build/C/man3/setjmp.3:121 build/C/man3/xcrypt.3:74
237 #: build/C/man3/__setfpucw.3:72 build/C/man3/addseverity.3:79
238 #: build/C/man3/argz_add.3:217 build/C/man3/backtrace.3:261
239 #: build/C/man3/basename.3:185 build/C/man3/envz_add.3:151
240 #: build/C/man3/ftok.3:114 build/C/man3/longjmp.3:135
241 #: build/C/man3/offsetof.3:109 build/C/man3/program_invocation_name.3:72
242 #: build/C/man3/queue.3:498 build/C/man3/realpath.3:239
243 #: build/C/man3/setjmp.3:128 build/C/man3/xcrypt.3:81
246 #| "This page is part of release 3.50 of the Linux I<man-pages> project. A "
247 #| "description of the project, and information about reporting bugs, can be "
248 #| "found at http://www.kernel.org/doc/man-pages/."
250 "This page is part of release 3.51 of the Linux I<man-pages> project. A "
251 "description of the project, and information about reporting bugs, can be "
252 "found at http://www.kernel.org/doc/man-pages/."
254 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.50 の一部\n"
255 "である。プロジェクトの説明とバグ報告に関する情報は\n"
256 "http://www.kernel.org/doc/man-pages/ に書かれている。"
259 #: build/C/man3/addseverity.3:9
265 #: build/C/man3/addseverity.3:9 build/C/man3/backtrace.3:27
271 #: build/C/man3/addseverity.3:9 build/C/man3/backtrace.3:27
272 #: build/C/man3/basename.3:27 build/C/man3/ftok.3:29
273 #: build/C/man3/offsetof.3:28 build/C/man3/program_invocation_name.3:24
279 #: build/C/man3/addseverity.3:12
280 msgid "addseverity - introduce new severity classes"
281 msgstr "addseverity - 新しい重大度 (severity class) を導入する"
284 #: build/C/man3/addseverity.3:16
286 msgid "B<#include E<lt>fmtmsg.hE<gt>>\n"
287 msgstr "B<#include E<lt>fmtmsg.hE<gt>>\n"
290 #: build/C/man3/addseverity.3:18
292 msgid "B<int addseverity(int >I<severity>B<, const char *>I<s>B<);>\n"
293 msgstr "B<int addseverity(int >I<severity>B<, const char *>I<s>B<);>\n"
296 #: build/C/man3/addseverity.3:23 build/C/man3/longjmp.3:42
297 #: build/C/man3/realpath.3:42 build/C/man3/setjmp.3:42
299 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
300 msgstr "glibc 向けの機能検査マクロの要件 (B<feature_test_macros>(7) 参照):"
303 #: build/C/man3/addseverity.3:27
304 msgid "B<addseverity>(): _SVID_SOURCE"
305 msgstr "B<addseverity>(): _SVID_SOURCE"
308 #: build/C/man3/addseverity.3:49
310 "This function allows the introduction of new severity classes which can be "
311 "addressed by the I<severity> argument of the B<fmtmsg>(3) function. By "
312 "default that latter function only knows how to print messages for severity "
313 "0-4 (with strings (none), HALT, ERROR, WARNING, INFO). This call attaches "
314 "the given string I<s> to the given value I<severity>. If I<s> is NULL, the "
315 "severity class with the numeric value I<severity> is removed. It is not "
316 "possible to overwrite or remove one of the default severity classes. The "
317 "severity value must be nonnegative."
319 "この関数により、新しい重大度を導入できる。 この重大度は、 B<fmtmsg>(3) 関数"
320 "の I<severity> 引き数に入れることができる。 デフォルトでは、後者の B<fmtmsg>"
321 "(3) 関数は重大度 0-4 (文字列では (none), HALT, ERROR, WARNING, INFO) の メッ"
322 "セージを表示する方法しか知らない。 この B<addseverity>(3) の呼び出しにより、"
323 "指定された文字列 I<s> に指定された値 I<severity> を付加する。 I<s> が NULL の"
324 "場合、数値 I<severity> の重大度が削除される。 デフォルトの重大度のどれかを上"
325 "書きしたり削除したりすることはできない。 重大度の値は負でない数としなければな"
329 #: build/C/man3/addseverity.3:49 build/C/man3/argz_add.3:198
330 #: build/C/man3/backtrace.3:116 build/C/man3/basename.3:119
331 #: build/C/man3/envz_add.3:113 build/C/man3/ftok.3:61
332 #: build/C/man3/longjmp.3:81 build/C/man3/offsetof.3:53
333 #: build/C/man3/realpath.3:91 build/C/man3/setjmp.3:72
334 #: build/C/man3/xcrypt.3:61
340 #: build/C/man3/addseverity.3:57
342 "Upon success, the value B<MM_OK> is returned. Upon error, the return value "
343 "is B<MM_NOTOK>. Possible errors include: out of memory, attempt to remove a "
344 "nonexistent or default severity class."
346 "成功した場合、値 B<MM_OK> が返される。 エラーの場合、返り値は B<MM_NOTOK> で"
347 "ある。 起こる可能性があるエラーには、以下のものが含まれる: メモリを使い果たし"
348 "た。 存在しない重大度またはデフォルトの重大度を削除しようとした。"
351 #: build/C/man3/addseverity.3:57 build/C/man3/backtrace.3:135
352 #: build/C/man3/realpath.3:135 build/C/man3/xcrypt.3:67
358 #: build/C/man3/addseverity.3:60
359 msgid "B<addseverity>() is provided in glibc since version 2.1."
360 msgstr "B<addseverity>() はバージョン 2.1 以降の glibc で提供されている。"
363 #: build/C/man3/addseverity.3:67
365 "This function is not specified in the X/Open Portability Guide although the "
366 "B<fmtmsg>(3) function is. It is available on System V systems."
368 "B<fmtmsg>(3) 関数は X/Open Portability Guide に指定されているが、 この関数は"
369 "指定されていない。 この関数は System V システムで利用可能である。"
372 #: build/C/man3/addseverity.3:70
374 "New severity classes can also be added by setting the environment variable "
377 "新しい重大度は、環境変数 B<SEV_LEVEL> を設定することで追加することもできる。"
380 #: build/C/man3/addseverity.3:72
382 msgstr "B<fmtmsg>(3)"
385 #: build/C/man3/argz_add.3:10
391 #: build/C/man3/argz_add.3:10 build/C/man3/envz_add.3:10
397 #: build/C/man3/argz_add.3:15
399 "argz_add, argz_add_sep, argz_append, argz_count, argz_create, "
400 "argz_create_sep, argz_delete, argz_extract, argz_insert, argz_next, "
401 "argz_replace, argz_stringify - functions to handle an argz list"
403 "argz_add, argz_add_sep, argz_append, argz_count, argz_create, "
404 "argz_create_sep, argz_delete, argz_extract, argz_insert, argz_next, "
405 "argz_replace, argz_stringify - argz リストを操作するための関数群"
408 #: build/C/man3/argz_add.3:18
410 msgid "B<#include E<lt>argz.hE<gt>>\n"
411 msgstr "B<#include E<lt>argz.hE<gt>>\n"
414 #: build/C/man3/argz_add.3:21
416 msgid "B<error_t argz_add(char **>I<argz>B<, size_t *>I<argz_len>B<, const char *>I<str>B<);>\n"
417 msgstr "B<error_t argz_add(char **>I<argz>B<, size_t *>I<argz_len>B<, const char *>I<str>B<);>\n"
420 #: build/C/man3/argz_add.3:23
422 msgid "B<error_t argz_add_sep(char **>I<argz>B<, size_t *>I<argz_len>B<,>\n"
423 msgstr "B<error_t argz_add_sep(char **>I<argz>B<, size_t *>I<argz_len>B<,>\n"
426 #: build/C/man3/argz_add.3:25
428 msgid "B<const char *>I<str>B<, int >I<delim>B<);>\n"
429 msgstr "B<const char *>I<str>B<, int >I<delim>B<);>\n"
432 #: build/C/man3/argz_add.3:27
434 msgid "B<error_t argz_append(char **>I<argz>B<, size_t *>I<argz_len>B<,>\n"
435 msgstr "B<error_t argz_append(char **>I<argz>B<, size_t *>I<argz_len>B<,>\n"
438 #: build/C/man3/argz_add.3:29
440 msgid "B<const char *>I<buf>B<, size_t >I<buf_len>B<);>\n"
441 msgstr "B<const char *>I<buf>B<, size_t >I<buf_len>B<);>\n"
444 #: build/C/man3/argz_add.3:31
446 msgid "B<size_t argz_count(const char *>I<argz>B<, size_t >I<argz_len>B<);>\n"
447 msgstr "B<size_t argz_count(const char *>I<argz>B<, size_t >I<argz_len>B<);>\n"
450 #: build/C/man3/argz_add.3:33
452 msgid "B<error_t argz_create(char * const >I<argv>B<[], char **>I<argz>B<,>\n"
453 msgstr "B<error_t argz_create(char * const >I<argv>B<[], char **>I<argz>B<,>\n"
456 #: build/C/man3/argz_add.3:35 build/C/man3/argz_add.3:39
458 msgid "B<size_t *>I<argz_len>B<);>\n"
459 msgstr "B<size_t *>I<argz_len>B<);>\n"
462 #: build/C/man3/argz_add.3:37
464 msgid "B<error_t argz_create_sep(const char *>I<str>B<, int >I<sep>B<, char **>I<argz>B<,>\n"
465 msgstr "B<error_t argz_create_sep(const char *>I<str>B<, int >I<sep>B<, char **>I<argz>B<,>\n"
468 #: build/C/man3/argz_add.3:41
470 msgid "B<error_t argz_delete(char **>I<argz>B<, size_t *>I<argz_len>B<, char *>I<entry>B<);>\n"
471 msgstr "B<error_t argz_delete(char **>I<argz>B<, size_t *>I<argz_len>B<, char *>I<entry>B<);>\n"
474 #: build/C/man3/argz_add.3:43
476 msgid "B<void argz_extract(char *>I<argz>B<, size_t >I<argz_len>B<, char **>I<argv>B<);>\n"
477 msgstr "B<void argz_extract(char *>I<argz>B<, size_t >I<argz_len>B<, char **>I<argv>B<);>\n"
480 #: build/C/man3/argz_add.3:45
482 msgid "B<error_t argz_insert(char **>I<argz>B<, size_t *>I<argz_len>B<, char *>I<before>B<,>\n"
483 msgstr "B<error_t argz_insert(char **>I<argz>B<, size_t *>I<argz_len>B<, char *>I<before>B<,>\n"
486 #: build/C/man3/argz_add.3:47
488 msgid "B<const char *>I<entry>B<);>\n"
489 msgstr "B<const char *>I<entry>B<);>\n"
492 #: build/C/man3/argz_add.3:49
494 msgid "B<char *argz_next(char *>I<argz>B<, size_t >I<argz_len>B<, const char *>I<entry>B<);>\n"
495 msgstr "B<char *argz_next(char *>I<argz>B<, size_t >I<argz_len>B<, const char *>I<entry>B<);>\n"
498 #: build/C/man3/argz_add.3:52
500 msgid "B<error_t argz_replace(char **>I<argz>B<, size_t *>I<argz_len>B<, const char *>I<str>B<,>\n"
501 msgstr "B<error_t argz_replace(char **>I<argz>B<, size_t *>I<argz_len>B<, const char *>I<str>B<,>\n"
504 #: build/C/man3/argz_add.3:54
506 msgid "B<const char *>I<with>B<, unsigned int *>I<replace_count>B<);>\n"
507 msgstr "B<const char *>I<with>B<, unsigned int *>I<replace_count>B<);>\n"
510 #: build/C/man3/argz_add.3:56
512 msgid "B<void argz_stringify(char *>I<argz>B<, size_t >I<len>B<, int >I<sep>B<);>\n"
513 msgstr "B<void argz_stringify(char *>I<argz>B<, size_t >I<len>B<, int >I<sep>B<);>\n"
516 #: build/C/man3/argz_add.3:59 build/C/man3/envz_add.3:39
517 msgid "These functions are glibc-specific."
518 msgstr "これらの関数は glibc 固有である。"
521 #: build/C/man3/argz_add.3:64
523 "An argz vector is a pointer to a character buffer together with a length. "
524 "The intended interpretation of the character buffer is an array of strings, "
525 "where the strings are separated by null bytes (\\(aq\\e0\\(aq). If the "
526 "length is nonzero, the last byte of the buffer must be a null byte."
528 "argz vector は長さ情報付きの文字バッファへのポインタである。 文字バッファで"
529 "は、複数の文字列が NULL バイト (\\e(aq\\e0\\e(aq) で区切られており、 文字列の"
530 "配列として解釈されるようになっている。 長さが 0 でない場合、バッファの最後の"
531 "バイトは NULL バイトでなければならない。"
534 #: build/C/man3/argz_add.3:73
536 "These functions are for handling argz vectors. The pair (NULL,0) is an argz "
537 "vector, and, conversely, argz vectors of length 0 must have NULL pointer. "
538 "Allocation of nonempty argz vectors is done using B<malloc>(3), so that "
539 "B<free>(3) can be used to dispose of them again."
541 "これらの関数は argz vector を操作するためのものである。 ペア (NULL,0) は "
542 "argz vector であり、逆に言えば 長さ 0 の argz vectorは NULL ポインタを持たな"
543 "ければならない。 空でない argz vector の割り当ては B<malloc>(3) を使って行わ"
544 "れる。したがって、argz vector を解放するのに B<free>(3) を使うことができる。"
547 #: build/C/man3/argz_add.3:83
549 "B<argz_add>() adds the string I<str> at the end of the array I<*argz>, and "
550 "updates I<*argz> and I<*argz_len>."
552 "B<argz_add>() は、文字列 I<str> を配列 I<*argz> の末尾に追加し、 I<*argz> "
553 "と I<*argz_len> を更新する。"
556 #: build/C/man3/argz_add.3:91
558 "B<argz_add_sep>() is similar, but splits the string I<str> into substrings "
559 "separated by the delimiter I<delim>. For example, one might use this on a "
560 "UNIX search path with delimiter \\(aq:\\(aq."
562 "B<argz_add_sep>() も同様の動作をするが、区切り文字 I<delim> にしたがって文字"
563 "列 I<str> を複数の文字列に分割する点が異なる。 例えば、区切り文字 \\e(aq:\\e"
564 "(aq を指定して、UNIX サーチ・パスに対して この関数を使うことができるだろう。"
567 #: build/C/man3/argz_add.3:105
569 "B<argz_append>() appends the argz vector (I<buf>,\\ I<buf_len>) after "
570 "(I<*argz>,\\ I<*argz_len>) and updates I<*argz> and I<*argz_len>. (Thus, "
571 "I<*argz_len> will be increased by I<buf_len>.)"
573 "B<argz_append>() は argz vector (I<buf>,\\ I<buf_len>) の後ろに (*I<argz>,"
574 "\\ I<*argz_len>) を付け加え、 I<*argz> と I<*argz_len> を更新する。 (した"
575 "がって、 I<*argz_len> は I<buf_len> だけ増加する。)"
578 #: build/C/man3/argz_add.3:110
580 "B<argz_count>() counts the number of strings, that is, the number of null "
581 "bytes (\\(aq\\e0\\(aq), in (I<argz>,\\ I<argz_len>)."
583 "B<argz_count>() は (I<argz>,\\ I<argz_len>) 内の文字列の数を数える。実際に"
584 "は NULL バイト (\\e(aq\\e0\\e(aq) の数を数えている。"
587 #: build/C/man3/argz_add.3:118
589 "B<argz_create>() converts a UNIX-style argument vector I<argv>, terminated "
590 "by I<(char *) 0>, into an argz vector (I<*argz>,\\ I<*argz_len>)."
592 "B<argz_create>() は、UNIX 流の引き数ベクトルである (I<(char *) 0> で終端され"
593 "る) I<argv> を、argz vector (I<*argz>,\\ I<*argz_len>) に変換する。"
596 #: build/C/man3/argz_add.3:126
598 "B<argz_create_sep>() converts the null-terminated string I<str> into an "
599 "argz vector (I<*argz>,\\ I<*argz_len>) by breaking it up at every "
600 "occurrence of the separator I<sep>."
602 "B<argz_create_sep>() は、NULL 終端された文字列 I<str> を区切り文字 I<sep> が"
603 "現れる毎に分割しながら、argz vector (*I<argz>,\\ I<*argz_len>) に変換する。"
606 #: build/C/man3/argz_add.3:136
608 "B<argz_delete>() removes the substring pointed to by I<entry> from the argz "
609 "vector (I<*argz>,\\ I<*argz_len>) and updates I<*argz> and I<*argz_len>."
611 "B<argz_delete>() は、 I<entry> で指し示された文字列を argz vector (I<*argz>,"
612 "\\ I<*argz_len>) から削除し、 I<*argz> と I<*argz_len> を更新する。"
615 #: build/C/man3/argz_add.3:151
617 "B<argz_extract>() is the opposite of B<argz_create>(). It takes the argz "
618 "vector (I<argz>,\\ I<argz_len>) and fills the array starting at I<argv> "
619 "with pointers to the substrings, and a final NULL, making a UNIX-style argv "
620 "vector. The array I<argv> must have room for I<argz_count>(I<argz>,"
621 "I<argz_len>) + 1 pointers."
623 "B<argz_extract>() は B<argz_create>() の反対の操作を行う。argz vector "
624 "(I<argz>,\\ I<argz_len>) を調べ、 I<argv> から始まる配列をサブ文字列へのポイ"
625 "ンタで埋めていき、 一番最後に NULL を入れて、UNIX 流の argv ベクトルを作成す"
626 "る。 配列 I<argv> は I<argz_count>(I<argz>,I<argz_len>) + 1 個のポインタを収"
627 "容できる空間を持っていなければならない。"
630 #: build/C/man3/argz_add.3:170
632 "B<argz_insert>() is the opposite of B<argz_delete>(). It inserts the "
633 "argument I<entry> at position I<before> into the argz vector (I<*argz>,\\ "
634 "I<*argz_len>) and updates I<*argz> and I<*argz_len>. If I<before> is NULL, "
635 "then I<entry> will inserted at the end."
637 "B<argz_insert>() は B<argz_delete>() の反対の操作を行う。argz vector "
638 "(I<*argz>,\\ I<*argz_len>) の位置 I<before> に引き数 I<entry> を挿入し、 "
639 "I<*argz> と I<*argz_len> を更新する。 I<before> が NULL の場合、 I<entry> は"
643 #: build/C/man3/argz_add.3:179
645 "B<argz_next>() is a function to step trough the argz vector. If I<entry> "
646 "is NULL, the first entry is returned. Otherwise, the entry following is "
647 "returned. It returns NULL if there is no following entry."
649 "B<argz_next>() は argz vector を順番に調べるための関数である。 I<entry> が "
650 "NULL の場合、最初のエントリを返す。 そうでない場合、次のエントリを返す。 次の"
651 "エントリがない場合、NULL を返す。"
654 #: build/C/man3/argz_add.3:191
656 "B<argz_replace>() replaces each occurrence of I<str> with I<with>, "
657 "reallocating argz as necessary. If I<replace_count> is non-NULL, "
658 "I<*replace_count> will be incremented by the number of replacements."
660 "B<argz_replace>() は、 I<str> をすべて I<with> で置き換える (必要に応じて "
661 "argz の再割り当てを行う)。 I<replace_count> が NULL でない場合、 "
662 "I<*replace_count> を置き換えを行った数だけ増やす。"
665 #: build/C/man3/argz_add.3:198
667 "B<argz_stringify>() is the opposite of B<argz_create_sep>(). It transforms "
668 "the argz vector into a normal string by replacing all null bytes (\\(aq"
669 "\\e0\\(aq) except the last by I<sep>."
671 "B<argz_stringify>() は B<argz_create_sep>() の反対の操作を行う。 末尾の "
672 "NULL バイト以外の全ての NULL バイト (\\e(aq\\e0\\e(aq) を I<sep> で置き換え"
673 "て、 argz vector を通常の文字列に変換する。"
676 #: build/C/man3/argz_add.3:202
678 "All argz functions that do memory allocation have a return type of "
679 "I<error_t>, and return 0 for success, and B<ENOMEM> if an allocation error "
682 "メモリ割り当てを行う argz 関数群はすべて I<error_t> 型の返り値を持つ。 成功し"
683 "た場合は 0 を返し、割り当てエラーが発生した場合は B<ENOMEM> を返す。"
686 #: build/C/man3/argz_add.3:205 build/C/man3/envz_add.3:120
687 msgid "These functions are a GNU extension. Handle with care."
688 msgstr "これらの関数は GNU による拡張である。注意して使用すること。"
691 #: build/C/man3/argz_add.3:205 build/C/man3/basename.3:154
692 #: build/C/man3/realpath.3:195 build/C/man3/xcrypt.3:70
698 #: build/C/man3/argz_add.3:208
700 "Argz vectors without a terminating null byte may lead to Segmentation Faults."
702 "NULL バイトで終端されていない argz vector を使用した場合、 segmentation "
706 #: build/C/man3/argz_add.3:210
707 msgid "B<envz_add>(3)"
708 msgstr "B<envz_add>(3)"
711 #: build/C/man3/backtrace.3:27
717 #: build/C/man3/backtrace.3:31
719 "backtrace, backtrace_symbols, backtrace_symbols_fd - support for application "
722 "backtrace, backtrace_symbols, backtrace_symbols_fd - アプリケーション自身での"
726 #: build/C/man3/backtrace.3:33
727 msgid "B<#include E<lt>execinfo.hE<gt>>"
728 msgstr "B<#include E<lt>execinfo.hE<gt>>"
731 #: build/C/man3/backtrace.3:38
732 msgid "B<int backtrace(void> B<**>I<buffer>B<,> B<int> I<size>B<);>"
733 msgstr "B<int backtrace(void> B<**>I<buffer>B<,> B<int> I<size>B<);>"
736 #: build/C/man3/backtrace.3:43
738 "B<char **backtrace_symbols(void *const> B<*>I<buffer>B<,> B<int> I<size>B<);>"
740 "B<char **backtrace_symbols(void *const> B<*>I<buffer>B<,> B<int> I<size>B<);>"
743 #: build/C/man3/backtrace.3:50
745 "B<void backtrace_symbols_fd(void *const> B<*>I<buffer>B<,> B<int> I<size>B<,"
746 "> B<int> I<fd>B<);>"
748 "B<void backtrace_symbols_fd(void *const> B<*>I<buffer>B<,> B<int> I<size>B<,"
749 "> B<int> I<fd>B<);>"
752 #: build/C/man3/backtrace.3:76
754 "B<backtrace>() returns a backtrace for the calling program, in the array "
755 "pointed to by I<buffer>. A backtrace is the series of currently active "
756 "function calls for the program. Each item in the array pointed to by "
757 "I<buffer> is of type I<void *>, and is the return address from the "
758 "corresponding stack frame. The I<size> argument specifies the maximum "
759 "number of addresses that can be stored in I<buffer>. If the backtrace is "
760 "larger than I<size>, then the addresses corresponding to the I<size> most "
761 "recent function calls are returned; to obtain the complete backtrace, make "
762 "sure that I<buffer> and I<size> are large enough."
764 "B<backtrace>() は、呼び出したプログラムのバックトレースを I<buffer> が指す配"
765 "列に入れて返す。バックトレースは、プログラムで 現在動作中の関数呼び出しの並び"
766 "である。 I<buffer> が指す配列の個々の要素は I<void *> 型で、 対応するスタック"
767 "フレームからのリターンアドレスである。 I<size> 引き数は I<buffer> に格納でき"
768 "るアドレスの最大個数を指定する。 バックトレースが I<size> より大きい場合、 "
769 "I<size> 個の直近の関数呼び出しに対応するアドレスが返される。 完全なバックト"
770 "レースを取得するためには、確実に I<buffer> と I<size> が十分大きくなるように"
774 #: build/C/man3/backtrace.3:101
776 "Given the set of addresses returned by B<backtrace>() in I<buffer>, "
777 "B<backtrace_symbols>() translates the addresses into an array of strings "
778 "that describe the addresses symbolically. The I<size> argument specifies "
779 "the number of addresses in I<buffer>. The symbolic representation of each "
780 "address consists of the function name (if this can be determined), a "
781 "hexadecimal offset into the function, and the actual return address (in "
782 "hexadecimal). The address of the array of string pointers is returned as "
783 "the function result of B<backtrace_symbols>(). This array is B<malloc>(3)ed "
784 "by B<backtrace_symbols>(), and must be freed by the caller. (The strings "
785 "pointed to by the array of pointers need not and should not be freed.)"
787 "B<backtrace>() によって I<buffer> にアドレスの集合が得られたら、 "
788 "B<backtrace_symbols>() によって、アドレス集合を、そのアドレスをシンボルで表"
789 "した文字列の配列 に翻訳できる。 I<size> 引き数は I<buffer> に格納されたアドレ"
790 "スの数を指定する。 個々のアドレスのシンボル表現は、関数名 (特定できた場合)、 "
791 "関数へのオフセット (16進表記)、実際のリターンアドレス (16進表記) から構成さ"
792 "れる。 B<backtrace_symbols>() の実行結果としては、 文字列ポインタの配列のア"
793 "ドレスが返される。 この配列は B<backtrace_symbols>() によって B<malloc>(3) "
794 "され、呼び出し側で free しなければならない (ポインタの配列が指す個々の文字列"
795 "は free する必要はないし、 free すべきでもない)。"
798 #: build/C/man3/backtrace.3:116
800 "B<backtrace_symbols_fd>() takes the same I<buffer> and I<size> arguments as "
801 "B<backtrace_symbols>(), but instead of returning an array of strings to the "
802 "caller, it writes the strings, one per line, to the file descriptor I<fd>. "
803 "B<backtrace_symbols_fd>() does not call B<malloc>(3), and so can be "
804 "employed in situations where the latter function might fail."
806 "B<backtrace_symbols_fd>() は、 B<backtrace_symbols>() と同じ引き数 "
807 "I<buffer> と I<size> をとるが、呼び出し側に文字列の配列を返す代わりに、 文字"
808 "列をファイルディスクリプタ I<fd> に 1 行に 1 エントリの形で書き込む。 "
809 "B<backtrace_symbols_fd>() は B<malloc>(3) を呼び出さない。 そのため、これに"
810 "続く関数が失敗する可能性がある状況でも利用できる。"
813 #: build/C/man3/backtrace.3:128
815 "B<backtrace>() returns the number of addresses returned in I<buffer>, which "
816 "is not greater than I<size>. If the return value is less than I<size>, then "
817 "the full backtrace was stored; if it is equal to I<size>, then it may have "
818 "been truncated, in which case the addresses of the oldest stack frames are "
821 "B<backtrace>() は I<buffer> に格納したアドレスの個数を返す。その個数は "
822 "I<size> より大きくなることはない。 返り値が I<size> より小さい場合、バックト"
823 "レース全体が格納されている。返り値が I<size> と等しい場合、バックトレースは切"
824 "り詰められているかもしれない。 切り詰められた場合、最も古いスタックフレームの"
828 #: build/C/man3/backtrace.3:135
830 "On success, B<backtrace_symbols>() returns a pointer to the array B<malloc>"
831 "(3)ed by the call; on error, NULL is returned."
833 "B<backtrace_symbols>() は、成功すると、この呼び出しで B<malloc>(3) された配"
834 "列へのポインタを返す。 エラーの場合、 NULL を返す。"
837 #: build/C/man3/backtrace.3:141
839 "B<backtrace>(), B<backtrace_symbols>(), and B<backtrace_symbols_fd>() are "
840 "provided in glibc since version 2.1."
842 "B<backtrace>(), B<backtrace_symbols>(), B<backtrace_symbols_fd>() はバージョ"
843 "ン 2.1 以降の glibc で提供されている。"
846 #: build/C/man3/backtrace.3:143
847 msgid "These functions are GNU extensions."
848 msgstr "これらの関数は GNU による拡張である。"
851 #: build/C/man3/backtrace.3:147
853 "These functions make some assumptions about how a function's return address "
854 "is stored on the stack. Note the following:"
856 "これらの関数は、関数のリターンアドレスがスタック上でどのように格納されるか に"
857 "関してある仮定を置いている。 以下の点に注意。"
860 #: build/C/man3/backtrace.3:147 build/C/man3/backtrace.3:153
861 #: build/C/man3/backtrace.3:155 build/C/man3/queue.3:93
862 #: build/C/man3/queue.3:95 build/C/man3/queue.3:97 build/C/man3/queue.3:99
863 #: build/C/man3/queue.3:109 build/C/man3/queue.3:131 build/C/man3/queue.3:133
864 #: build/C/man3/queue.3:135
870 #: build/C/man3/backtrace.3:153
872 "Omission of the frame pointers (as implied by any of B<gcc>(1)'s nonzero "
873 "optimization levels) may cause these assumptions to be violated."
875 "(B<gcc>(1) の 0 以外の最適化レベルで暗黙のうちに行われる) フレームポインタ"
876 "の省略を行うと、これらの前提が崩れる可能性がある。"
879 #: build/C/man3/backtrace.3:155
880 msgid "Inlined functions do not have stack frames."
881 msgstr "インライン関数はスタックフレームを持たない。"
884 #: build/C/man3/backtrace.3:157
885 msgid "Tail-call optimization causes one stack frame to replace another."
887 "末尾呼び出しの最適化 (tail-call optimization) を行うと、 あるスタックフレーム"
888 "が別のスタックフレームを置き換える可能性がある。"
891 #: build/C/man3/backtrace.3:165
893 "The symbol names may be unavailable without the use of special linker "
894 "options. For systems using the GNU linker, it is necessary to use the I<-"
895 "rdynamic> linker option. Note that names of \"static\" functions are not "
896 "exposed, and won't be available in the backtrace."
898 "シンボル名は特別なリンカ・オプションを使用しないと利用できない場合がある。 "
899 "GNU リンカを使用するシステムでは、 I<-rdynamic> リンカ・オプションを使う必要"
900 "がある。 \"static\" な関数のシンボル名は公開されず、 バックトレースでは利用で"
904 #: build/C/man3/backtrace.3:172
906 "The program below demonstrates the use of B<backtrace>() and "
907 "B<backtrace_symbols>(). The following shell session shows what we might see "
908 "when running the program:"
910 "以下のプログラムは、 B<backtrace>() と B<backtrace_symbols>() の使用例を示"
911 "したものである。 以下に示すシェルのセッションは、 このプログラムを動かした際"
915 #: build/C/man3/backtrace.3:186
918 "$B< cc -rdynamic prog.c -o prog>\n"
920 "backtrace() returned 8 addresses\n"
921 "\\&./prog(myfunc3+0x5c) [0x80487f0]\n"
922 "\\&./prog [0x8048871]\n"
923 "\\&./prog(myfunc+0x21) [0x8048894]\n"
924 "\\&./prog(myfunc+0x1a) [0x804888d]\n"
925 "\\&./prog(myfunc+0x1a) [0x804888d]\n"
926 "\\&./prog(main+0x65) [0x80488fb]\n"
927 "\\&/lib/libc.so.6(__libc_start_main+0xdc) [0xb7e38f9c]\n"
928 "\\&./prog [0x8048711]\n"
930 "$B< cc -rdynamic prog.c -o prog>\n"
932 "backtrace() returned 8 addresses\n"
933 "\\&./prog(myfunc3+0x5c) [0x80487f0]\n"
934 "\\&./prog [0x8048871]\n"
935 "\\&./prog(myfunc+0x21) [0x8048894]\n"
936 "\\&./prog(myfunc+0x1a) [0x804888d]\n"
937 "\\&./prog(myfunc+0x1a) [0x804888d]\n"
938 "\\&./prog(main+0x65) [0x80488fb]\n"
939 "\\&/lib/libc.so.6(__libc_start_main+0xdc) [0xb7e38f9c]\n"
940 "\\&./prog [0x8048711]\n"
943 #: build/C/man3/backtrace.3:188 build/C/man3/offsetof.3:73
945 msgid "Program source"
949 #: build/C/man3/backtrace.3:195
952 "#include E<lt>execinfo.hE<gt>\n"
953 "#include E<lt>stdio.hE<gt>\n"
954 "#include E<lt>stdlib.hE<gt>\n"
955 "#include E<lt>unistd.hE<gt>\n"
957 "#include E<lt>execinfo.hE<gt>\n"
958 "#include E<lt>stdio.hE<gt>\n"
959 "#include E<lt>stdlib.hE<gt>\n"
960 "#include E<lt>unistd.hE<gt>\n"
963 #: build/C/man3/backtrace.3:203
971 " void *buffer[100];\n"
979 " void *buffer[100];\n"
983 #: build/C/man3/backtrace.3:206
986 " nptrs = backtrace(buffer, SIZE);\n"
987 " printf(\"backtrace() returned %d addresses\\en\", nptrs);\n"
989 " nptrs = backtrace(buffer, SIZE);\n"
990 " printf(\"backtrace() returned %d addresses\\en\", nptrs);\n"
993 #: build/C/man3/backtrace.3:209
996 " /* The call backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO)\n"
997 " would produce similar output to the following: */\n"
999 " /* backtrace_symbols_fd(buffer, nptrs, STDOUT_FILENO) を\n"
1000 " 呼び出しても、以下と同様の出力が得られる。 */\n"
1003 #: build/C/man3/backtrace.3:215
1006 " strings = backtrace_symbols(buffer, nptrs);\n"
1007 " if (strings == NULL) {\n"
1008 " perror(\"backtrace_symbols\");\n"
1009 " exit(EXIT_FAILURE);\n"
1012 " strings = backtrace_symbols(buffer, nptrs);\n"
1013 " if (strings == NULL) {\n"
1014 " perror(\"backtrace_symbols\");\n"
1015 " exit(EXIT_FAILURE);\n"
1019 #: build/C/man3/backtrace.3:218
1022 " for (j = 0; j E<lt> nptrs; j++)\n"
1023 " printf(\"%s\\en\", strings[j]);\n"
1025 " for (j = 0; j E<lt> nptrs; j++)\n"
1026 " printf(\"%s\\en\", strings[j]);\n"
1029 #: build/C/man3/backtrace.3:221
1039 #: build/C/man3/backtrace.3:227
1042 "static void /* \"static\" means don\\(aqt export the symbol... */\n"
1048 "static void /* \"static\" はシンボルを公開しないことを意味する */\n"
1055 #: build/C/man3/backtrace.3:236
1059 "myfunc(int ncalls)\n"
1061 " if (ncalls E<gt> 1)\n"
1062 " myfunc(ncalls - 1);\n"
1068 "myfunc(int ncalls)\n"
1070 " if (ncalls E<gt> 1)\n"
1071 " myfunc(ncalls - 1);\n"
1077 #: build/C/man3/backtrace.3:244
1081 "main(int argc, char *argv[])\n"
1083 " if (argc != 2) {\n"
1084 " fprintf(stderr, \"%s num-calls\\en\", argv[0]);\n"
1085 " exit(EXIT_FAILURE);\n"
1089 "main(int argc, char *argv[])\n"
1091 " if (argc != 2) {\n"
1092 " fprintf(stderr, \"%s num-calls\\en\", argv[0]);\n"
1093 " exit(EXIT_FAILURE);\n"
1097 #: build/C/man3/backtrace.3:248
1100 " myfunc(atoi(argv[1]));\n"
1101 " exit(EXIT_SUCCESS);\n"
1104 " myfunc(atoi(argv[1]));\n"
1105 " exit(EXIT_SUCCESS);\n"
1109 #: build/C/man3/backtrace.3:254
1110 msgid "B<gcc>(1), B<ld>(1), B<dlopen>(3), B<malloc>(3)"
1111 msgstr "B<gcc>(1), B<ld>(1), B<dlopen>(3), B<malloc>(3)"
1114 #: build/C/man3/basename.3:27
1120 #: build/C/man3/basename.3:27
1126 #: build/C/man3/basename.3:30
1127 msgid "basename, dirname - parse pathname components"
1128 msgstr "basename, dirname - パス名を解析して各部分を取り出す"
1131 #: build/C/man3/basename.3:33
1133 msgid "B<#include E<lt>libgen.hE<gt>>\n"
1134 msgstr "B<#include E<lt>libgen.hE<gt>>\n"
1137 #: build/C/man3/basename.3:35
1139 msgid "B<char *dirname(char *>I<path>B<);>\n"
1140 msgstr "B<char *dirname(char *>I<path>B<);>\n"
1143 #: build/C/man3/basename.3:37
1145 msgid "B<char *basename(char *>I<path>B<);>\n"
1146 msgstr "B<char *basename(char *>I<path>B<);>\n"
1149 #: build/C/man3/basename.3:42
1150 msgid "Warning: there are two different functions B<basename>() - see below."
1152 "警告: B<basename>() には異なるバージョンが 2つ存在する。下記の「注意」の節を"
1156 #: build/C/man3/basename.3:55
1158 "The functions B<dirname>() and B<basename>() break a null-terminated "
1159 "pathname string into directory and filename components. In the usual case, "
1160 "B<dirname>() returns the string up to, but not including, the final \\(aq/"
1161 "\\(aq, and B<basename>() returns the component following the final \\(aq/"
1162 "\\(aq. Trailing \\(aq/\\(aq characters are not counted as part of the "
1165 "B<dirname>() と B<basename>() は、NULL で終端されたパス名の文字列を、 ディ"
1166 "レクトリ部分・ファイル名部分に分割する。 通常は、 B<dirname>() は最後の "
1167 "\\(aq/\\(aq までの部分 (最後の \\(aq/\\(aq は含まない) を返し、 B<basename>"
1168 "() は最後の \\(aq/\\(aq 以降の部分を返す。 文字列の末尾についた \\(aq/\\(aq "
1169 "文字は、パス名の一部とはみなされない。"
1172 #: build/C/man3/basename.3:78
1174 "If I<path> does not contain a slash, B<dirname>() returns the string \".\" "
1175 "while B<basename>() returns a copy of I<path>. If I<path> is the string \"/"
1176 "\", then both B<dirname>() and B<basename>() return the string \"/\". If "
1177 "I<path> is a NULL pointer or points to an empty string, then both B<dirname>"
1178 "() and B<basename>() return the string \".\"."
1180 "I<path> に '/' 文字がない場合は、 B<dirname>() は文字列 \".\" を返し、 "
1181 "B<basename>() は I<path> と同じ内容を返す。 I<path> が文字列 \"/\" に等しい"
1182 "場合は、 B<dirname>() も B<basename>() も文字列 \"/\" を返す。 I<path> が "
1183 "NULL ポインタだったり、空の文字列を指していた場合は、 B<dirname>() も "
1184 "B<basename>() も文字列 \".\" を返す。"
1187 #: build/C/man3/basename.3:84
1189 "Concatenating the string returned by B<dirname>(), a \"/\", and the string "
1190 "returned by B<basename>() yields a complete pathname."
1192 "B<dirname>() の返した文字列、 \"/\"、 B<basename>() の返した文字列、 を順に"
1193 "結合すると、完全なパス名が得られる。"
1196 #: build/C/man3/basename.3:93
1198 "Both B<dirname>() and B<basename>() may modify the contents of I<path>, so "
1199 "it may be desirable to pass a copy when calling one of these functions."
1201 "B<dirname>() と B<basename>() は、いずれも I<path> の内容を変更することがあ"
1202 "る。 したがって、これらの関数を呼び出す際には コピーを渡すのが望ましい。"
1205 #: build/C/man3/basename.3:102
1207 "These functions may return pointers to statically allocated memory which may "
1208 "be overwritten by subsequent calls. Alternatively, they may return a "
1209 "pointer to some part of I<path>, so that the string referred to by I<path> "
1210 "should not be modified or freed until the pointer returned by the function "
1211 "is no longer required."
1213 "これらの関数は、静的に割り当てられたメモリへのポインタを返すことがあり、 これ"
1214 "らの領域は後の関数呼び出しで上書きされるかもしれない。 また、これらの関数は "
1215 "I<path> の一部分を指すポインタを返すこともある。そのため、 I<path> で参照され"
1216 "る文字列は、関数が返すポインタが不要になるまでは 変更したり free したりすべき"
1220 #: build/C/man3/basename.3:109
1222 "The following list of examples (taken from SUSv2) shows the strings "
1223 "returned by B<dirname>() and B<basename>() for different paths:"
1225 "以下の一連の例 (SUSv2 から引用) は、 いろいろな path に対して B<dirname>() "
1226 "と B<basename>() が返す文字列を表したものである。"
1229 #: build/C/man3/basename.3:118
1232 "B<path dirname basename>\n"
1233 "\"/usr/lib\" \"/usr\" \"lib\"\n"
1234 "\"/usr/\" \"/\" \"usr\"\n"
1235 "\"usr\" \".\" \"usr\"\n"
1236 "\"/\" \"/\" \"/\"\n"
1237 "\".\" \".\" \".\"\n"
1238 "\"..\" \".\" \"..\"\n"
1240 "B<path dirname basename>\n"
1241 "\"/usr/lib\" \"/usr\" \"lib\"\n"
1242 "\"/usr/\" \"/\" \"usr\"\n"
1243 "\"usr\" \".\" \"usr\"\n"
1244 "\"/\" \"/\" \"/\"\n"
1245 "\".\" \".\" \".\"\n"
1246 "\"..\" \".\" \"..\"\n"
1249 #: build/C/man3/basename.3:127
1251 "Both B<dirname>() and B<basename>() return pointers to null-terminated "
1252 "strings. (Do not pass these pointers to B<free>(3).)"
1254 "B<dirname>() と B<basename>() は、いずれも NULL で終端された文字列へのポイ"
1255 "ンタを返す。 (これらのポインタを B<free>(3) に渡さないこと。)"
1258 #: build/C/man3/basename.3:129 build/C/man3/ftok.3:72
1259 msgid "POSIX.1-2001."
1260 msgstr "POSIX.1-2001."
1263 #: build/C/man3/basename.3:134
1265 "There are two different versions of B<basename>() - the POSIX version "
1266 "described above, and the GNU version, which one gets after"
1268 "B<basename>() には 2種類の異なるバージョンがある。 一つはすでに説明した "
1269 "POSIX バージョンであり、 もう一つは GNU バージョンである。 GNU バージョンを使"
1273 #: build/C/man3/basename.3:138
1275 msgid "B< #define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1276 msgstr "B< #define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
1279 #: build/C/man3/basename.3:140
1281 msgid "B<#include E<lt>string.hE<gt>>\n"
1282 msgstr "B<#include E<lt>string.hE<gt>>\n"
1285 #: build/C/man3/basename.3:148
1287 "The GNU version never modifies its argument, and returns the empty string "
1288 "when I<path> has a trailing slash, and in particular also when it is \"/\". "
1289 "There is no GNU version of B<dirname>()."
1291 "GNU バージョンは引き数を変更することはなく、 I<path> の末尾が '/'の場合は空の"
1292 "文字列を返す。 特に I<path> が \"/\" の場合も空文字列を返す。 B<dirname>() "
1296 #: build/C/man3/basename.3:154
1298 "With glibc, one gets the POSIX version of B<basename>() when I<E<lt>libgen."
1299 "hE<gt>> is included, and the GNU version otherwise."
1301 "glibc では、 I<E<lt>libgen.hE<gt>> をインクルードすると POSIX バージョンの "
1302 "B<basename>() が使用され、それ以外の場合は GNU バージョンとなる。"
1305 #: build/C/man3/basename.3:162
1307 "In the glibc implementation of the POSIX versions of these functions they "
1308 "modify their argument, and segfault when called with a static string like \"/"
1309 "usr/\". Before glibc 2.2.1, the glibc version of B<dirname>() did not "
1310 "correctly handle pathnames with trailing \\(aq/\\(aq characters, and "
1311 "generated a segfault if given a NULL argument."
1313 "glibc の POSIX バージョンの実装では、引き数の内容が変更され、 引き数に (\"/"
1314 "usr/\" などの) 定数文字列を指定されると セグメンテーションフォールトを起こ"
1315 "す。 バージョン 2.2.1 以前の glibc では、 glibc の B<dirname>() は末尾が "
1316 "\\(aq/\\(aq 文字になっているパス名を正しく扱えず、 引き数が NULL だとセグメン"
1320 #: build/C/man3/basename.3:167
1323 "char *dirc, *basec, *bname, *dname;\n"
1324 "char *path = \"/etc/passwd\";\n"
1326 "char *dirc, *basec, *bname, *dname;\n"
1327 "char *path = \"/etc/passwd\";\n"
1330 #: build/C/man3/basename.3:173
1333 "dirc = strdup(path);\n"
1334 "basec = strdup(path);\n"
1335 "dname = dirname(dirc);\n"
1336 "bname = basename(basec);\n"
1337 "printf(\"dirname=%s, basename=%s\\en\", dname, bname);\n"
1339 "dirc = strdup(path);\n"
1340 "basec = strdup(path);\n"
1341 "dname = dirname(dirc);\n"
1342 "bname = basename(basec);\n"
1343 "printf(\"dirname=%s, basename=%s\\en\", dname, bname);\n"
1346 #: build/C/man3/basename.3:178
1347 msgid "B<basename>(1), B<dirname>(1)"
1348 msgstr "B<basename>(1), B<dirname>(1)"
1351 #: build/C/man3/envz_add.3:10
1357 #: build/C/man3/envz_add.3:14
1359 "envz_add, envz_entry, envz_get, envz_merge, envz_remove, envz_strip - "
1360 "environment string support"
1362 "envz_add, envz_entry, envz_get, envz_merge, envz_remove, envz_strip - 環境変"
1366 #: build/C/man3/envz_add.3:17
1368 msgid "B<#include E<lt>envz.hE<gt>>\n"
1369 msgstr "B<#include E<lt>envz.hE<gt>>\n"
1372 #: build/C/man3/envz_add.3:19
1374 msgid "B<error_t envz_add(char **>I<envz>B<, size_t *>I<envz_len>B<,>\n"
1375 msgstr "B<error_t envz_add(char **>I<envz>B<, size_t *>I<envz_len>B<,>\n"
1378 #: build/C/man3/envz_add.3:21
1380 msgid "B<const char *>I<name>B<, const char *>I<value>B<);>\n"
1381 msgstr "B<const char *>I<name>B<, const char *>I<value>B<);>\n"
1384 #: build/C/man3/envz_add.3:24
1386 msgid "B<char *envz_entry(const char *>I<envz>B<, size_t *>I<envz_len>B<, const char *>I<name>B<);>\n"
1387 msgstr "B<char *envz_entry(const char *>I<envz>B<, size_t *>I<envz_len>B<, const char *>I<name>B<);>\n"
1390 #: build/C/man3/envz_add.3:27
1392 msgid "B<char *envz_get(const char *>I<envz>B<, size_t *>I<envz_len>B<, const char *>I<name>B<);>\n"
1393 msgstr "B<char *envz_get(const char *>I<envz>B<, size_t *>I<envz_len>B<, const char *>I<name>B<);>\n"
1396 #: build/C/man3/envz_add.3:29
1398 msgid "B<error_t envz_merge(char **>I<envz>B<, size_t *>I<envz_len>B<,>\n"
1399 msgstr "B<error_t envz_merge(char **>I<envz>B<, size_t *>I<envz_len>B<,>\n"
1402 #: build/C/man3/envz_add.3:31
1404 msgid "B<const char *>I<envz2>B<, size_t >I<envz2_len>B<, int >I<override>B<);>\n"
1405 msgstr "B<const char *>I<envz2>B<, size_t >I<envz2_len>B<, int >I<override>B<);>\n"
1408 #: build/C/man3/envz_add.3:34
1410 msgid "B<void envz_remove(char **>I<envz>B<, size_t *>I<envz_len>B<, const char *>I<name>B<);>\n"
1411 msgstr "B<void envz_remove(char **>I<envz>B<, size_t *>I<envz_len>B<, const char *>I<name>B<);>\n"
1414 #: build/C/man3/envz_add.3:36
1416 msgid "B<void envz_strip(char **>I<envz>B<, size_t *>I<envz_len>B<);>\n"
1417 msgstr "B<void envz_strip(char **>I<envz>B<, size_t *>I<envz_len>B<);>\n"
1420 #: build/C/man3/envz_add.3:49
1422 "An argz vector is a pointer to a character buffer together with a length, "
1423 "see B<argz_add>(3). An envz vector is a special argz vector, namely one "
1424 "where the strings have the form \"name=value\". Everything after the first "
1425 "\\(aq=\\(aq is considered to be the value. If there is no \\(aq=\\(aq, the "
1426 "value is taken to be NULL. (While the value in case of a trailing \\(aq="
1427 "\\(aq is the empty string \"\".)"
1429 "argz vector は長さ情報付きの文字バッファへのポインタである。 B<argz_add>(3) "
1430 "を参照のこと。 envz vector は、文字列が \"name=value (名前=値)\" の形式になっ"
1431 "ている特別な argz vector である。 最初の \\(aq=\\(aq 以降はすべて値とみなされ"
1432 "る。\\(aq=\\(aq がなければ、 値は NULL と解釈される。(文字列の一番最後の文字"
1433 "が \\(aq=\\(aq の場合、値は空文字列 \"\" と解釈される。)"
1436 #: build/C/man3/envz_add.3:51
1437 msgid "These functions are for handling envz vectors."
1438 msgstr "これらの関数は envz vector を操作するためのものである。"
1441 #: build/C/man3/envz_add.3:70
1443 "B<envz_add>() adds the string \"I<name>=I<value>\" (in case I<value> is non-"
1444 "NULL) or \"I<name>\" (in case I<value> is NULL) to the envz vector (I<*envz>,"
1445 "\\ I<*envz_len>) and updates I<*envz> and I<*envz_len>. If an entry with "
1446 "the same I<name> existed, it is removed."
1448 "B<envz_add>() は、文字列 \"I<name>=I<value>\" (I<value> が NULL でない場合) "
1449 "または \"I<name>\" (I<value> が NULL の場合) を envz vector (I<*envz>,\\ "
1450 "I<*envz_len>) に追加し、 I<*envz> と I<*envz_len> を更新する。 I<name> と同"
1451 "じ名前を持つエントリがあった場合、元のエントリは削除される。"
1454 #: build/C/man3/envz_add.3:77
1456 "B<envz_entry>() looks for I<name> in the envz vector (I<envz>,\\ "
1457 "I<envz_len>) and returns the entry if found, or NULL if not."
1459 "B<envz_entry>() は、envz vector (I<envz>,\\ I<envz_len>) から名前が "
1460 "I<name> のエントリを検索する。 見つかった場合はそのエントリを返し、見つからな"
1464 #: build/C/man3/envz_add.3:88
1466 "B<envz_get>() looks for I<name> in the envz vector (I<envz>,\\ "
1467 "I<envz_len>) and returns the value if found, or NULL if not. (Note that "
1468 "the value can also be NULL, namely when there is an entry for I<name> "
1469 "without \\(aq=\\(aq sign.)"
1471 "B<envz_get>() は、envz vector (I<envz>,\\ I<envz_len>) から名前が I<name> "
1472 "のエントリを検索する。 見つかった場合はエントリの値を返し、見つからなかった場"
1473 "合は NULL を返す。 (値は NULL の場合もあることに注意すること。名前が I<name> "
1474 "のエントリに \\(aq=\\(aq 符号がない場合が該当する。)"
1477 #: build/C/man3/envz_add.3:103
1479 "B<envz_merge>() adds each entry in I<envz2> to I<*envz>, as if with "
1480 "B<envz_add>(). If I<override> is true, then values in I<envz2> will "
1481 "supersede those with the same name in I<*envz>, otherwise not."
1483 "B<envz_merge>() は、 B<envz_add>() と同じように I<envz2> の各エントリを "
1484 "I<*envz> に追加する。 I<override> が真の場合、 I<envz2> の値で I<*envz> 内の"
1485 "同じ名前をもつ値は上書きされる。 偽の場合は上書きされない。"
1488 #: build/C/man3/envz_add.3:110
1490 "B<envz_remove>() removes the entry for I<name> from (I<*envz>,\\ "
1491 "I<*envz_len>) if there was one."
1493 "B<envz_remove>() は、名前が I<name> のエントリがあれば (I<*envz>,\\ "
1494 "I<*envz_len>) から削除する。"
1497 #: build/C/man3/envz_add.3:113
1498 msgid "B<envz_strip>() removes all entries with value NULL."
1499 msgstr "B<envz_strip>() は、値が NULL のエントリをすべて削除する。"
1502 #: build/C/man3/envz_add.3:117
1504 "All envz functions that do memory allocation have a return type of "
1505 "I<error_t>, and return 0 for success, and B<ENOMEM> if an allocation error "
1508 "メモリ割り当てを行う envz 関数群はすべて I<error_t> 型の返り値を持つ。 成功し"
1509 "た場合は 0 を返し、割り当てエラーが発生した場合は B<ENOMEM> を返す。"
1512 #: build/C/man3/envz_add.3:125
1515 "#include E<lt>stdio.hE<gt>\n"
1516 "#include E<lt>stdlib.hE<gt>\n"
1517 "#include E<lt>envz.hE<gt>\n"
1519 "#include E<lt>stdio.hE<gt>\n"
1520 "#include E<lt>stdlib.hE<gt>\n"
1521 "#include E<lt>envz.hE<gt>\n"
1524 #: build/C/man3/envz_add.3:131
1528 "main(int argc, char *argv[], char *envp[])\n"
1530 " int i, e_len = 0;\n"
1534 "main(int argc, char *argv[], char *envp[])\n"
1536 " int i, e_len = 0;\n"
1540 #: build/C/man3/envz_add.3:134
1543 " for (i = 0; envp[i] != NULL; i++)\n"
1544 " e_len += strlen(envp[i]) + 1;\n"
1546 " for (i = 0; envp[i] != NULL; i++)\n"
1547 " e_len += strlen(envp[i]) + 1;\n"
1550 #: build/C/man3/envz_add.3:141
1553 " str = envz_entry(*envp, e_len, \"HOME\");\n"
1554 " printf(\"%s\\en\", str);\n"
1555 " str = envz_get(*envp, e_len, \"HOME\");\n"
1556 " printf(\"%s\\en\", str);\n"
1557 " exit(EXIT_SUCCESS);\n"
1560 " str = envz_entry(*envp, e_len, \"HOME\");\n"
1561 " printf(\"%s\\en\", str);\n"
1562 " str = envz_get(*envp, e_len, \"HOME\");\n"
1563 " printf(\"%s\\en\", str);\n"
1564 " exit(EXIT_SUCCESS);\n"
1568 #: build/C/man3/envz_add.3:144
1569 msgid "B<argz_add>(3)"
1570 msgstr "B<argz_add>(3)"
1573 #: build/C/man3/ftok.3:29
1579 #: build/C/man3/ftok.3:29
1585 #: build/C/man3/ftok.3:32
1587 "ftok - convert a pathname and a project identifier to a System V IPC key"
1588 msgstr "ftok - パス名とプロジェクト識別子を System V IPC キーに変換する"
1591 #: build/C/man3/ftok.3:36
1594 "B<#include E<lt>sys/types.hE<gt>>\n"
1595 "B<#include E<lt>sys/ipc.hE<gt>>\n"
1597 "B<#include E<lt>sys/types.hE<gt>>\n"
1598 "B<#include E<lt>sys/ipc.hE<gt>>\n"
1601 #: build/C/man3/ftok.3:39
1602 msgid "B<key_t ftok(const char *>I<pathname>B<, int >I<proj_id>B<);>"
1603 msgstr "B<key_t ftok(const char *>I<pathname>B<, int >I<proj_id>B<);>"
1606 #: build/C/man3/ftok.3:54
1608 "The B<ftok>() function uses the identity of the file named by the given "
1609 "I<pathname> (which must refer to an existing, accessible file) and the "
1610 "least significant 8 bits of I<proj_id> (which must be nonzero) to generate a "
1611 "I<key_t> type System V IPC key, suitable for use with B<msgget>(2), B<semget>"
1612 "(2), or B<shmget>(2)."
1614 "B<ftok>() 関数は I<pathname> で与えられたファイル (存在し、アクセス可能でな"
1615 "ければならない) のファイル名の識別情報 (identity) と、 I<proj_id> (0 であっ"
1616 "てはならない) の低位 8 ビットとを用いて、 I<key_t> 型の System V IPC キーを生"
1617 "成する。 このキーは B<msgget>(2), B<semget>(2), B<shmget>(2) などでの利用に"
1621 #: build/C/man3/ftok.3:61
1623 "The resulting value is the same for all pathnames that name the same file, "
1624 "when the same value of I<proj_id> is used. The value returned should be "
1625 "different when the (simultaneously existing) files or the project IDs differ."
1627 "同じファイルを示すあらゆるパス名と、同じ I<proj_id> に対しては、結果の値は等"
1628 "しくなる。 ファイルが違ったり (この場合両者は同時に存在しているはず)、 "
1629 "I<proj_id> が異なると、返り値も異なる。"
1632 #: build/C/man3/ftok.3:70
1634 "On success, the generated I<key_t> value is returned. On failure -1 is "
1635 "returned, with I<errno> indicating the error as for the B<stat>(2) system "
1638 "成功した場合は生成された I<key_t> の値が返される。 失敗すると -1 が返され、エ"
1639 "ラーの内容が B<errno> に書き込まれる。この内容はシステムコール B<stat>(2) の"
1643 #: build/C/man3/ftok.3:74
1644 msgid "Under libc4 and libc5 (and under SunOS 4.x) the prototype was:"
1646 "libc4 と libc5 (および SunOS 4.x) では、 プロトタイプは以下のようになってい"
1650 #: build/C/man3/ftok.3:77
1651 msgid "B<key_t ftok(char *>I<pathname>B<, char >I<proj_id>B<);>"
1652 msgstr "B<key_t ftok(char *>I<pathname>B<, char >I<proj_id>B<);>"
1655 #: build/C/man3/ftok.3:89
1657 "Today I<proj_id> is an I<int>, but still only 8 bits are used. Typical "
1658 "usage has an ASCII character I<proj_id>, that is why the behavior is said to "
1659 "be undefined when I<proj_id> is zero."
1661 "現在では I<proj_id> は I<int> だが、依然として 8 ビットしか用いられない。 通"
1662 "常は ASCII キャラクタが I<proj_id> に用いられる。 I<proj_id> が 0 のときの振"
1663 "る舞いが未定義になっているのは、これが理由である。"
1666 #: build/C/man3/ftok.3:101
1668 "Of course no guarantee can be given that the resulting I<key_t> is unique. "
1669 "Typically, a best effort attempt combines the given I<proj_id> byte, the "
1670 "lower 16 bits of the inode number, and the lower 8 bits of the device number "
1671 "into a 32-bit result. Collisions may easily happen, for example between "
1672 "files on I</dev/hda1> and files on I</dev/sda1>."
1674 "もちろん I<key_t> が他と重ならないものであるかどうかは保証されない。 最善の場"
1675 "合の組み合わせを考えても、 I<proj_id> の 1 バイト、i ノード番号の低位 16 ビッ"
1676 "ト、および デバイス番号の低位 8 ビットなので、結果は 32 ビットに過ぎない。 例"
1677 "えば I</dev/hda1> と I</dev/sda1> それぞれにあるファイルに対して、衝突は容易"
1681 #: build/C/man3/ftok.3:107
1682 msgid "B<msgget>(2), B<semget>(2), B<shmget>(2), B<stat>(2), B<svipc>(7)"
1683 msgstr "B<msgget>(2), B<semget>(2), B<shmget>(2), B<stat>(2), B<svipc>(7)"
1686 #: build/C/man3/longjmp.3:27
1692 #: build/C/man3/longjmp.3:27
1698 #: build/C/man3/longjmp.3:30
1699 msgid "longjmp, siglongjmp - nonlocal jump to a saved stack context"
1701 "longjmp, siglongjmp - 保存されたスタックコンテキスト (stack context) への非"
1705 #: build/C/man3/longjmp.3:33
1707 msgid "B<#include E<lt>setjmp.hE<gt>>\n"
1708 msgstr "B<#include E<lt>setjmp.hE<gt>>\n"
1711 #: build/C/man3/longjmp.3:35
1713 msgid "B<void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n"
1714 msgstr "B<void longjmp(jmp_buf >I<env>B<, int >I<val>B<);>\n"
1717 #: build/C/man3/longjmp.3:37
1719 msgid "B<void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n"
1720 msgstr "B<void siglongjmp(sigjmp_buf >I<env>B<, int >I<val>B<);>\n"
1723 #: build/C/man3/longjmp.3:46
1725 "B<siglongjmp>(): _POSIX_C_SOURCE\\ E<gt>=\\ 1 || _XOPEN_SOURCE || "
1728 "B<siglongjmp>(): _POSIX_C_SOURCE\\ E<gt>=\\ 1 || _XOPEN_SOURCE || "
1732 #: build/C/man3/longjmp.3:68
1734 "B<longjmp>() and B<setjmp>(3) are useful for dealing with errors and "
1735 "interrupts encountered in a low-level subroutine of a program. B<longjmp>"
1736 "() restores the environment saved by the last call of B<setjmp>(3) with "
1737 "the corresponding I<env> argument. After B<longjmp>() is completed, "
1738 "program execution continues as if the corresponding call of B<setjmp>(3) "
1739 "had just returned the value I<val>. B<longjmp>() cannot cause 0 to be "
1740 "returned. If B<longjmp>() is invoked with a second argument of 0, 1 will "
1741 "be returned instead."
1743 "B<longjmp>() と B<setjmp>(3) は、プログラムの低レベルなサブルーチンにおい"
1744 "て、 エラーや割り込みが発生した時の処理に便利である。 B<longjmp>() は、"
1745 "I<env> 引き数を指定して呼び出された最後の B<setjmp>(3) によって保存された環"
1746 "境を復元する。 B<longjmp>() の完了後、プログラムの実行は、まるで対応する "
1747 "B<setjmp>(3) の呼び出しが値 I<val> で返って来たかように続行される。 "
1748 "B<longjmp>() は 0 を返すように指示することはできない。 二番目の引き数に 0 を"
1749 "指定して B<longjmp>() が呼ばれた場合は、代わりに 1 が返されることになる。"
1752 #: build/C/man3/longjmp.3:81
1754 "B<siglongjmp>() is similar to B<longjmp>() except for the type of its "
1755 "I<env> argument. If, and only if, the B<sigsetjmp>(3) call that set this "
1756 "I<env> used a nonzero I<savesigs> flag, B<siglongjmp>() also restores the "
1757 "signal mask that was saved by B<sigsetjmp>(3)."
1759 "B<siglongjmp>() は、引き数 I<env> の型が異なる点以外は、 B<longjmp>() と同"
1760 "様である。 I<env> を保存した B<sigsetjmp>(3) が 0 以外の I<savesigs> フラグ"
1761 "で呼び出されていた場合で、 かつ、その場合にのみ、 B<siglongjmp>(3) は "
1762 "B<sigsetjmp>(3) より保存されていたシグナルマスクの復元を行う。"
1765 #: build/C/man3/longjmp.3:83
1766 msgid "These functions never return."
1767 msgstr "これらの関数が返ることはない。"
1770 #: build/C/man3/longjmp.3:88
1772 "C89, C99, and POSIX.1-2001 specify B<longjmp>(). POSIX.1-2001 specifies "
1775 "B<longjmp>() は C89, C99, POSIX.1-2001 で規定されている。 B<siglongjmp>() "
1776 "は POSIX.1-2001 で規定されている。"
1779 #: build/C/man3/longjmp.3:98
1781 "POSIX does not specify whether B<longjmp>() will restore the signal context "
1782 "(see B<setjmp>(3) for some more details). If you want to portably save and "
1783 "restore signal masks, use B<sigsetjmp>(3) and B<siglongjmp>()."
1785 "POSIX では、 B<longjmp>() がシグナルコンテキスト (signal context) を復元\n"
1786 "するかどうか規定されていない (B<setjmp>(3) にも少し詳しい情報がある)。\n"
1787 "移植性のある方法で、シグナルマスクを保存し復元させたい場合には、\n"
1788 "B<sigsetjmp>(3) と B<siglongjmp>() を使うこと。"
1791 #: build/C/man3/longjmp.3:102
1793 "The values of automatic variables are unspecified after a call to B<longjmp>"
1794 "() if they meet all the following criteria:"
1796 "以下の条件が全て成立する場合、 B<longjmp>() の呼び出しが行われた後の自動変数"
1797 "の値は未定義 (unspecified) となる。"
1800 #: build/C/man3/longjmp.3:102 build/C/man3/longjmp.3:106
1801 #: build/C/man3/longjmp.3:112
1807 #: build/C/man3/longjmp.3:106
1809 "they are local to the function that made the corresponding B<setjmp>(3) "
1812 "その自動変数が、対応する B<setjmp>(3) 呼び出しを行った関数のローカル変数であ"
1816 #: build/C/man3/longjmp.3:112
1818 "their values are changed between the calls to B<setjmp>(3) and B<longjmp>"
1820 msgstr "自動変数の値が B<setjmp>(3) と B<longjmp>() の間で変更されている。"
1823 #: build/C/man3/longjmp.3:115
1824 msgid "they are not declared as I<volatile>."
1825 msgstr "I<volatile> として宣言されていない。"
1828 #: build/C/man3/longjmp.3:118
1829 msgid "Analogous remarks apply for B<siglongjmp>()."
1830 msgstr "同様の注意が B<siglongjmp>() にもあてはまる。"
1833 #: build/C/man3/longjmp.3:125
1835 "B<longjmp>() and B<siglongjmp>() make programs hard to understand and "
1836 "maintain. If possible an alternative should be used."
1838 "B<longjmp>() や B<siglongjmp>() を使うと、プログラムは理解しづらく、保守し"
1839 "にくいものになる。 別の方法が可能なら、それを使うべきである。"
1842 #: build/C/man3/longjmp.3:128
1843 msgid "B<setjmp>(3), B<sigsetjmp>(3)"
1844 msgstr "B<setjmp>(3), B<sigsetjmp>(3)"
1847 #: build/C/man3/offsetof.3:28
1853 #: build/C/man3/offsetof.3:28
1859 #: build/C/man3/offsetof.3:31
1860 msgid "offsetof - offset of a structure member"
1861 msgstr "offsetof - 構造体のメンバーのオフセットを返す"
1864 #: build/C/man3/offsetof.3:34
1866 msgid "B<#include E<lt>stddef.hE<gt>>\n"
1867 msgstr "B<#include E<lt>stddef.hE<gt>>\n"
1870 #: build/C/man3/offsetof.3:36
1872 msgid "B<size_t offsetof(>I<type>B<, >I<member>B<);>\n"
1873 msgstr "B<size_t offsetof(>I<type>B<, >I<member>B<);>\n"
1876 #: build/C/man3/offsetof.3:42
1878 "The macro B<offsetof>() returns the offset of the field I<member> from the "
1879 "start of the structure I<type>."
1881 "B<offsetof>() マクロは、フィールド I<member> の 構造体 I<type> の先頭からの"
1885 #: build/C/man3/offsetof.3:49
1887 "This macro is useful because the sizes of the fields that compose a "
1888 "structure can vary across implementations, and compilers may insert "
1889 "different numbers of padding bytes between fields. Consequently, an "
1890 "element's offset is not necessarily given by the sum of the sizes of the "
1891 "previous elements."
1893 "このマクロが有用なのは、 構造体を構成するフィールドのサイズは実装によって変化"
1894 "するし、 コンパイラによりフィールド間に挿入するパディングのバイト数も 違う可"
1895 "能性があるからである。 その結果、あるエレメントのオフセットは必ずしもそれより"
1896 "前の エレメントのサイズの合計とはならない。"
1899 #: build/C/man3/offsetof.3:53
1901 "A compiler error will result if I<member> is not aligned to a byte boundary "
1902 "(i.e., it is a bit field)."
1904 "I<member> がバイト境界に位置していない場合 (すなわち、ビットフィールドの場"
1905 "合) には、 コンパイラでエラーが発生する。"
1908 #: build/C/man3/offsetof.3:60
1910 "B<offsetof>() returns the offset of the given I<member> within the given "
1911 "I<type>, in units of bytes."
1913 "B<offsetof>() は、指定された I<member> の指定された I<type> の中でのオフセッ"
1917 #: build/C/man3/offsetof.3:62
1918 msgid "C89, C99, POSIX.1-2001."
1919 msgstr "C89, C99, POSIX.1-2001."
1922 #: build/C/man3/offsetof.3:66
1924 "On a Linux/i386 system, when compiled using the default B<gcc>(1) options, "
1925 "the program below produces the following output:"
1927 "Linux/i386 システムで、 B<gcc>(1) のデフォルトオプションで コンパイルされた"
1928 "場合、下記のプログラムは以下のような出力を返す。"
1931 #: build/C/man3/offsetof.3:72
1935 "offsets: i=0; c=4; d=8 a=16\n"
1936 "sizeof(struct s)=16\n"
1939 "offsets: i=0; c=4; d=8 a=16\n"
1940 "sizeof(struct s)=16\n"
1943 #: build/C/man3/offsetof.3:79
1946 "#include E<lt>stddef.hE<gt>\n"
1947 "#include E<lt>stdio.hE<gt>\n"
1948 "#include E<lt>stdlib.hE<gt>\n"
1950 "#include E<lt>stddef.hE<gt>\n"
1951 "#include E<lt>stdio.hE<gt>\n"
1952 "#include E<lt>stdlib.hE<gt>\n"
1955 #: build/C/man3/offsetof.3:89
1979 #: build/C/man3/offsetof.3:91
1981 msgid " /* Output is compiler dependent */\n"
1982 msgstr " /* 出力はコンパイラ依存である */\n"
1985 #: build/C/man3/offsetof.3:98
1988 " printf(\"offsets: i=%ld; c=%ld; d=%ld a=%ld\\en\",\n"
1989 " (long) offsetof(struct s, i),\n"
1990 " (long) offsetof(struct s, c),\n"
1991 " (long) offsetof(struct s, d),\n"
1992 " (long) offsetof(struct s, a));\n"
1993 " printf(\"sizeof(struct s)=%ld\\en\", (long) sizeof(struct s));\n"
1995 " printf(\"offsets: i=%ld; c=%ld; d=%ld a=%ld\\en\",\n"
1996 " (long) offsetof(struct s, i),\n"
1997 " (long) offsetof(struct s, c),\n"
1998 " (long) offsetof(struct s, d),\n"
1999 " (long) offsetof(struct s, a));\n"
2000 " printf(\"sizeof(struct s)=%ld\\en\", (long) sizeof(struct s));\n"
2003 #: build/C/man3/offsetof.3:101
2006 " exit(EXIT_SUCCESS);\n"
2009 " exit(EXIT_SUCCESS);\n"
2013 #: build/C/man3/program_invocation_name.3:24
2015 msgid "INVOCATION_NAME"
2016 msgstr "INVOCATION_NAME"
2019 #: build/C/man3/program_invocation_name.3:24
2025 #: build/C/man3/program_invocation_name.3:28
2027 "program_invocation_name, program_invocation_short_name - obtain name used to "
2028 "invoke calling program"
2030 "program_invocation_name, program_invocation_short_name - プログラムの起動に使"
2034 #: build/C/man3/program_invocation_name.3:32
2037 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
2038 "B<#include E<lt>errno.hE<gt>>\n"
2040 "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
2041 "B<#include E<lt>errno.hE<gt>>\n"
2044 #: build/C/man3/program_invocation_name.3:35
2047 "B<extern char *>I<program_invocation_name>B<;>\n"
2048 "B<extern char *>I<program_invocation_short_name>B<;>\n"
2050 "B<extern char *>I<program_invocation_name>B<;>\n"
2051 "B<extern char *>I<program_invocation_short_name>B<;>\n"
2054 #: build/C/man3/program_invocation_name.3:46
2056 "I<program_invocation_name> contains the name that was used to invoke the "
2057 "calling program. This is the same as the value of I<argv[0]> in I<main>(), "
2058 "with the difference that the scope of I<program_invocation_name> is global."
2060 "I<program_invocation_name> は、呼び出し元プログラムの起動に使用された名前を保"
2061 "持する。 内容は I<main>() の I<argv[0]> の値と同じだが、 "
2062 "I<program_invocation_name> の方はスコープがグローバルである点が異なる。"
2065 #: build/C/man3/program_invocation_name.3:53
2067 "I<program_invocation_short_name> contains the basename component of name "
2068 "that was used to invoke the calling program. That is, it is the same value "
2069 "as I<program_invocation_name>, with all text up to and including the final "
2070 "slash (/), if any, removed."
2072 "I<program_invocation_short_name> は、呼び出し元プログラムの起動に使用された名"
2073 "前の basename 部分を 保持する。つまり、この変数の内容は、最後のスラッシュ "
2074 "(/) とそれより前の 部分がある場合、 I<program_invocation_name> からこの部分を"
2078 #: build/C/man3/program_invocation_name.3:56
2080 "These variables are automatically initialized by the glibc run-time startup "
2083 "これらの変数は glibc のランタイム・スタートアップ・コードで 自動的に初期化さ"
2087 #: build/C/man3/program_invocation_name.3:59
2089 "These variables are GNU extensions, and should not be used in programs "
2090 "intended to be portable."
2092 "これらの変数は GNU の拡張であり、 移植性が必要なプログラムでは使用すべきでな"
2096 #: build/C/man3/program_invocation_name.3:63
2098 "The Linux-specific I</proc/[number]/cmdline> file provides access to similar "
2101 "Linux 独自のファイル I</proc/[number]/cmdline> でも同様の情報を得ることができ"
2105 #: build/C/man3/program_invocation_name.3:65
2110 #: build/C/man3/queue.3:39
2116 #: build/C/man3/queue.3:39
2122 #: build/C/man3/queue.3:48
2124 "LIST_ENTRY, LIST_HEAD, LIST_INIT, LIST_INSERT_AFTER, LIST_INSERT_HEAD, "
2125 "LIST_REMOVE, TAILQ_ENTRY, TAILQ_HEAD, TAILQ_INIT, TAILQ_INSERT_AFTER, "
2126 "TAILQ_INSERT_HEAD, TAILQ_INSERT_TAIL, TAILQ_REMOVE, CIRCLEQ_ENTRY, "
2127 "CIRCLEQ_HEAD, CIRCLEQ_INIT, CIRCLEQ_INSERT_AFTER, CIRCLEQ_INSERT_BEFORE, "
2128 "CIRCLEQ_INSERT_HEAD, CIRCLEQ_INSERT_TAIL, CIRCLEQ_REMOVE - implementations "
2129 "of lists, tail queues, and circular queues"
2131 "LIST_ENTRY, LIST_HEAD, LIST_INIT, LIST_INSERT_AFTER, LIST_INSERT_HEAD, "
2132 "LIST_REMOVE, TAILQ_ENTRY, TAILQ_HEAD, TAILQ_INIT, TAILQ_INSERT_AFTER, "
2133 "TAILQ_INSERT_HEAD, TAILQ_INSERT_TAIL, TAILQ_REMOVE, CIRCLEQ_ENTRY, "
2134 "CIRCLEQ_HEAD, CIRCLEQ_INIT, CIRCLEQ_INSERT_AFTER, CIRCLEQ_INSERT_BEFORE, "
2135 "CIRCLEQ_INSERT_HEAD, CIRCLEQ_INSERT_TAIL, CIRCLEQ_REMOVE - リスト・テール "
2136 "(tail) キュー・循環キューの実装"
2139 #: build/C/man3/queue.3:51
2141 msgid "B<#include E<lt>sys/queue.hE<gt>>\n"
2142 msgstr "B<#include E<lt>sys/queue.hE<gt>>\n"
2145 #: build/C/man3/queue.3:60
2148 "B<LIST_ENTRY(>I<TYPE>B<);>\n"
2149 "B<LIST_HEAD(>I<HEADNAME>B<, >I<TYPE>B<);>\n"
2150 "B<LIST_INIT(LIST_HEAD *>I<head>B<);>\n"
2151 "B<LIST_INSERT_AFTER(LIST_ENTRY *>I<listelm>B<, >\n"
2152 "B< TYPE *>I<elm>B<, LIST_ENTRY >I<NAME>B<);>\n"
2153 "B<LIST_INSERT_HEAD(LIST_HEAD *>I<head>B<, >\n"
2154 "B< TYPE *>I<elm>B<, LIST_ENTRY >I<NAME>B<);>\n"
2155 "B<LIST_REMOVE(TYPE *>I<elm>B<, LIST_ENTRY >I<NAME>B<);>\n"
2157 "B<LIST_ENTRY(>I<TYPE>B<);>\n"
2158 "B<LIST_HEAD(>I<HEADNAME>B<, >I<TYPE>B<);>\n"
2159 "B<LIST_INIT(LIST_HEAD *>I<head>B<);>\n"
2160 "B<LIST_INSERT_AFTER(LIST_ENTRY *>I<listelm>B<, >\n"
2161 "B< TYPE *>I<elm>B<, LIST_ENTRY >I<NAME>B<);>\n"
2162 "B<LIST_INSERT_HEAD(LIST_HEAD *>I<head>B<, >\n"
2163 "B< TYPE *>I<elm>B<, LIST_ENTRY >I<NAME>B<);>\n"
2164 "B<LIST_REMOVE(TYPE *>I<elm>B<, LIST_ENTRY >I<NAME>B<);>\n"
2167 #: build/C/man3/queue.3:71
2170 "B<TAILQ_ENTRY(>I<TYPE>B<);>\n"
2171 "B<TAILQ_HEAD(>I<HEADNAME>B<, >I<TYPE>B<);>\n"
2172 "B<TAILQ_INIT(TAILQ_HEAD *>I<head>B<);>\n"
2173 "B<TAILQ_INSERT_AFTER(TAILQ_HEAD *>I<head>B<, TYPE *>I<listelm>B<, >\n"
2174 "B< TYPE *>I<elm>B<, TAILQ_ENTRY >I<NAME>B<);>\n"
2175 "B<TAILQ_INSERT_HEAD(TAILQ_HEAD *>I<head>B<, >\n"
2176 "B< TYPE *>I<elm>B<, TAILQ_ENTRY >I<NAME>B<);>\n"
2177 "B<TAILQ_INSERT_TAIL(TAILQ_HEAD *>I<head>B<, >\n"
2178 "B< TYPE *>I<elm>B<, TAILQ_ENTRY >I<NAME>B<);>\n"
2179 "B<TAILQ_REMOVE(TAILQ_HEAD *>I<head>B<, TYPE *>I<elm>B<, TAILQ_ENTRY >I<NAME>B<);>\n"
2181 "B<TAILQ_ENTRY(>I<TYPE>B<);>\n"
2182 "B<TAILQ_HEAD(>I<HEADNAME>B<, >I<TYPE>B<);>\n"
2183 "B<TAILQ_INIT(TAILQ_HEAD *>I<head>B<);>\n"
2184 "B<TAILQ_INSERT_AFTER(TAILQ_HEAD *>I<head>B<, TYPE *>I<listelm>B<, >\n"
2185 "B< TYPE *>I<elm>B<, TAILQ_ENTRY >I<NAME>B<);>\n"
2186 "B<TAILQ_INSERT_HEAD(TAILQ_HEAD *>I<head>B<, >\n"
2187 "B< TYPE *>I<elm>B<, TAILQ_ENTRY >I<NAME>B<);>\n"
2188 "B<TAILQ_INSERT_TAIL(TAILQ_HEAD *>I<head>B<, >\n"
2189 "B< TYPE *>I<elm>B<, TAILQ_ENTRY >I<NAME>B<);>\n"
2190 "B<TAILQ_REMOVE(TAILQ_HEAD *>I<head>B<, TYPE *>I<elm>B<, TAILQ_ENTRY >I<NAME>B<);>\n"
2193 #: build/C/man3/queue.3:85
2196 "B<CIRCLEQ_ENTRY(>I<TYPE>B<);>\n"
2197 "B<CIRCLEQ_HEAD(>I<HEADNAME>B<, >I<TYPE>B<);>\n"
2198 "B<CIRCLEQ_INIT(CIRCLEQ_HEAD *>I<head>B<);>\n"
2199 "B<CIRCLEQ_INSERT_AFTER(CIRCLEQ_HEAD *>I<head>B<, TYPE *>I<listelm>B<, >\n"
2200 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2201 "B<CIRCLEQ_INSERT_BEFORE(CIRCLEQ_HEAD *>I<head>B<, TYPE *>I<listelm>B<, >\n"
2202 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2203 "B<CIRCLEQ_INSERT_HEAD(CIRCLEQ_HEAD *>I<head>B<, >\n"
2204 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2205 "B<CIRCLEQ_INSERT_TAIL(CIRCLEQ_HEAD *>I<head>B<, >\n"
2206 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2207 "B<CIRCLEQ_REMOVE(CIRCLEQ_HEAD *>I<head>B<, >\n"
2208 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2210 "B<CIRCLEQ_ENTRY(>I<TYPE>B<);>\n"
2211 "B<CIRCLEQ_HEAD(>I<HEADNAME>B<, >I<TYPE>B<);>\n"
2212 "B<CIRCLEQ_INIT(CIRCLEQ_HEAD *>I<head>B<);>\n"
2213 "B<CIRCLEQ_INSERT_AFTER(CIRCLEQ_HEAD *>I<head>B<, TYPE *>I<listelm>B<, >\n"
2214 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2215 "B<CIRCLEQ_INSERT_BEFORE(CIRCLEQ_HEAD *>I<head>B<, TYPE *>I<listelm>B<, >\n"
2216 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2217 "B<CIRCLEQ_INSERT_HEAD(CIRCLEQ_HEAD *>I<head>B<, >\n"
2218 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2219 "B<CIRCLEQ_INSERT_TAIL(CIRCLEQ_HEAD *>I<head>B<, >\n"
2220 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2221 "B<CIRCLEQ_REMOVE(CIRCLEQ_HEAD *>I<head>B<, >\n"
2222 "B< TYPE *>I<elm>B<, CIRCLEQ_ENTRY >I<NAME>B<);>\n"
2225 #: build/C/man3/queue.3:90
2227 "These macros define and operate on three types of data structures: lists, "
2228 "tail queues, and circular queues. All three structures support the "
2229 "following functionality:"
2231 "これらのマクロは、次の 3 つのデータ構造を定義して操作する: リスト・テール"
2232 "キュー・循環キュー。 3 つのデータ構造すべてにおいて以下の機能がサポートされて"
2236 #: build/C/man3/queue.3:95
2237 msgid "Insertion of a new entry at the head of the list."
2238 msgstr "新たなエントリをリストの先頭に挿入する。"
2241 #: build/C/man3/queue.3:97
2242 msgid "Insertion of a new entry after any element in the list."
2243 msgstr "新たなエントリをリストのどの要素よりも後に挿入する。"
2246 #: build/C/man3/queue.3:99
2247 msgid "Removal of any entry in the list."
2248 msgstr "リストの任意のエントリを削除する。"
2251 #: build/C/man3/queue.3:101
2252 msgid "Forward traversal through the list."
2253 msgstr "リストを順方向に辿る。"
2256 #: build/C/man3/queue.3:106
2258 "Lists are the simplest of the three data structures and support only the "
2259 "above functionality."
2261 "リストは 3 つのデータ構造の中で最も単純であり、 上記の機能のみをサポートす"
2265 #: build/C/man3/queue.3:108
2266 msgid "Tail queues add the following functionality:"
2267 msgstr "テールキューは以下の機能を追加する:"
2270 #: build/C/man3/queue.3:111 build/C/man3/queue.3:133
2271 msgid "Entries can be added at the end of a list."
2272 msgstr "エントリをリストの最後に追加できる。"
2275 #: build/C/man3/queue.3:114 build/C/man3/queue.3:141
2280 #: build/C/man3/queue.3:117 build/C/man3/queue.3:144
2286 #: build/C/man3/queue.3:119 build/C/man3/queue.3:146
2287 msgid "All list insertions and removals must specify the head of the list."
2288 msgstr "全てのリスト挿入と削除において、リストの先頭を指定しなければならない。"
2291 #: build/C/man3/queue.3:119 build/C/man3/queue.3:146
2297 #: build/C/man3/queue.3:121 build/C/man3/queue.3:148
2298 msgid "Each head entry requires two pointers rather than one."
2299 msgstr "各先頭エントリは 1 つではなく 2 つのポインタを必要とする。"
2302 #: build/C/man3/queue.3:121 build/C/man3/queue.3:148
2308 #: build/C/man3/queue.3:124
2310 "Code size is about 15% greater and operations run about 20% slower than "
2312 msgstr "リストと比べて、コードサイズは 15% 大きくなり、操作は 20% 遅くなる。"
2315 #: build/C/man3/queue.3:128
2316 msgid "Circular queues add the following functionality:"
2317 msgstr "循環キューは以下の機能を追加する:"
2320 #: build/C/man3/queue.3:135
2321 msgid "Entries can be added before another entry."
2322 msgstr "エントリを他のエントリの前に追加できる。"
2325 #: build/C/man3/queue.3:137
2326 msgid "They may be traversed backward, from tail to head."
2327 msgstr "逆方向に末尾から先頭へ辿ることができる。"
2330 #: build/C/man3/queue.3:150
2331 msgid "The termination condition for traversal is more complex."
2332 msgstr "辿る際の終了条件がより複雑である。"
2335 #: build/C/man3/queue.3:150
2341 #: build/C/man3/queue.3:153
2343 "Code size is about 40% greater and operations run about 45% slower than "
2345 msgstr "リストと比べて、コードサイズは 40% 大きくなり、操作は 45% 遅くなる。"
2348 #: build/C/man3/queue.3:176
2350 "In the macro definitions, I<TYPE> is the name of a user-defined structure, "
2351 "that must contain a field of type B<LIST_ENTRY>, B<TAILQ_ENTRY>, or "
2352 "B<CIRCLEQ_ENTRY>, named I<NAME>. The argument I<HEADNAME> is the name of a "
2353 "user-defined structure that must be declared using the macros B<LIST_HEAD>, "
2354 "B<TAILQ_HEAD>, or B<CIRCLEQ_HEAD>. See the examples below for further "
2355 "explanation of how these macros are used."
2357 "マクロ定義において I<TYPE> はユーザ定義構造体の名前であり、 B<LIST_ENTRY>, "
2358 "B<TAILQ_ENTRY>, B<CIRCLEQ_ENTRY> の何れか型のフィールドと 指定された I<NAME> "
2359 "を含まなければならない。 引き数 I<HEADNAME> はユーザ定義構造体の名前であり、 "
2360 "マクロ B<LIST_HEAD>, B<TAILQ_HEAD>, B<CIRCLEQ_HEAD> を用いて宣言されなければ"
2361 "ならない。 これらのマクロがどのように使われるかについての更なる説明は、 以下"
2365 #: build/C/man3/queue.3:176
2371 #: build/C/man3/queue.3:189
2373 "A list is headed by a structure defined by the B<LIST_HEAD> macro. This "
2374 "structure contains a single pointer to the first element on the list. The "
2375 "elements are doubly linked so that an arbitrary element can be removed "
2376 "without traversing the list. New elements can be added to the list after an "
2377 "existing element or at the head of the list. A B<LIST_HEAD> structure is "
2378 "declared as follows:"
2380 "リストの先頭には、 B<LIST_HEAD> マクロで定義される構造体が置かれる。 この構造"
2381 "体はリストの最初の要素へのポインタを 1 つ含む。 要素は 2 重にリンクされてお"
2382 "り、 任意の要素はリストを辿らずに削除できる。 新しい要素は既存の要素の後また"
2383 "はリストの先頭に追加できる。 B<LIST_HEAD> 構造体は以下のように宣言されている:"
2386 #: build/C/man3/queue.3:193
2388 msgid "LIST_HEAD(HEADNAME, TYPE) head;\n"
2389 msgstr "LIST_HEAD(HEADNAME, TYPE) head;\n"
2392 #: build/C/man3/queue.3:202
2394 "where I<HEADNAME> is the name of the structure to be defined, and I<TYPE> is "
2395 "the type of the elements to be linked into the list. A pointer to the head "
2396 "of the list can later be declared as:"
2398 "ここで I<HEADNAME> は定義される構造体の名前であり、 I<TYPE> はリンク内でリン"
2399 "クされる要素の型である。 リストの先頭へのポインタは、その後で次のように宣言さ"
2403 #: build/C/man3/queue.3:206 build/C/man3/queue.3:299 build/C/man3/queue.3:401
2405 msgid "struct HEADNAME *headp;\n"
2406 msgstr "struct HEADNAME *headp;\n"
2409 #: build/C/man3/queue.3:214 build/C/man3/queue.3:307 build/C/man3/queue.3:409
2410 msgid "(The names I<head> and I<headp> are user selectable.)"
2411 msgstr "(名前 I<head> と I<headp> はユーザが選択できる。)"
2414 #: build/C/man3/queue.3:219
2416 "The macro B<LIST_ENTRY> declares a structure that connects the elements in "
2418 msgstr "マクロ B<LIST_ENTRY> はリストの要素を接続する構造体を宣言する。"
2421 #: build/C/man3/queue.3:224
2422 msgid "The macro B<LIST_INIT> initializes the list referenced by I<head>."
2423 msgstr "マクロ B<LIST_INIT> は I<head> で参照されるリストを初期化する。"
2426 #: build/C/man3/queue.3:230
2428 "The macro B<LIST_INSERT_HEAD> inserts the new element I<elm> at the head of "
2431 "マクロ B<LIST_INSERT_HEAD> は新たな要素 I<elm> をリストの先頭に挿入する。"
2434 #: build/C/man3/queue.3:237
2436 "The macro B<LIST_INSERT_AFTER> inserts the new element I<elm> after the "
2437 "element I<listelm>."
2439 "マクロ B<LIST_INSERT_AFTER> は新たな要素 I<elm> を要素 I<listelm> の後に挿入"
2443 #: build/C/man3/queue.3:243
2444 msgid "The macro B<LIST_REMOVE> removes the element I<elm> from the list."
2445 msgstr "マクロ B<LIST_REMOVE> は要素 I<elm> をリストから削除する。"
2448 #: build/C/man3/queue.3:243
2450 msgid "List example"
2454 #: build/C/man3/queue.3:252
2457 "LIST_HEAD(listhead, entry) head;\n"
2458 "struct listhead *headp; /* List head. */\n"
2461 " LIST_ENTRY(entry) entries; /* List. */\n"
2463 "} *n1, *n2, *np;\n"
2465 "LIST_HEAD(listhead, entry) head;\n"
2466 "struct listhead *headp; /* リストの先頭。*/\n"
2469 " LIST_ENTRY(entry) entries; /* リスト。 */\n"
2471 "} *n1, *n2, *np;\n"
2474 #: build/C/man3/queue.3:254
2476 msgid "LIST_INIT(&head); /* Initialize the list. */\n"
2477 msgstr "LIST_INIT(&head); /* リストを初期化する。*/\n"
2480 #: build/C/man3/queue.3:257
2483 "n1 = malloc(sizeof(struct entry)); /* Insert at the head. */\n"
2484 "LIST_INSERT_HEAD(&head, n1, entries);\n"
2486 "n1 = malloc(sizeof(struct entry)); /* 先頭に挿入する。*/\n"
2487 "LIST_INSERT_HEAD(&head, n1, entries);\n"
2490 #: build/C/man3/queue.3:263
2493 "n2 = malloc(sizeof(struct entry)); /* Insert after. */\n"
2494 "LIST_INSERT_AFTER(n1, n2, entries);\n"
2495 " /* Forward traversal. */\n"
2496 "for (np = head.lh_first; np != NULL; np = np-E<gt>entries.le_next)\n"
2499 "n2 = malloc(sizeof(struct entry)); /* 後ろに挿入する。*/\n"
2500 "LIST_INSERT_AFTER(n1, n2, entries);\n"
2502 "for (np = head.lh_first; np != NULL; np = np-E<gt>entries.le_next)\n"
2505 #. FIXME http://sourceware.org/bugzilla/show_bug.cgi?id=1506
2507 #: build/C/man3/queue.3:267
2510 "while (head.lh_first != NULL) /* Delete. */\n"
2511 " LIST_REMOVE(head.lh_first, entries);\n"
2513 "while (head.lh_first != NULL) /* 削除する。*/\n"
2514 " LIST_REMOVE(head.lh_first, entries);\n"
2517 #: build/C/man3/queue.3:268
2523 #: build/C/man3/queue.3:282
2525 "A tail queue is headed by a structure defined by the B<TAILQ_HEAD> macro. "
2526 "This structure contains a pair of pointers, one to the first element in the "
2527 "tail queue and the other to the last element in the tail queue. The "
2528 "elements are doubly linked so that an arbitrary element can be removed "
2529 "without traversing the tail queue. New elements can be added to the tail "
2530 "queue after an existing element, at the head of the tail queue, or at the "
2531 "end of the tail queue. A B<TAILQ_HEAD> structure is declared as follows:"
2533 "テールキューの先頭には B<TAILQ_HEAD> マクロで定義される構造体が置かれる。 こ"
2534 "の構造体は 1 組のポインタを含んでいる。 1 つはテールキューの最初の要素へのポ"
2535 "インタであり、 もう 1 つはテールキューの最後の要素へのポインタである。 要素"
2536 "は 2 重にリンクされており、 任意の要素はテールキューを辿らずに削除できる。 新"
2537 "しい要素は既存の要素の後またはテールキューの先頭または末尾に追加できる。 "
2538 "B<TAILQ_HEAD> 構造体は以下のように定義されている:"
2541 #: build/C/man3/queue.3:286
2543 msgid "TAILQ_HEAD(HEADNAME, TYPE) head;\n"
2544 msgstr "TAILQ_HEAD(HEADNAME, TYPE) head;\n"
2547 #: build/C/man3/queue.3:295
2549 "where I<HEADNAME> is the name of the structure to be defined, and I<TYPE> is "
2550 "the type of the elements to be linked into the tail queue. A pointer to the "
2551 "head of the tail queue can later be declared as:"
2553 "ここで I<HEADNAME> は定義される構造体の名前であり、 I<TYPE> はテールキュー内"
2554 "でリンクされる要素の型である。 テールキューの先頭へのポインタは、その後で次の"
2558 #: build/C/man3/queue.3:312
2560 "The macro B<TAILQ_ENTRY> declares a structure that connects the elements in "
2562 msgstr "マクロ B<TAILQ_ENTRY> はテールキューの要素を接続する構造体を宣言する。"
2565 #: build/C/man3/queue.3:317
2567 "The macro B<TAILQ_INIT> initializes the tail queue referenced by I<head>."
2568 msgstr "マクロ B<TAILQ_INIT> は I<head> で参照されるテールキューを初期化する。"
2571 #: build/C/man3/queue.3:323
2573 "The macro B<TAILQ_INSERT_HEAD> inserts the new element I<elm> at the head of "
2576 "マクロ B<TAILQ_INSERT_HEAD> は新たな要素 I<elm> をテールキューの先頭に挿入す"
2580 #: build/C/man3/queue.3:329
2582 "The macro B<TAILQ_INSERT_TAIL> inserts the new element I<elm> at the end of "
2585 "マクロ B<TAILQ_INSERT_TAIL> は新たな要素 I<elm> をテールキューの末尾に挿入す"
2589 #: build/C/man3/queue.3:336
2591 "The macro B<TAILQ_INSERT_AFTER> inserts the new element I<elm> after the "
2592 "element I<listelm>."
2594 "マクロ B<TAILQ_INSERT_AFTER> は新たな要素 I<elm> を要素 I<listelm> の後に挿入"
2598 #: build/C/man3/queue.3:342
2600 "The macro B<TAILQ_REMOVE> removes the element I<elm> from the tail queue."
2601 msgstr "マクロ B<TAILQ_REMOVE> は要素 I<elm> をテールキューから削除する。"
2604 #: build/C/man3/queue.3:342
2606 msgid "Tail queue example"
2610 #: build/C/man3/queue.3:351
2613 "TAILQ_HEAD(tailhead, entry) head;\n"
2614 "struct tailhead *headp; /* Tail queue head. */\n"
2617 " TAILQ_ENTRY(entry) entries; /* Tail queue. */\n"
2619 "} *n1, *n2, *np;\n"
2621 "TAILQ_HEAD(tailhead, entry) head;\n"
2622 "struct tailhead *headp; /* テールキューの先頭。*/\n"
2625 " TAILQ_ENTRY(entry) entries; /* テールキュー。*/\n"
2627 "} *n1, *n2, *np;\n"
2630 #: build/C/man3/queue.3:353
2632 msgid "TAILQ_INIT(&head); /* Initialize the queue. */\n"
2633 msgstr "TAILQ_INIT(&head); /* キューを初期化する。*/\n"
2636 #: build/C/man3/queue.3:356
2639 "n1 = malloc(sizeof(struct entry)); /* Insert at the head. */\n"
2640 "TAILQ_INSERT_HEAD(&head, n1, entries);\n"
2642 "n1 = malloc(sizeof(struct entry)); /* 先頭に挿入する。*/\n"
2643 "TAILQ_INSERT_HEAD(&head, n1, entries);\n"
2646 #: build/C/man3/queue.3:359
2649 "n1 = malloc(sizeof(struct entry)); /* Insert at the tail. */\n"
2650 "TAILQ_INSERT_TAIL(&head, n1, entries);\n"
2652 "n1 = malloc(sizeof(struct entry)); /* 末尾に挿入する。*/\n"
2653 "TAILQ_INSERT_TAIL(&head, n1, entries);\n"
2656 #: build/C/man3/queue.3:368
2659 "n2 = malloc(sizeof(struct entry)); /* Insert after. */\n"
2660 "TAILQ_INSERT_AFTER(&head, n1, n2, entries);\n"
2661 " /* Forward traversal. */\n"
2662 "for (np = head.tqh_first; np != NULL; np = np-E<gt>entries.tqe_next)\n"
2665 "while (head.tqh_first != NULL)\n"
2666 " TAILQ_REMOVE(&head, head.tqh_first, entries);\n"
2668 "n2 = malloc(sizeof(struct entry)); /* 後ろに挿入する。*/\n"
2669 "TAILQ_INSERT_AFTER(&head, n1, n2, entries);\n"
2671 "for (np = head.tqh_first; np != NULL; np = np-E<gt>entries.tqe_next)\n"
2674 "while (head.tqh_first != NULL)\n"
2675 " TAILQ_REMOVE(&head, head.tqh_first, entries);\n"
2678 #: build/C/man3/queue.3:369
2680 msgid "Circular queues"
2684 #: build/C/man3/queue.3:384
2686 "A circular queue is headed by a structure defined by the B<CIRCLEQ_HEAD> "
2687 "macro. This structure contains a pair of pointers, one to the first element "
2688 "in the circular queue and the other to the last element in the circular "
2689 "queue. The elements are doubly linked so that an arbitrary element can be "
2690 "removed without traversing the queue. New elements can be added to the "
2691 "queue after an existing element, before an existing element, at the head of "
2692 "the queue, or at the end of the queue. A B<CIRCLEQ_HEAD> structure is "
2693 "declared as follows:"
2695 "循環キューの先頭には B<CIRCLEQ_HEAD> マクロで定義される構造体が置かれる。 こ"
2696 "の構造体は 1 組のポインタを含んでいる。 1 つは循環キューの最初の要素へのポイ"
2697 "ンタであり、 もう 1 つは循環キューの最後の要素へのポインタである。 要素は 2 "
2698 "重にリンクされており、 任意の要素はキューを辿らずに削除できる。 新しい要素"
2699 "は、既存の要素の後または前、またはキューの先頭または末尾に追加できる。 A "
2700 "B<CIRCLEQ_HEAD> 構造体は以下のように定義されている:"
2703 #: build/C/man3/queue.3:388
2705 msgid "CIRCLEQ_HEAD(HEADNAME, TYPE) head;\n"
2706 msgstr "CIRCLEQ_HEAD(HEADNAME, TYPE) head;\n"
2709 #: build/C/man3/queue.3:397
2711 "where I<HEADNAME> is the name of the structure to be defined, and I<TYPE> is "
2712 "the type of the elements to be linked into the circular queue. A pointer to "
2713 "the head of the circular queue can later be declared as:"
2715 "ここで I<HEADNAME> は定義される構造体の名前であり、 I<TYPE> は循環キュー内で"
2716 "リンクされる要素の型である。 循環キューの先頭へのポインタは、その後で次のよう"
2720 #: build/C/man3/queue.3:414
2722 "The macro B<CIRCLEQ_ENTRY> declares a structure that connects the elements "
2723 "in the circular queue."
2724 msgstr "マクロ B<CIRCLEQ_ENTRY> は循環キューの要素を接続する構造体を宣言する。"
2727 #: build/C/man3/queue.3:419
2729 "The macro B<CIRCLEQ_INIT> initializes the circular queue referenced by "
2731 msgstr "マクロ B<CIRCLEQ_INIT> は I<head> で参照される循環キューを初期化する。"
2734 #: build/C/man3/queue.3:425
2736 "The macro B<CIRCLEQ_INSERT_HEAD> inserts the new element I<elm> at the head "
2737 "of the circular queue."
2739 "マクロ B<CIRCLEQ_INSERT_HEAD> は新たな要素 I<elm> を循環キューの先頭に挿入す"
2743 #: build/C/man3/queue.3:431
2745 "The macro B<CIRCLEQ_INSERT_TAIL> inserts the new element I<elm> at the end "
2746 "of the circular queue."
2748 "マクロ B<CIRCLEQ_INSERT_TAIL> は新たな要素 I<elm> を循環キューの末尾に挿入す"
2752 #: build/C/man3/queue.3:438
2754 "The macro B<CIRCLEQ_INSERT_AFTER> inserts the new element I<elm> after the "
2755 "element I<listelm>."
2757 "マクロ B<CIRCLEQ_INSERT_AFTER> は新たな要素 I<elm> を要素 I<listelm> の後に挿"
2761 #: build/C/man3/queue.3:445
2763 "The macro B<CIRCLEQ_INSERT_BEFORE> inserts the new element I<elm> before the "
2764 "element I<listelm>."
2766 "マクロ B<CIRCLEQ_INSERT_AFTER> は新たな要素 I<elm> を要素 I<listelm> の前に挿"
2770 #: build/C/man3/queue.3:451
2772 "The macro B<CIRCLEQ_REMOVE> removes the element I<elm> from the circular "
2774 msgstr "マクロ B<CIRCLEQ_REMOVE> は要素 I<elm> を循環キューから削除する。"
2777 #: build/C/man3/queue.3:451
2779 msgid "Circular queue example"
2783 #: build/C/man3/queue.3:460
2786 "CIRCLEQ_HEAD(circleq, entry) head;\n"
2787 "struct circleq *headp; /* Circular queue head. */\n"
2790 " CIRCLEQ_ENTRY(entry) entries; /* Circular queue. */\n"
2792 "} *n1, *n2, *np;\n"
2794 "CIRCLEQ_HEAD(circleq, entry) head;\n"
2795 "struct circleq *headp; /* 循環キューの先頭。*/\n"
2798 " CIRCLEQ_ENTRY(entry) entries; /* 循環キュー。*/\n"
2800 "} *n1, *n2, *np;\n"
2803 #: build/C/man3/queue.3:462
2805 msgid "CIRCLEQ_INIT(&head); /* Initialize the circular queue. */\n"
2806 msgstr "CIRCLEQ_INIT(&head); /* 循環キューを初期化する。*/\n"
2809 #: build/C/man3/queue.3:465
2812 "n1 = malloc(sizeof(struct entry)); /* Insert at the head. */\n"
2813 "CIRCLEQ_INSERT_HEAD(&head, n1, entries);\n"
2815 "n1 = malloc(sizeof(struct entry)); /* 先頭に挿入する。*/\n"
2816 "CIRCLEQ_INSERT_HEAD(&head, n1, entries);\n"
2819 #: build/C/man3/queue.3:468
2822 "n1 = malloc(sizeof(struct entry)); /* Insert at the tail. */\n"
2823 "CIRCLEQ_INSERT_TAIL(&head, n1, entries);\n"
2825 "n1 = malloc(sizeof(struct entry)); /* 末尾に挿入する。*/\n"
2826 "CIRCLEQ_INSERT_TAIL(&head, n1, entries);\n"
2829 #: build/C/man3/queue.3:471
2832 "n2 = malloc(sizeof(struct entry)); /* Insert after. */\n"
2833 "CIRCLEQ_INSERT_AFTER(&head, n1, n2, entries);\n"
2835 "n2 = malloc(sizeof(struct entry)); /* 後ろに挿入する。*/\n"
2836 "CIRCLEQ_INSERT_AFTER(&head, n1, n2, entries);\n"
2839 #: build/C/man3/queue.3:484
2842 "n2 = malloc(sizeof(struct entry)); /* Insert before. */\n"
2843 "CIRCLEQ_INSERT_BEFORE(&head, n1, n2, entries);\n"
2844 " /* Forward traversal. */\n"
2845 "for (np = head.cqh_first; np != (void *)&head;\n"
2846 " np = np-E<gt>entries.cqe_next)\n"
2848 " /* Reverse traversal. */\n"
2849 "for (np = head.cqh_last; np != (void *)&head; np = np-E<gt>entries.cqe_prev)\n"
2852 "while (head.cqh_first != (void *)&head)\n"
2853 " CIRCLEQ_REMOVE(&head, head.cqh_first, entries);\n"
2855 "n2 = malloc(sizeof(struct entry)); /* 前に挿入する。*/\n"
2856 "CIRCLEQ_INSERT_BEFORE(&head, n1, n2, entries);\n"
2858 "for (np = head.cqh_first; np != (void *)&head; np = np-E<gt>entries.cqe_next)\n"
2861 "for (np = head.cqh_last; np != (void *)&head; np = np-E<gt>entries.cqe_prev)\n"
2864 "while (head.cqh_first != (void *)&head)\n"
2865 " CIRCLEQ_REMOVE(&head, head.cqh_first, entries);\n"
2868 #: build/C/man3/queue.3:491
2870 "Not in POSIX.1-2001. Present on the BSDs. The queue functions first "
2871 "appeared in 4.4BSD."
2873 "POSIX.1-2001 にはない。 BSD 系に存在する。 queue 関数は 4.4BSD で初めて登場し"
2877 #: build/C/man3/realpath.3:28
2883 #: build/C/man3/realpath.3:28
2889 #: build/C/man3/realpath.3:31
2890 msgid "realpath - return the canonicalized absolute pathname"
2891 msgstr "realpath - 正規化された絶対パス名を返す"
2894 #: build/C/man3/realpath.3:35
2897 "B<#include E<lt>limits.hE<gt>>\n"
2898 "B<#include E<lt>stdlib.hE<gt>>\n"
2900 "B<#include E<lt>limits.hE<gt>>\n"
2901 "B<#include E<lt>stdlib.hE<gt>>\n"
2904 #: build/C/man3/realpath.3:37
2906 msgid "B<char *realpath(const char *>I<path>B<, char *>I<resolved_path>B<);>\n"
2907 msgstr "B<char *realpath(const char *>I<path>B<, char *>I<resolved_path>B<);>\n"
2910 #: build/C/man3/realpath.3:45
2911 msgid "B<realpath>():"
2912 msgstr "B<realpath>():"
2915 #: build/C/man3/realpath.3:49
2917 "_BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ "
2918 "_XOPEN_SOURCE_EXTENDED"
2920 "_BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE\\ &&\\ "
2921 "_XOPEN_SOURCE_EXTENDED"
2924 #: build/C/man3/realpath.3:71
2926 "B<realpath>() expands all symbolic links and resolves references to I</./>, "
2927 "I</../> and extra \\(aq/\\(aq characters in the null-terminated string named "
2928 "by I<path> to produce a canonicalized absolute pathname. The resulting "
2929 "pathname is stored as a null-terminated string, up to a maximum of "
2930 "B<PATH_MAX> bytes, in the buffer pointed to by I<resolved_path>. The "
2931 "resulting path will have no symbolic link, I</./> or I</../> components."
2933 "B<realpath>() は I<path> として与えられた NULL 終端された文字列中の すべての"
2934 "シンボリックリンクを展開し、 I</./>, I</../> による参照や余分な \\(aq/\\(aq "
2935 "を解決して、正規化された絶対パス名を生成する。 得られた絶対パス名は、最大で "
2936 "B<PATH_MAX> バイトの NULL 終端された文字列として、 I<resolved_path> により参"
2937 "照されるバッファに格納される。 結果として返るパスの中には、シンボリックリンク"
2938 "や I</./>, I</../> といった要素は含まれない。"
2940 #. Even if we use resolved_path == NULL, then realpath() will still
2941 #. return ENAMETOOLONG if the resolved pathname would exceed PATH_MAX
2942 #. bytes -- MTK, Dec 04
2946 #. function first appeared in 4.4BSD, contributed by Jan-Simon Pendry.
2948 #: build/C/man3/realpath.3:91
2950 "If I<resolved_path> is specified as NULL, then B<realpath>() uses B<malloc>"
2951 "(3) to allocate a buffer of up to B<PATH_MAX> bytes to hold the resolved "
2952 "pathname, and returns a pointer to this buffer. The caller should "
2953 "deallocate this buffer using B<free>(3)."
2955 "I<resolved_path> に NULL が指定されると、 B<realpath>() は B<malloc>(3) を"
2956 "使って解決したパス名を保持するためのバッファを 最大で B<PATH_MAX> バイトまで"
2957 "割り当て、このバッファへのポインタを返す。 呼び出し元は、 B<free>(3) を使っ"
2961 #: build/C/man3/realpath.3:96
2963 "If there is no error, B<realpath>() returns a pointer to the "
2966 "エラーがなかった場合、 B<realpath>() は I<resolved_path> へのポインターを返"
2970 #: build/C/man3/realpath.3:103
2972 "Otherwise, it returns a NULL pointer, the contents of the array "
2973 "I<resolved_path> are undefined, and I<errno> is set to indicate the error."
2975 "それ以外の場合は、ヌル (NULL) ポインターが返り、配列 I<resolved_path> の内容"
2976 "は不定となり、 I<errno> にエラーの内容を示す値がセットされる。"
2979 #: build/C/man3/realpath.3:103
2985 #: build/C/man3/realpath.3:104
2991 #: build/C/man3/realpath.3:107
2993 "Read or search permission was denied for a component of the path prefix."
2995 "パスのディレクトリ部分に、読み出し許可または検索許可が与えられていない。"
2998 #: build/C/man3/realpath.3:107
3003 #. (In libc5 this would just cause a segfault.)
3005 #: build/C/man3/realpath.3:116
3007 "I<path> is NULL. (In glibc versions before 2.3, this error is also returned "
3008 "if I<resolved_path> is NULL.)"
3010 "I<path> が NULL である。 (バージョン 2.3 より前の glibc では、 "
3011 "I<resolved_path> が NULL の場合にもこのエラーが返される。)"
3014 #: build/C/man3/realpath.3:116
3020 #: build/C/man3/realpath.3:119
3021 msgid "An I/O error occurred while reading from the file system."
3022 msgstr "ファイルシステムを読むときに、I/Oエラーが起こった。"
3025 #: build/C/man3/realpath.3:119
3031 #: build/C/man3/realpath.3:122
3032 msgid "Too many symbolic links were encountered in translating the pathname."
3033 msgstr "パス名の変換にあたり、解決すべきシンボリック・リンクの数が多過ぎた。"
3036 #: build/C/man3/realpath.3:122
3038 msgid "B<ENAMETOOLONG>"
3039 msgstr "B<ENAMETOOLONG>"
3042 #: build/C/man3/realpath.3:129
3044 "A component of a pathname exceeded B<NAME_MAX> characters, or an entire "
3045 "pathname exceeded B<PATH_MAX> characters."
3047 "パス名の一要素の文字数が B<NAME_MAX> を越えている、またはパス名全体の文字数"
3048 "が B<PATH_MAX> を越えている。"
3051 #: build/C/man3/realpath.3:129
3057 #: build/C/man3/realpath.3:132
3058 msgid "The named file does not exist."
3059 msgstr "指定されたファイルが存在しない。"
3062 #: build/C/man3/realpath.3:132
3068 #: build/C/man3/realpath.3:135
3069 msgid "A component of the path prefix is not a directory."
3070 msgstr "パスのディレクトリ要素が、ディレクトリでない。"
3073 #: build/C/man3/realpath.3:137
3074 msgid "On Linux, this function appeared in libc 4.5.21."
3075 msgstr "Linux では、この関数が登場したのは libc 4.5.21 である。"
3078 #: build/C/man3/realpath.3:139
3079 msgid "4.4BSD, POSIX.1-2001."
3080 msgstr "4.4BSD, POSIX.1-2001."
3083 #: build/C/man3/realpath.3:144
3085 "POSIX.1-2001 says that the behavior if I<resolved_path> is NULL is "
3086 "implementation-defined. POSIX.1-2008 specifies the behavior described in "
3089 "POSIX.1-2001 では I<resolved_path> が NULL の場合の動作は実装に依存するとして"
3090 "いる。 POSIX.1-2008 では、このマニュアルページに書かれている動作が規定されて"
3094 #: build/C/man3/realpath.3:156
3096 "In 4.4BSD and Solaris, the limit on the pathname length is B<MAXPATHLEN> "
3097 "(found in I<E<lt>sys/param.hE<gt>>). SUSv2 prescribes B<PATH_MAX> and "
3098 "B<NAME_MAX>, as found in I<E<lt>limits.hE<gt>> or provided by the B<pathconf>"
3099 "(3) function. A typical source fragment would be"
3101 "4.4BSD と Solaris では、パス名の長さの上限は (I<E<lt>sys/param.hE<gt>> の中に"
3102 "ある) B<MAXPATHLEN> である。SUSv2 では B<PATH_MAX> と B<NAME_MAX> が規定され"
3103 "ており、 これらは I<E<lt>limits.hE<gt>> で定義されているか、 B<pathconf>(3) "
3104 "関数から得られる。以下のようなソースコードになっていることが多い。"
3107 #: build/C/man3/realpath.3:166
3111 " path_max = PATH_MAX;\n"
3113 " path_max = pathconf(path, _PC_PATH_MAX);\n"
3114 " if (path_max E<lt>= 0)\n"
3115 " path_max = 4096;\n"
3119 " path_max = PATH_MAX;\n"
3121 " path_max = pathconf(path, _PC_PATH_MAX);\n"
3122 " if (path_max E<lt>= 0)\n"
3123 "\t path_max = 4096;\n"
3127 #: build/C/man3/realpath.3:170
3128 msgid "(But see the BUGS section.)"
3129 msgstr "(バグの章も参照のこと。)"
3131 #. 2012-05-05, According to Casper Dik, the statement about
3132 #. Solaris was not true at least as far back as 1997, and
3133 #. may never have been true.
3134 #. The 4.4BSD, Linux and SUSv2 versions always return an absolute
3136 #. Solaris may return a relative pathname when the
3138 #. argument is relative.
3140 #: build/C/man3/realpath.3:184
3142 "The prototype of B<realpath>() is given in I<E<lt>unistd.hE<gt>> in libc4 "
3143 "and libc5, but in I<E<lt>stdlib.hE<gt>> everywhere else."
3145 "B<realpath>() のプロトタイプ宣言は、 libc4 と libc5 では\n"
3146 "I<E<lt>unistd.hE<gt>> にあるが、それ以外の環境ではいずれも\n"
3147 "I<E<lt>stdlib.hE<gt>> にある。"
3150 #: build/C/man3/realpath.3:184
3152 msgid "GNU extensions"
3156 #: build/C/man3/realpath.3:195
3158 "If the call fails with either B<EACCES> or B<ENOENT> and I<resolved_path> is "
3159 "not NULL, then the prefix of I<path> that is not readable or does not exist "
3160 "is returned in I<resolved_path>."
3162 "呼び出しが B<EACCES> か B<ENOENT> で失敗し I<resolved_path> が NULL でない場"
3163 "合、読むことができない、もしくは存在しない I<path> のディレクトリ要素 "
3164 "(prefix) が I<resolved_path> で返される。"
3167 #: build/C/man3/realpath.3:220
3169 "The POSIX.1-2001 standard version of this function is broken by design, "
3170 "since it is impossible to determine a suitable size for the output buffer, "
3171 "I<resolved_path>. According to POSIX.1-2001 a buffer of size B<PATH_MAX> "
3172 "suffices, but B<PATH_MAX> need not be a defined constant, and may have to be "
3173 "obtained using B<pathconf>(3). And asking B<pathconf>(3) does not really "
3174 "help, since, on the one hand POSIX warns that the result of B<pathconf>(3) "
3175 "may be huge and unsuitable for mallocing memory, and on the other hand "
3176 "B<pathconf>(3) may return -1 to signify that B<PATH_MAX> is not bounded. "
3177 "The I<resolved_path\\ ==\\ NULL> feature, not standardized in POSIX.1-2001, "
3178 "but standardized in POSIX.1-2008, allows this design problem to be avoided."
3180 "この関数の POSIX.1-2001 版は、設計段階から問題がある。 出力バッファ "
3181 "I<resolved_path> の適切なサイズを決定することができないからである。 "
3182 "POSIX.1-2001 ではバッファ・サイズとして B<PATH_MAX> は十分だとされているが、 "
3183 "B<PATH_MAX> は定義済の定数である必要はなく、 B<pathconf>(3) を使って得られる"
3184 "値であってもよいことになっている。 B<pathconf>(3) からバッファ・サイズを取得"
3185 "したとしても必ずしも十分ではない。 なぜなら、POSIX で警告されているように、 "
3186 "B<pathconf>(3) の返り値が大き過ぎて適切にメモリを確保することができない かも"
3187 "しれない一方で、 B<pathconf>(3) は B<PATH_MAX> に制限がないことを示す -1 を"
3188 "返すかもしれないからである。 I<resolved_path\\ ==\\ NULL> の機能を使うと、こ"
3189 "の設計上の問題を回避することができる。 この機能は POSIX.1-2001 では標準化され"
3190 "ていないが、 POSIX.1-2008 では標準化されている。"
3193 #: build/C/man3/realpath.3:226
3195 "The libc4 and libc5 implementation contained a buffer overflow (fixed in "
3196 "libc-5.4.13). Thus, set-user-ID programs like B<mount>(8) needed a private "
3199 "libc4 と libc5 の実装はバッファ・オーバーフローの可能性を持っていた "
3200 "(libc-5.4.13 で修正されたが)。したがって、 B<mount>(8) のような set-user-ID "
3201 "されるプログラムでは、この関数相当の関数を自前で持つ必要があった。"
3204 #: build/C/man3/realpath.3:232
3206 "B<readlink>(2), B<canonicalize_file_name>(3), B<getcwd>(3), B<pathconf>(3), "
3209 "B<readlink>(2), B<canonicalize_file_name>(3), B<getcwd>(3), B<pathconf>(3), "
3213 #: build/C/man3/setjmp.3:27
3219 #: build/C/man3/setjmp.3:27
3225 #: build/C/man3/setjmp.3:30
3226 msgid "setjmp, sigsetjmp - save stack context for nonlocal goto"
3228 "setjmp, sigsetjmp - 非局所的なジャンプのために、スタックコンテキスト (stack "
3232 #: build/C/man3/setjmp.3:32
3233 msgid "B<#include E<lt>setjmp.hE<gt>>"
3234 msgstr "B<#include E<lt>setjmp.hE<gt>>"
3237 #: build/C/man3/setjmp.3:35
3239 msgid "B<int setjmp(jmp_buf >I<env>B<);>\n"
3240 msgstr "B<int setjmp(jmp_buf >I<env>B<);>\n"
3243 #: build/C/man3/setjmp.3:37
3245 msgid "B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>B<);>\n"
3246 msgstr "B<int sigsetjmp(sigjmp_buf >I<env>B<, int >I<savesigs>B<);>\n"
3249 #: build/C/man3/setjmp.3:46
3250 msgid "B<setjmp>(): see NOTES."
3251 msgstr "B<setjmp>(): 「注意」参照。"
3254 #: build/C/man3/setjmp.3:49
3256 "B<sigsetjmp>(): _POSIX_C_SOURCE\\ E<gt>=\\ 1 || _XOPEN_SOURCE || "
3259 "B<sigsetjmp>(): _POSIX_C_SOURCE\\ E<gt>=\\ 1 || _XOPEN_SOURCE || "
3263 #: build/C/man3/setjmp.3:63
3265 "B<setjmp>() and B<longjmp>(3) are useful for dealing with errors and "
3266 "interrupts encountered in a low-level subroutine of a program. B<setjmp>() "
3267 "saves the stack context/environment in I<env> for later use by B<longjmp>"
3268 "(3). The stack context will be invalidated if the function which called "
3269 "B<setjmp>() returns."
3271 "B<setjmp>() と B<longjmp>(3) は、プログラムの低レベルなサブルーチン におい"
3272 "て、エラーや割り込みが発生した時の処理に便利である。 B<setjmp>() は、 "
3273 "B<longjmp>(3) によって使われる I<env> に スタックコンテキスト/スタック環境を"
3274 "保存する。 B<setjmp>() を呼び出した 関数が返るときに、そのスタックコンテキス"
3278 #: build/C/man3/setjmp.3:72
3280 "B<sigsetjmp>() is similar to B<setjmp>(). If, and only if, I<savesigs> is "
3281 "nonzero, the process's current signal mask is saved in I<env> and will be "
3282 "restored if a B<siglongjmp>(3) is later performed with this I<env>."
3284 "B<sigsetjmp>() も B<setjmp>() と同様である。 I<savesigs> が 0 以外の場合、 "
3285 "このプロセスの現在のシグナルマスクも I<env> に保存され、 このシグナルは後で "
3286 "B<siglongjmp>(3) がこの I<env> で実行された際に復元される。"
3289 #: build/C/man3/setjmp.3:82
3291 "B<setjmp>() and B<sigsetjmp>() return 0 if returning directly, and nonzero "
3292 "when returning from B<longjmp>(3) or B<siglongjmp>(3) using the saved "
3295 "直接返ってくるときは、 B<setjmp>() と B<sigsetjmp>() は 0 を返し、保存した"
3296 "コンテキストを使って B<longjmp>(3) や B<siglongjmp>(3) から返ってくるとき"
3300 #: build/C/man3/setjmp.3:87
3302 "C89, C99, and POSIX.1-2001 specify B<setjmp>(). POSIX.1-2001 specifies "
3305 "B<setjmp>() は C89, C99, POSIX.1-2001 で規定されている。 B<sigsetjmp>() は "
3306 "POSIX.1-2001 で規定されている。"
3309 #: build/C/man3/setjmp.3:106
3311 "POSIX does not specify whether B<setjmp>() will save the signal mask. In "
3312 "System V it will not. In 4.3BSD it will, and there is a function B<_setjmp> "
3313 "that will not. By default, Linux/glibc follows the System V behavior, but "
3314 "the BSD behavior is provided if the B<_BSD_SOURCE> feature test macro is "
3315 "defined and none of B<_POSIX_SOURCE>, B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, "
3316 "B<_XOPEN_SOURCE_EXTENDED>, B<_GNU_SOURCE>, or B<_SVID_SOURCE> is defined."
3318 "POSIX は、 B<setjmp>() がシグナルマスクを保存すべきかどうかを規定していな"
3319 "い。 System V では保存しない。 4.3BSD では保存する; 4.3BSD にはシグナルコンテ"
3320 "キストを保存しない関数 B<_setjmp> もある。 デフォルトでは、Linux/glibc は "
3321 "System V の振る舞いに従うが、 B<_BSD_SOURCE> 機能検査マクロが定義され、 "
3322 "B<_POSIX_SOURCE>, B<_POSIX_C_SOURCE>, B<_XOPEN_SOURCE>, "
3323 "B<_XOPEN_SOURCE_EXTENDED>, B<_GNU_SOURCE>, B<_SVID_SOURCE> のいずれも定義され"
3324 "ていない時は BSD の振る舞いとなる。"
3327 #: build/C/man3/setjmp.3:111
3329 "If you want to portably save and restore signal masks, use B<sigsetjmp>() "
3330 "and B<siglongjmp>(3)."
3332 "移植性のある形でシグナルマスクを保存および復元したいのなら、 B<sigsetjmp>() "
3333 "と B<siglongjmp>(3) を使うこと。"
3336 #: build/C/man3/setjmp.3:118
3338 "B<setjmp>() and B<sigsetjmp>() make programs hard to understand and "
3339 "maintain. If possible an alternative should be used."
3341 "B<setjmp>() や B<sigsetjmp>() を使うと、プログラムは理解しづらく、保守しに"
3342 "くいものになる。 別の方法が可能なら、それを使うべきである。"
3345 #: build/C/man3/setjmp.3:121
3346 msgid "B<longjmp>(3), B<siglongjmp>(3)"
3347 msgstr "B<longjmp>(3), B<siglongjmp>(3)"
3350 #: build/C/man3/xcrypt.3:13
3356 #: build/C/man3/xcrypt.3:13
3362 #: build/C/man3/xcrypt.3:16
3363 msgid "xencrypt, xdecrypt, passwd2des - RFS password encryption"
3364 msgstr "xencrypt, xdecrypt, passwd2des - RFS パスワード暗号化"
3367 #: build/C/man3/xcrypt.3:18
3368 msgid "B<#include E<lt>rpc/des_crypt.hE<gt>>"
3369 msgstr "B<#include E<lt>rpc/des_crypt.hE<gt>>"
3372 #: build/C/man3/xcrypt.3:20
3373 msgid "B<void passwd2des(char >I<*passwd>B<, char *>I<key>B<);>"
3374 msgstr "B<void passwd2des(char >I<*passwd>B<, char *>I<key>B<);>"
3377 #: build/C/man3/xcrypt.3:22
3378 msgid "B<int xencrypt(char *>I<secret>B<, char *>I<passwd>B<);>"
3379 msgstr "B<int xencrypt(char *>I<secret>B<, char *>I<passwd>B<);>"
3382 #: build/C/man3/xcrypt.3:24
3383 msgid "B<int xdecrypt(char *>I<secret>B<, char *>I<passwd>B<);>"
3384 msgstr "B<int xdecrypt(char *>I<secret>B<, char *>I<passwd>B<);>"
3387 #: build/C/man3/xcrypt.3:40
3389 "The function B<passwd2des>() takes a character string I<passwd> of "
3390 "arbitrary length and fills a character array I<key> of length 8. The array "
3391 "I<key> is suitable for use as DES key. It has odd parity set in bit 0 of "
3392 "each byte. Both other functions described here use this function to turn "
3393 "their argument I<passwd> into a DES key."
3395 "関数 B<passwd2des>() は任意の長さの文字列 I<passwd> をとり、長さ 8 の文字配"
3396 "列 I<key> を埋める。 配列 I<key> は DES キーとして使うのに適している。 この配"
3397 "列の各バイトのビット 0 は奇数パリティである。 ここで説明されている残りの 2 つ"
3398 "の関数は、 この関数を使い、引き数 I<passwd> を DES キーに変換する。"
3400 #. (over the alphabet 0123456789abcdefABCDEF),
3401 #. (over the alphabet 0123456789abcdef)
3403 #: build/C/man3/xcrypt.3:57
3405 "The B<xencrypt>() function takes the ASCII character string I<secret> given "
3406 "in hex, which must have a length that is a multiple of 16, encrypts it using "
3407 "the DES key derived from I<passwd> by B<passwd2des>(), and outputs the "
3408 "result again in I<secret> as a hex string of the same length."
3410 "B<xencrypt>() 関数は 16 進数で与えられた ASCII 文字列 I<secret> をとる。 こ"
3411 "の長さは 16 の倍数でなければならない。 そして B<passwd2des>() によって "
3412 "I<passwd> から導き出された DES キーを使い、 I<secret> を暗号化する。 その結果"
3413 "は 16 進数文字列として I<secret> に再び同じ長さで出力される。"
3416 #: build/C/man3/xcrypt.3:61
3417 msgid "The B<xdecrypt>() function performs the converse operation."
3418 msgstr "B<xdecrypt>() 関数は逆の操作を行う。"
3421 #: build/C/man3/xcrypt.3:67
3423 "The functions B<xencrypt>() and B<xdecrypt>() return 1 on success and 0 on "
3426 "関数 B<xencrypt>() と B<xdecrypt>() は、成功した場合に 1 を返し、失敗した場"
3430 #: build/C/man3/xcrypt.3:70
3432 "These routines are present in libc 4.6.27 and later, and in glibc 2.1 and "
3434 msgstr "これらのルーチンは libc 4.6.27 以降と glibc 2.1 以降に存在する。"
3437 #: build/C/man3/xcrypt.3:72
3438 msgid "The prototypes are missing from the abovementioned include file."
3439 msgstr "上記のインクルードファイルにプロトタイプがない。"
3442 #: build/C/man3/xcrypt.3:74
3443 msgid "B<cbc_crypt>(3)"
3444 msgstr "B<cbc_crypt>(3)"
3446 #~ msgid "1997-03-08"
3447 #~ msgstr "1997-03-08"
3449 #~ msgid "2011-09-10"
3450 #~ msgstr "2011-09-10"