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: 2012-05-01 04:22+0900\n"
10 "PO-Revision-Date: 2012-05-01 05:41+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/bcmp.3:29
25 #: build/C/man3/bcmp.3:29 build/C/man3/bzero.3:29
31 #: build/C/man3/bcmp.3:29 build/C/man3/bcopy.3:31 build/C/man3/bzero.3:29
37 #: build/C/man3/bcmp.3:29 build/C/man3/bcopy.3:31 build/C/man3/bstring.3:30
38 #: build/C/man3/bzero.3:29 build/C/man3/ffs.3:31 build/C/man3/index.3:29
39 #: build/C/man3/memccpy.3:28 build/C/man3/memchr.3:30 build/C/man3/memcmp.3:28
40 #: build/C/man3/memcpy.3:28 build/C/man3/memfrob.3:28 build/C/man3/memmem.3:28
41 #: build/C/man3/memmove.3:28 build/C/man3/mempcpy.3:6 build/C/man3/memset.3:28
42 #: build/C/man3/stpcpy.3:25 build/C/man3/stpncpy.3:12
43 #: build/C/man3/strcasecmp.3:28 build/C/man3/strcat.3:30
44 #: build/C/man3/strchr.3:31 build/C/man3/strcmp.3:30 build/C/man3/strcoll.3:28
45 #: build/C/man3/strcpy.3:33 build/C/man3/strdup.3:29
46 #: build/C/man3/strerror.3:37 build/C/man3/strfry.3:28
47 #: build/C/man3/string.3:28 build/C/man3/strlen.3:28 build/C/man3/strnlen.3:11
48 #: build/C/man3/strpbrk.3:28 build/C/man3/strsep.3:31
49 #: build/C/man3/strsignal.3:28 build/C/man3/strspn.3:28
50 #: build/C/man3/strstr.3:31 build/C/man3/strtok.3:28
51 #: build/C/man3/strverscmp.3:23 build/C/man3/strxfrm.3:28
53 msgid "Linux Programmer's Manual"
54 msgstr "Linux Programmer's Manual"
57 #: build/C/man3/bcmp.3:30 build/C/man3/bcopy.3:32 build/C/man3/bstring.3:31
58 #: build/C/man3/bzero.3:30 build/C/man3/ffs.3:32 build/C/man3/index.3:30
59 #: build/C/man3/memccpy.3:29 build/C/man3/memchr.3:31 build/C/man3/memcmp.3:29
60 #: build/C/man3/memcpy.3:29 build/C/man3/memfrob.3:29 build/C/man3/memmem.3:29
61 #: build/C/man3/memmove.3:29 build/C/man3/mempcpy.3:7 build/C/man3/memset.3:29
62 #: build/C/man3/stpcpy.3:26 build/C/man3/stpncpy.3:13
63 #: build/C/man3/strcasecmp.3:29 build/C/man3/strcat.3:31
64 #: build/C/man3/strchr.3:32 build/C/man3/strcmp.3:31 build/C/man3/strcoll.3:29
65 #: build/C/man3/strcpy.3:34 build/C/man3/strdup.3:30
66 #: build/C/man3/strerror.3:38 build/C/man3/strfry.3:29
67 #: build/C/man3/string.3:29 build/C/man3/strlen.3:29 build/C/man3/strnlen.3:12
68 #: build/C/man3/strpbrk.3:29 build/C/man3/strsep.3:32
69 #: build/C/man3/strsignal.3:29 build/C/man3/strspn.3:29
70 #: build/C/man3/strstr.3:32 build/C/man3/strtok.3:29
71 #: build/C/man3/strverscmp.3:24 build/C/man3/strxfrm.3:29
77 #: build/C/man3/bcmp.3:32
78 msgid "bcmp - compare byte sequences"
79 msgstr "bcmp - バイト列を比較する"
82 #: build/C/man3/bcmp.3:32 build/C/man3/bcopy.3:34 build/C/man3/bstring.3:34
83 #: build/C/man3/bzero.3:32 build/C/man3/ffs.3:34 build/C/man3/index.3:32
84 #: build/C/man3/memccpy.3:31 build/C/man3/memchr.3:33 build/C/man3/memcmp.3:31
85 #: build/C/man3/memcpy.3:31 build/C/man3/memfrob.3:31 build/C/man3/memmem.3:31
86 #: build/C/man3/memmove.3:31 build/C/man3/mempcpy.3:9 build/C/man3/memset.3:31
87 #: build/C/man3/stpcpy.3:28 build/C/man3/stpncpy.3:15
88 #: build/C/man3/strcasecmp.3:31 build/C/man3/strcat.3:33
89 #: build/C/man3/strchr.3:34 build/C/man3/strcmp.3:33 build/C/man3/strcoll.3:31
90 #: build/C/man3/strcpy.3:36 build/C/man3/strdup.3:32
91 #: build/C/man3/strerror.3:40 build/C/man3/strfry.3:31
92 #: build/C/man3/string.3:34 build/C/man3/strlen.3:31 build/C/man3/strnlen.3:14
93 #: build/C/man3/strpbrk.3:31 build/C/man3/strsep.3:34
94 #: build/C/man3/strsignal.3:31 build/C/man3/strspn.3:31
95 #: build/C/man3/strstr.3:34 build/C/man3/strtok.3:31
96 #: build/C/man3/strverscmp.3:26 build/C/man3/strxfrm.3:31
102 #: build/C/man3/bcmp.3:35 build/C/man3/bcopy.3:37 build/C/man3/bzero.3:35
103 #: build/C/man3/ffs.3:37 build/C/man3/index.3:35 build/C/man3/strcasecmp.3:34
104 #: build/C/man3/string.3:37
106 msgid "B<#include E<lt>strings.hE<gt>>\n"
107 msgstr "B<#include E<lt>strings.hE<gt>>\n"
110 #: build/C/man3/bcmp.3:37
112 msgid "B<int bcmp(const void *>I<s1>B<, const void *>I<s2>B<, size_t >I<n>B<);>\n"
113 msgstr "B<int bcmp(const void *>I<s1>B<, const void *>I<s2>B<, size_t >I<n>B<);>\n"
116 #: build/C/man3/bcmp.3:38 build/C/man3/bcopy.3:40 build/C/man3/bstring.3:61
117 #: build/C/man3/bzero.3:38 build/C/man3/ffs.3:72 build/C/man3/index.3:40
118 #: build/C/man3/memccpy.3:37 build/C/man3/memchr.3:52 build/C/man3/memcmp.3:37
119 #: build/C/man3/memcpy.3:37 build/C/man3/memfrob.3:38 build/C/man3/memmem.3:39
120 #: build/C/man3/memmove.3:37 build/C/man3/mempcpy.3:23
121 #: build/C/man3/memset.3:37 build/C/man3/stpcpy.3:53 build/C/man3/stpncpy.3:40
122 #: build/C/man3/strcasecmp.3:39 build/C/man3/strcat.3:41
123 #: build/C/man3/strchr.3:47 build/C/man3/strcmp.3:41 build/C/man3/strcoll.3:37
124 #: build/C/man3/strcpy.3:44 build/C/man3/strdup.3:75
125 #: build/C/man3/strerror.3:65 build/C/man3/strfry.3:39
126 #: build/C/man3/string.3:88 build/C/man3/strlen.3:37 build/C/man3/strnlen.3:39
127 #: build/C/man3/strpbrk.3:37 build/C/man3/strsep.3:48
128 #: build/C/man3/strsignal.3:58 build/C/man3/strspn.3:39
129 #: build/C/man3/strstr.3:46 build/C/man3/strtok.3:50
130 #: build/C/man3/strverscmp.3:34 build/C/man3/strxfrm.3:37
136 #: build/C/man3/bcmp.3:54
138 "The B<bcmp>() function compares the two byte sequences I<s1> and I<s2> of "
139 "length I<n> each. If they are equal, and in particular if I<n> is zero, "
140 "B<bcmp>() returns 0. Otherwise it returns a nonzero result."
142 "B<bcmp>() は、2 つのバイト列 I<s1> と I<s2> の先頭 I<n> バイトを 比較する。"
143 "2 つが等しいか、特に I<n> が 0 の場合 B<bcmp>() は 0 を返す。 さもなければ "
147 #: build/C/man3/bcmp.3:54 build/C/man3/bcopy.3:50 build/C/man3/bzero.3:46
148 #: build/C/man3/ffs.3:85 build/C/man3/index.3:53 build/C/man3/memccpy.3:45
149 #: build/C/man3/memchr.3:103 build/C/man3/memcmp.3:46 build/C/man3/memcpy.3:46
150 #: build/C/man3/memfrob.3:51 build/C/man3/memmem.3:45
151 #: build/C/man3/memmove.3:51 build/C/man3/mempcpy.3:49
152 #: build/C/man3/memset.3:42 build/C/man3/stpcpy.3:61 build/C/man3/stpncpy.3:59
153 #: build/C/man3/strcasecmp.3:52 build/C/man3/strcat.3:91
154 #: build/C/man3/strchr.3:79 build/C/man3/strcmp.3:54 build/C/man3/strcoll.3:49
155 #: build/C/man3/strcpy.3:91 build/C/man3/strdup.3:102
156 #: build/C/man3/strerror.3:134 build/C/man3/strfry.3:47
157 #: build/C/man3/strlen.3:42 build/C/man3/strnlen.3:49
158 #: build/C/man3/strpbrk.3:42 build/C/man3/strsep.3:61
159 #: build/C/man3/strsignal.3:73 build/C/man3/strspn.3:51
160 #: build/C/man3/strstr.3:58 build/C/man3/strtok.3:104
161 #: build/C/man3/strverscmp.3:79 build/C/man3/strxfrm.3:54
167 #: build/C/man3/bcmp.3:59
169 "The B<bcmp>() function returns 0 if the byte sequences are equal, otherwise "
170 "a nonzero result is returned."
171 msgstr "バイト列が等しい場合は 0 、等しくない場合は 0 以外を返す。"
174 #: build/C/man3/bcmp.3:59 build/C/man3/bcopy.3:52 build/C/man3/bzero.3:48
175 #: build/C/man3/ffs.3:89 build/C/man3/index.3:60 build/C/man3/memccpy.3:51
176 #: build/C/man3/memchr.3:122 build/C/man3/memcmp.3:53 build/C/man3/memcpy.3:50
177 #: build/C/man3/memfrob.3:56 build/C/man3/memmem.3:50
178 #: build/C/man3/memmove.3:55 build/C/man3/mempcpy.3:54
179 #: build/C/man3/memset.3:47 build/C/man3/stpcpy.3:66 build/C/man3/stpncpy.3:64
180 #: build/C/man3/strcasecmp.3:61 build/C/man3/strcat.3:97
181 #: build/C/man3/strchr.3:102 build/C/man3/strcmp.3:63
182 #: build/C/man3/strcoll.3:56 build/C/man3/strcpy.3:98
183 #: build/C/man3/strdup.3:111 build/C/man3/strerror.3:173
184 #: build/C/man3/strfry.3:52 build/C/man3/strlen.3:46 build/C/man3/strnlen.3:56
185 #: build/C/man3/strpbrk.3:48 build/C/man3/strsep.3:66
186 #: build/C/man3/strsignal.3:80 build/C/man3/strspn.3:63
187 #: build/C/man3/strstr.3:61 build/C/man3/strtok.3:111
188 #: build/C/man3/strverscmp.3:86 build/C/man3/strxfrm.3:62
190 msgid "CONFORMING TO"
194 #: build/C/man3/bcmp.3:66
196 "4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use "
197 "B<memcmp>(3) in new programs. POSIX.1-2008 removes the specification of "
200 "4.3BSD. この関数は廃止予定である (POSIX.1-2001 では 過去の名残 (LEGACY) とさ"
201 "れている)。新しいプログラムでは B<memcmp>(3) を使うべきである。 "
202 "POSIX.1-2008 では B<bcmp>() の仕様が削除されている。"
205 #: build/C/man3/bcmp.3:66 build/C/man3/bcopy.3:66 build/C/man3/bstring.3:80
206 #: build/C/man3/bzero.3:55 build/C/man3/ffs.3:101 build/C/man3/index.3:71
207 #: build/C/man3/memccpy.3:53 build/C/man3/memchr.3:134
208 #: build/C/man3/memcmp.3:55 build/C/man3/memcpy.3:52 build/C/man3/memfrob.3:61
209 #: build/C/man3/memmem.3:63 build/C/man3/memmove.3:57
210 #: build/C/man3/mempcpy.3:67 build/C/man3/memset.3:49 build/C/man3/stpcpy.3:98
211 #: build/C/man3/stpncpy.3:66 build/C/man3/strcasecmp.3:63
212 #: build/C/man3/strcat.3:99 build/C/man3/strchr.3:109 build/C/man3/strcmp.3:65
213 #: build/C/man3/strcoll.3:63 build/C/man3/strcpy.3:135
214 #: build/C/man3/strdup.3:121 build/C/man3/strerror.3:202
215 #: build/C/man3/strfry.3:57 build/C/man3/string.3:92 build/C/man3/strlen.3:48
216 #: build/C/man3/strnlen.3:58 build/C/man3/strpbrk.3:50
217 #: build/C/man3/strsep.3:86 build/C/man3/strsignal.3:83
218 #: build/C/man3/strspn.3:65 build/C/man3/strstr.3:74 build/C/man3/strtok.3:201
219 #: build/C/man3/strverscmp.3:88 build/C/man3/strxfrm.3:70
225 #: build/C/man3/bcmp.3:73
227 "B<memcmp>(3), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3), B<strncasecmp>"
230 "B<memcmp>(3), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3), B<strncasecmp>"
234 #: build/C/man3/bcmp.3:73 build/C/man3/bcopy.3:72 build/C/man3/bstring.3:92
235 #: build/C/man3/bzero.3:58 build/C/man3/ffs.3:103 build/C/man3/index.3:81
236 #: build/C/man3/memccpy.3:59 build/C/man3/memchr.3:145
237 #: build/C/man3/memcmp.3:63 build/C/man3/memcpy.3:60 build/C/man3/memfrob.3:63
238 #: build/C/man3/memmem.3:65 build/C/man3/memmove.3:64
239 #: build/C/man3/mempcpy.3:72 build/C/man3/memset.3:53
240 #: build/C/man3/stpcpy.3:107 build/C/man3/stpncpy.3:69
241 #: build/C/man3/strcasecmp.3:72 build/C/man3/strcat.3:108
242 #: build/C/man3/strchr.3:122 build/C/man3/strcmp.3:75
243 #: build/C/man3/strcoll.3:71 build/C/man3/strcpy.3:146
244 #: build/C/man3/strdup.3:129 build/C/man3/strerror.3:208
245 #: build/C/man3/strfry.3:60 build/C/man3/string.3:117 build/C/man3/strlen.3:53
246 #: build/C/man3/strnlen.3:60 build/C/man3/strpbrk.3:61
247 #: build/C/man3/strsep.3:96 build/C/man3/strsignal.3:86
248 #: build/C/man3/strspn.3:77 build/C/man3/strstr.3:86 build/C/man3/strtok.3:212
249 #: build/C/man3/strverscmp.3:93 build/C/man3/strxfrm.3:78
255 #: build/C/man3/bcmp.3:80 build/C/man3/bcopy.3:79 build/C/man3/bstring.3:99
256 #: build/C/man3/bzero.3:65 build/C/man3/ffs.3:110 build/C/man3/index.3:88
257 #: build/C/man3/memccpy.3:66 build/C/man3/memchr.3:152
258 #: build/C/man3/memcmp.3:70 build/C/man3/memcpy.3:67 build/C/man3/memfrob.3:70
259 #: build/C/man3/memmem.3:72 build/C/man3/memmove.3:71
260 #: build/C/man3/mempcpy.3:79 build/C/man3/memset.3:60
261 #: build/C/man3/stpcpy.3:114 build/C/man3/stpncpy.3:76
262 #: build/C/man3/strcasecmp.3:79 build/C/man3/strcat.3:115
263 #: build/C/man3/strchr.3:129 build/C/man3/strcmp.3:82
264 #: build/C/man3/strcoll.3:78 build/C/man3/strcpy.3:153
265 #: build/C/man3/strdup.3:136 build/C/man3/strerror.3:215
266 #: build/C/man3/strfry.3:67 build/C/man3/string.3:124 build/C/man3/strlen.3:60
267 #: build/C/man3/strnlen.3:67 build/C/man3/strpbrk.3:68
268 #: build/C/man3/strsep.3:103 build/C/man3/strsignal.3:93
269 #: build/C/man3/strspn.3:84 build/C/man3/strstr.3:93 build/C/man3/strtok.3:219
270 #: build/C/man3/strverscmp.3:100 build/C/man3/strxfrm.3:85
272 "This page is part of release 3.40 of the Linux I<man-pages> project. A "
273 "description of the project, and information about reporting bugs, can be "
274 "found at http://www.kernel.org/doc/man-pages/."
276 "この man ページは Linux I<man-pages> プロジェクトのリリース 3.40 の一部\n"
277 "である。プロジェクトの説明とバグ報告に関する情報は\n"
278 "http://www.kernel.org/doc/man-pages/ に書かれている。"
281 #: build/C/man3/bcopy.3:31
287 #: build/C/man3/bcopy.3:31
293 #: build/C/man3/bcopy.3:34
294 msgid "bcopy - copy byte sequence"
295 msgstr "bcopy - バイト列をコピーする"
298 #: build/C/man3/bcopy.3:39
300 msgid "B<void bcopy(const void *>I<src>B<, void *>I<dest>B<, size_t >I<n>B<);>\n"
301 msgstr "B<void bcopy(const void *>I<src>B<, void *>I<dest>B<, size_t >I<n>B<);>\n"
304 #: build/C/man3/bcopy.3:50
306 "The B<bcopy>() function copies I<n> bytes from I<src> to I<dest>. The "
307 "result is correct, even when both areas overlap."
309 "B<bcopy>() は I<src> から先頭 I<n> バイトを I<dest> にコピーする。 領域が重"
310 "なっていても、結果は正しいものである。"
313 #: build/C/man3/bcopy.3:52 build/C/man3/bzero.3:48
318 #: build/C/man3/bcopy.3:66
320 "4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use "
321 "B<memcpy>(3) or B<memmove>(3) in new programs. Note that the first two "
322 "arguments are interchanged for B<memcpy>(3) and B<memmove>(3). "
323 "POSIX.1-2008 removes the specification of B<bcopy>()."
325 "4.3BSD. この関数は廃止予定である (POSIX.1-2001 では 過去の名残 (LEGACY) とさ"
326 "れている)。新しいプログラムでは B<memcpy>() や B<memmove>() を使用すべきで"
327 "ある。 B<memcpy>() や B<memmove>() では、最初の 2 つの引数の順序が入れ替"
328 "わっていることに注意すること。 POSIX.1-2008 では、 B<bcopy>() の仕様が削除さ"
332 #: build/C/man3/bcopy.3:72
333 msgid "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
335 "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
338 #: build/C/man3/bstring.3:30
344 #: build/C/man3/bstring.3:30
350 #: build/C/man3/bstring.3:34
352 "bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem, "
353 "memmove, memset - byte string operations"
355 "bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem, "
356 "memmove, memset - バイト列の操作を行なう"
359 #: build/C/man3/bstring.3:37 build/C/man3/ffs.3:41 build/C/man3/memccpy.3:34
360 #: build/C/man3/memchr.3:36 build/C/man3/memcmp.3:34 build/C/man3/memcpy.3:34
361 #: build/C/man3/memmove.3:34 build/C/man3/mempcpy.3:14
362 #: build/C/man3/memset.3:34 build/C/man3/stpcpy.3:31 build/C/man3/stpncpy.3:18
363 #: build/C/man3/strcat.3:36 build/C/man3/strchr.3:37 build/C/man3/strcmp.3:36
364 #: build/C/man3/strcoll.3:34 build/C/man3/strcpy.3:39 build/C/man3/strdup.3:35
365 #: build/C/man3/strerror.3:43 build/C/man3/strfry.3:36
366 #: build/C/man3/string.3:47 build/C/man3/strlen.3:34 build/C/man3/strnlen.3:17
367 #: build/C/man3/strpbrk.3:34 build/C/man3/strsep.3:37
368 #: build/C/man3/strsignal.3:34 build/C/man3/strspn.3:34
369 #: build/C/man3/strstr.3:37 build/C/man3/strstr.3:43 build/C/man3/strtok.3:34
370 #: build/C/man3/strverscmp.3:31 build/C/man3/strxfrm.3:34
372 msgid "B<#include E<lt>string.hE<gt>>\n"
373 msgstr "B<#include E<lt>string.hE<gt>>\n"
376 #: build/C/man3/bstring.3:39
378 msgid "B<int bcmp(const void *>I<s1>B<, const void *>I<s2>B<, int >I<n>B<);>\n"
379 msgstr "B<int bcmp(const void *>I<s1>B<, const void *>I<s2>B<, int >I<n>B<);>\n"
382 #: build/C/man3/bstring.3:41
384 msgid "B<void bcopy(const void *>I<src>B<, void *>I<dest>B<, int >I<n>B<);>\n"
385 msgstr "B<void bcopy(const void *>I<src>B<, void *>I<dest>B<, int >I<n>B<);>\n"
388 #: build/C/man3/bstring.3:43
390 msgid "B<void bzero(void *>I<s>B<, int >I<n>B<);>\n"
391 msgstr "B<void bzero(void *>I<s>B<, int >I<n>B<);>\n"
394 #: build/C/man3/bstring.3:45 build/C/man3/memccpy.3:36
396 msgid "B<void *memccpy(void *>I<dest>B<, const void *>I<src>B<, int >I<c>B<, size_t >I<n>B<);>\n"
397 msgstr "B<void *memccpy(void *>I<dest>B<, const void *>I<src>B<, int >I<c>B<, size_t >I<n>B<);>\n"
400 #: build/C/man3/bstring.3:47 build/C/man3/memchr.3:38
402 msgid "B<void *memchr(const void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
403 msgstr "B<void *memchr(const void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
406 #: build/C/man3/bstring.3:49 build/C/man3/memcmp.3:36
408 msgid "B<int memcmp(const void *>I<s1>B<, const void *>I<s2>B<, size_t >I<n>B<);>\n"
409 msgstr "B<int memcmp(const void *>I<s1>B<, const void *>I<s2>B<, size_t >I<n>B<);>\n"
412 #: build/C/man3/bstring.3:51 build/C/man3/memcpy.3:36
414 msgid "B<void *memcpy(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
415 msgstr "B<void *memcpy(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
418 #: build/C/man3/bstring.3:53 build/C/man3/memfrob.3:37
420 msgid "B<void *memfrob(void *>I<s>B<, size_t >I<n>B<);>\n"
421 msgstr "B<void *memfrob(void *>I<s>B<, size_t >I<n>B<);>\n"
424 #: build/C/man3/bstring.3:56
427 "B<void *memmem(const void *>I<needle>B<, size_t >I<needlelen>B<,>\n"
428 "B< const void *>I<haystack>B<, size_t >I<haystacklen>B<);>\n"
430 "B<void *memmem(const void *>I<needle>B<, size_t >I<needlelen>B<,>\n"
431 "B< const void *>I<haystack>B<, size_t >I<haystacklen>B<);>\n"
434 #: build/C/man3/bstring.3:58 build/C/man3/memmove.3:36
436 msgid "B<void *memmove(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
437 msgstr "B<void *memmove(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
440 #: build/C/man3/bstring.3:60 build/C/man3/memset.3:36
442 msgid "B<void *memset(void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
443 msgstr "B<void *memset(void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
446 #: build/C/man3/bstring.3:66
448 "The byte string functions perform operations on strings (byte arrays) that "
449 "are not necessarily null-terminated. See the individual man pages for "
450 "descriptions of each function."
452 "これらの関数は NULL 終端する必要のない文字列 (バイト配列) の操作を行う。 関数"
453 "の詳しい説明は、それぞれの man ページを参照すること。"
456 #: build/C/man3/bstring.3:66 build/C/man3/ffs.3:98 build/C/man3/strcoll.3:58
457 #: build/C/man3/strcpy.3:100 build/C/man3/strsep.3:68
458 #: build/C/man3/strxfrm.3:64
463 #. The old functions are not even available on some non-GNU/Linux systems.
465 #: build/C/man3/bstring.3:80
467 "The functions B<bcmp>(), B<bcopy>() and B<bzero>() are obsolete. Use "
468 "B<memcmp>(), B<memcpy>() and B<memset>() instead."
470 "B<bcmp>(), B<bcopy>(), B<bzero>() 関数は古いものである。代わりに B<memcmp>"
471 "(), B<memcpy>() B<memset>() を使うこと。"
474 #: build/C/man3/bstring.3:92
476 "B<bcmp>(3), B<bcopy>(3), B<bzero>(3), B<memccpy>(3), B<memchr>(3), B<memcmp>"
477 "(3), B<memcpy>(3), B<memfrob>(3), B<memmem>(3), B<memmove>(3), B<memset>(3)"
479 "B<bcmp>(3), B<bcopy>(3), B<bzero>(3), B<memccpy>(3), B<memchr>(3), B<memcmp>"
480 "(3), B<memcpy>(3), B<memfrob>(3), B<memmem>(3), B<memmove>(3), B<memset>(3)"
483 #: build/C/man3/bzero.3:29
489 #: build/C/man3/bzero.3:32
490 msgid "bzero - write zero-valued bytes"
491 msgstr "bzero - 値 0 のバイトで埋める"
494 #: build/C/man3/bzero.3:37
496 msgid "B<void bzero(void *>I<s>B<, size_t >I<n>B<);>\n"
497 msgstr "B<void bzero(void *>I<s>B<, size_t >I<n>B<);>\n"
500 #: build/C/man3/bzero.3:46
502 "The B<bzero>() function sets the first I<n> bytes of the area starting at "
503 "I<s> to zero (bytes containing \\(aq\\e0\\(aq)."
505 "B<bzero>() 関数は バイト列 I<s> から始まる領域の先頭 I<n> バイトを 数値ゼロ "
506 "(値が \\(aq\\e0\\(aq のバイト) で埋める。"
509 #: build/C/man3/bzero.3:55
511 "4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use "
512 "B<memset>(3) in new programs. POSIX.1-2008 removes the specification of "
515 "4.3BSD. この関数は廃止予定である (POSIX.1-2001 では 過去の名残 (LEGACY) とさ"
516 "れている)。新しいプログラムでは B<memset>(3) を使用すべきである。 "
517 "POSIX.1-2008 では B<bzero>() の仕様が削除されている。"
520 #: build/C/man3/bzero.3:58
521 msgid "B<memset>(3), B<swab>(3)"
522 msgstr "B<memset>(3), B<swab>(3)"
525 #: build/C/man3/ffs.3:31
531 #: build/C/man3/ffs.3:31 build/C/man3/strcasecmp.3:28 build/C/man3/strcmp.3:30
532 #: build/C/man3/strcoll.3:28 build/C/man3/strcpy.3:33 build/C/man3/strfry.3:28
533 #: build/C/man3/strpbrk.3:28 build/C/man3/strspn.3:28
539 #: build/C/man3/ffs.3:31 build/C/man3/index.3:29 build/C/man3/memccpy.3:28
540 #: build/C/man3/memfrob.3:28 build/C/man3/memmem.3:28
541 #: build/C/man3/memmove.3:28 build/C/man3/mempcpy.3:6 build/C/man3/memset.3:28
542 #: build/C/man3/stpcpy.3:25 build/C/man3/stpncpy.3:12 build/C/man3/strcat.3:30
543 #: build/C/man3/strchr.3:31 build/C/man3/strcoll.3:28 build/C/man3/strcpy.3:33
544 #: build/C/man3/strdup.3:29 build/C/man3/strfry.3:28 build/C/man3/strlen.3:28
545 #: build/C/man3/strnlen.3:11 build/C/man3/strsep.3:31
546 #: build/C/man3/strsignal.3:28 build/C/man3/strstr.3:31
547 #: build/C/man3/strtok.3:28 build/C/man3/strverscmp.3:23
548 #: build/C/man3/strxfrm.3:28
554 #: build/C/man3/ffs.3:34
555 msgid "ffs, ffsl, ffsll - find first bit set in a word"
556 msgstr "ffs, ffsl, ffsll - ワードの中で最初にセットされているビットの検出"
559 #: build/C/man3/ffs.3:39
561 msgid "B<int ffs(int >I<i>B<);>\n"
562 msgstr "B<int ffs(int >I<i>B<);>\n"
565 #: build/C/man3/ffs.3:43
567 msgid "B<int ffsl(long int >I<i>B<);>\n"
568 msgstr "B<int ffsl(long int >I<i>B<);>\n"
571 #: build/C/man3/ffs.3:45
573 msgid "B<int ffsll(long long int >I<i>B<);>\n"
574 msgstr "B<int ffsll(long long int >I<i>B<);>\n"
577 #: build/C/man3/ffs.3:50 build/C/man3/memchr.3:47 build/C/man3/stpcpy.3:38
578 #: build/C/man3/stpncpy.3:25 build/C/man3/strdup.3:48
579 #: build/C/man3/strerror.3:56 build/C/man3/strnlen.3:24
580 #: build/C/man3/strsep.3:44 build/C/man3/strsignal.3:43
581 #: build/C/man3/strtok.3:43
583 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
584 msgstr "glibc 向けの機能検査マクロの要件 (B<feature_test_macros>(7) 参照):"
587 #: build/C/man3/ffs.3:55
592 #: build/C/man3/ffs.3:56
594 msgid "Since glibc 2.12:"
595 msgstr "glibc 2.10 以降:"
598 #: build/C/man3/ffs.3:60
600 "_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L || "
601 "_XOPEN_SOURCE\\ E<gt>=\\ 700 ||"
603 "_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L || "
604 "_XOPEN_SOURCE\\ E<gt>=\\ 700 ||"
607 #: build/C/man3/ffs.3:60
609 msgid "Before glibc 2.12:"
610 msgstr "glibc 2.10 より前:"
613 #: build/C/man3/ffs.3:63
618 #: build/C/man3/ffs.3:67
619 msgid "B<ffsl>(), B<ffsll>():"
620 msgstr "B<ffsl>(), B<ffsll>():"
623 #: build/C/man3/ffs.3:69 build/C/man3/stpcpy.3:50 build/C/man3/stpncpy.3:37
624 #: build/C/man3/strdup.3:68 build/C/man3/strnlen.3:36
625 #: build/C/man3/strsignal.3:55
630 #: build/C/man3/ffs.3:85
632 "The B<ffs>() function returns the position of the first (least significant) "
633 "bit set in the word I<i>. The least significant bit is position 1 and the "
634 "most significant position is, for example, 32 or 64. The functions B<ffsll>"
635 "() and B<ffsl>() do the same but take arguments of possibly different size."
637 "B<ffs>() 関数は、ワード I<i> の中で最初にセットされている (最下位)ビットの位"
638 "置を返す。 最下位ビットの位置は 1、最上位ビットの位置は例えば 32 や 64 であ"
639 "る。 B<ffsll>() 関数と B<ffsl>() 関数も同様だが、 異なったサイズの引数をと"
643 #: build/C/man3/ffs.3:89
645 "These functions return the position of the first bit set, or 0 if no bits "
648 "これらの関数は、最初にセットされているビットの位置を返し、 I<i> のどのビット"
649 "もセットされていなければ 0 を返す。"
652 #: build/C/man3/ffs.3:92
653 msgid "B<ffs>(): 4.3BSD, POSIX.1-2001."
654 msgstr "B<ffs>(): 4.3BSD, POSIX.1-2001."
657 #: build/C/man3/ffs.3:98
658 msgid "The B<ffsl>() and B<ffsll>() functions are glibc extensions."
659 msgstr "関数 B<ffsl>() と B<ffsll>() は glibc による拡張である。"
662 #: build/C/man3/ffs.3:101
663 msgid "BSD systems have a prototype in I<E<lt>string.hE<gt>>."
664 msgstr "BSD システムでは I<E<lt>string.hE<gt>> にプロトタイプがある。"
667 #: build/C/man3/ffs.3:103
669 msgstr "B<memchr>(3)"
672 #: build/C/man3/index.3:29
678 #: build/C/man3/index.3:29
684 #: build/C/man3/index.3:32
685 msgid "index, rindex - locate character in string"
686 msgstr "index, rindex - 文字列中の文字の位置を示す"
689 #: build/C/man3/index.3:37 build/C/man3/string.3:43
691 msgid "B<char *index(const char *>I<s>B<, int >I<c>B<);>\n"
692 msgstr "B<char *index(const char *>I<s>B<, int >I<c>B<);>\n"
695 #: build/C/man3/index.3:39 build/C/man3/string.3:45
697 msgid "B<char *rindex(const char *>I<s>B<, int >I<c>B<);>\n"
698 msgstr "B<char *rindex(const char *>I<s>B<, int >I<c>B<);>\n"
701 #: build/C/man3/index.3:45
703 "The B<index>() function returns a pointer to the first occurrence of the "
704 "character I<c> in the string I<s>."
706 "B<index>() 関数は、文字列 I<s> 中に最初に文字 I<c> が 現れた位置へのポインタ"
710 #: build/C/man3/index.3:50
712 "The B<rindex>() function returns a pointer to the last occurrence of the "
713 "character I<c> in the string I<s>."
715 "B<rindex>() 関数は、文字列 I<s> 中に最後に文字 I<c> が 現れた位置へのポイン"
719 #: build/C/man3/index.3:53
721 "The terminating null byte (\\(aq\\e0\\(aq) is considered to be a part of the "
724 "文字列を終端する NULL バイト (\\(aq\\e0\\(aq) は、文字列の一部とみなされる。"
727 #: build/C/man3/index.3:60
729 "The B<index>() and B<rindex>() functions return a pointer to the matched "
730 "character or NULL if the character is not found."
732 "B<index>() と B<rindex>() 関数は、一致した文字へのポインタか、 もし文字が見"
736 #: build/C/man3/index.3:71
738 "4.3BSD; marked as LEGACY in POSIX.1-2001. POSIX.1-2008 removes the "
739 "specifications of B<index>() and B<rindex>(), recommending B<strchr>(3) "
740 "and B<strrchr>(3) instead."
742 "4.3BSD; POSIX.1-2001 では「過去の名残 (LEGACY)」と位置付けられている。 "
743 "POSIX.1-2008 では B<index>() と B<rindex>() の仕様が削除されている。 代わり"
744 "に、 B<strchr>(3) と B<strrchr>(3) の使用が推奨されている。"
747 #: build/C/man3/index.3:81
749 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strrchr>(3), "
750 "B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
752 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strrchr>(3), "
753 "B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
756 #: build/C/man3/memccpy.3:28
762 #: build/C/man3/memccpy.3:28
768 #: build/C/man3/memccpy.3:31
769 msgid "memccpy - copy memory area"
770 msgstr "memccpy - メモリ領域をコピーする"
773 #: build/C/man3/memccpy.3:43
775 "The B<memccpy>() function copies no more than I<n> bytes from memory area "
776 "I<src> to memory area I<dest>, stopping when the character I<c> is found."
778 "B<memccpy>() は、メモリ領域 I<src> からメモリ領域 I<dest> に 最大で I<n> バ"
779 "イトのコピーを行う。 I<n> バイトコピーする前に文字 I<c> が見つかると、 そこで"
783 #: build/C/man3/memccpy.3:45
784 msgid "If the memory areas overlap, the results are undefined."
785 msgstr "コピー元とコピー先のメモリ領域が重なっている場合、 結果は不定である。"
788 #: build/C/man3/memccpy.3:51
790 "The B<memccpy>() function returns a pointer to the next character in "
791 "I<dest> after I<c>, or NULL if I<c> was not found in the first I<n> "
792 "characters of I<src>."
794 "B<memccpy>() は、I<dest> 中に見つかった I<c> の 次にあるキャラクター型の変数"
795 "を指すポインタを返す。 見つからなかった場合、NULL を返す。"
798 #: build/C/man3/memccpy.3:53
799 msgid "SVr4, 4.3BSD, POSIX.1-2001."
800 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
803 #: build/C/man3/memccpy.3:59
804 msgid "B<bcopy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
805 msgstr "B<bcopy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
808 #: build/C/man3/memchr.3:30
814 #: build/C/man3/memchr.3:30
820 #: build/C/man3/memchr.3:33
821 msgid "memchr, memrchr, rawmemchr - scan memory for a character"
822 msgstr "memchr, memrchr, rawmemchr - 文字を探すためにメモリをスキャンする"
825 #: build/C/man3/memchr.3:40
827 msgid "B<void *memrchr(const void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
828 msgstr "B<void *memrchr(const void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
831 #: build/C/man3/memchr.3:42
833 msgid "B<void *rawmemchr(const void *>I<s>B<, int >I<c>B<);>\n"
834 msgstr "B<void *rawmemchr(const void *>I<s>B<, int >I<c>B<);>\n"
837 #: build/C/man3/memchr.3:52
838 msgid "B<memrchr>(), B<rawmemchr>(): _GNU_SOURCE"
839 msgstr "B<memrchr>(): B<rawmemchr>(): _GNU_SOURCE"
842 #: build/C/man3/memchr.3:68
844 "The B<memchr>() function scans the initial I<n> bytes of the memory area "
845 "pointed to by I<s> for the first instance of I<c>. Both I<c> and the bytes "
846 "of the memory area pointed to by I<s> are interpreted as I<unsigned char>."
848 "B<memchr>() 関数は、ポインタ I<s> が指し示すメモリ領域の先頭の\n"
849 "I<n> バイトから最初に登場する文字 I<c> を探す。\n"
850 "I<c> と I<s> が指し示すメモリ領域の各バイトは両方とも\n"
851 "I<unsigned char> と解釈される。"
854 #: build/C/man3/memchr.3:79
856 "The B<memrchr>() function is like the B<memchr>() function, except that it "
857 "searches backward from the end of the I<n> bytes pointed to by I<s> instead "
858 "of forward from the beginning."
860 "B<memrchr>() 関数は B<memchr>() 関数に似ているが、 先頭から順方向に探すので"
861 "はなく、 ポインタ I<s> が指し示す I<n> バイトのメモリブロックの 末尾から逆向"
865 #: build/C/man3/memchr.3:97
867 "The B<rawmemchr>() function is similar to B<memchr>(): it assumes (i.e., "
868 "the programmer knows for certain) that an instance of I<c> lies somewhere "
869 "in the memory area starting at the location pointed to by I<s>, and so "
870 "performs an optimized search for I<c> (i.e., no use of a count argument "
871 "argument to limit the range of the search). If an instance of I<c> is not "
872 "found, the results are unpredictable. The following call is a fast means of "
873 "locating a string's terminating null byte:"
875 "B<rawmemchr>() 関数は B<memchr>() と同様だが、 I<c> が I<s> が指す場所\n"
876 "から始まるメモリ領域のどこかにあることを前提にして (つまり、プログラマ\n"
877 "はそのことを知っている)、最適化した方法で I<c> の検索を実行する (すなわ\n"
878 "ち、検索範囲の上限を示す引き数も使用されない)。I<c> が見つからなかった\n"
879 "場合、その結果はどうなるか分からない。次に示す呼び出しは、文字列終端の\n"
880 "NULL バイトの位置を特定する高速な手段である。"
883 #: build/C/man3/memchr.3:101
885 msgid "char *p = rawmemchr(s,\\ \\(aq\\e0\\(aq);\n"
886 msgstr "char *p = rawmemchr(s,\\ \\(aq\\e0\\(aq);\n"
889 #: build/C/man3/memchr.3:111
891 "The B<memchr>() and B<memrchr>() functions return a pointer to the "
892 "matching byte or NULL if the character does not occur in the given memory "
895 "B<memchr>() 関数と B<memrchr>() 関数は一致する文字へのポインタを返し、 もし"
896 "文字が指定メモリ領域に現れない場合は NULL を返す。"
899 #: build/C/man3/memchr.3:116
901 "The B<rawmemchr>() function returns a pointer to the matching byte, if one "
902 "is found. If no matching byte is found, the result is unspecified."
904 "B<rawmemchr>() 関数はマッチするバイトが見つかった場合はマッチしたバイトへの"
905 "ポインタを返す。 マッチするバイトが見つからなかった場合、結果は不定である。"
908 #: build/C/man3/memchr.3:116 build/C/man3/mempcpy.3:51
909 #: build/C/man3/strchr.3:99
915 #: build/C/man3/memchr.3:119
916 msgid "B<rawmemchr>() first appeared in glibc in version 2.1."
917 msgstr "B<rawmemchr>() は glibc バージョン 2.1 で初めて登場した。"
920 #: build/C/man3/memchr.3:122
921 msgid "B<memrchr>() first appeared in glibc in version 2.2."
922 msgstr "B<memrchr>() は glibc バージョン 2.2 で初めて登場した。"
925 #: build/C/man3/memchr.3:126
927 "The B<memchr>() function conforms to SVr4, 4.3BSD, C89, C99, POSIX.1-2001."
928 msgstr "B<memchr>() 関数は SVr4, 4.3BSD, C89, C99, POSIX.1-2001 に準拠する。"
931 #: build/C/man3/memchr.3:130
933 "The B<memrchr>() function is a GNU extension, available since glibc 2.1.91."
934 msgstr "B<memrchr>() 関数は GNU 拡張であり、glibc 2.1.91 から使用可能である。"
937 #: build/C/man3/memchr.3:134
939 "The B<rawmemchr>() function is a GNU extension, available since glibc 2.1."
940 msgstr "B<rawmemchr>() 関数は GNU 拡張であり、glibc 2.1 から使用可能である。"
943 #: build/C/man3/memchr.3:145
945 "B<ffs>(3), B<index>(3), B<rindex>(3), B<strchr>(3), B<strpbrk>(3), B<strrchr>"
946 "(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wmemchr>(3)"
948 "B<ffs>(3), B<index>(3), B<rindex>(3), B<strchr>(3), B<strpbrk>(3), B<strrchr>"
949 "(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wmemchr>(3)"
952 #: build/C/man3/memcmp.3:28
958 #: build/C/man3/memcmp.3:28
964 #: build/C/man3/memcmp.3:31
965 msgid "memcmp - compare memory areas"
966 msgstr "memcmp - メモリ領域を比較する"
969 #: build/C/man3/memcmp.3:46
971 "The B<memcmp>() function compares the first I<n> bytes (each interpreted as "
972 "I<unsigned char>) of the memory areas I<s1> and I<s2>. It returns an "
973 "integer less than, equal to, or greater than zero if I<s1> is found, "
974 "respectively, to be less than, to match, or be greater than I<s2>."
976 "B<memcmp>() 関数は、メモリ領域 I<s1> とI<s2> の最初の I<n> バイトを比較する "
977 "(各バイトは I<unsigned char> として解釈される)。 I<s1> が I<s2> より小さい"
978 "か、同じか、あるいは大きいかによって それぞれ、負の整数、0、正の整数を返す。"
981 #: build/C/man3/memcmp.3:53
983 "The B<memcmp>() function returns an integer less than, equal to, or greater "
984 "than zero if the first I<n> bytes of I<s1> is found, respectively, to be "
985 "less than, to match, or be greater than the first I<n> bytes of I<s2>."
987 "B<memcmp>() 関数は、I<s1> の最初の I<n> バイトが I<s2> の最初の I<n> バイト"
988 "よりも 小さいか、同じか、あるいは大きいかによってそれぞれ、負の整数、0、 正の"
992 #: build/C/man3/memcmp.3:55 build/C/man3/memcpy.3:52 build/C/man3/memmove.3:57
993 #: build/C/man3/memset.3:49
994 msgid "SVr4, 4.3BSD, C89, C99, POSIX.1-2001."
995 msgstr "SVr4, 4.3BSD, C89, C99, POSIX.1-2001."
998 #: build/C/man3/memcmp.3:63
1000 "B<bcmp>(3), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3), B<strncasecmp>"
1001 "(3), B<strncmp>(3), B<wmemcmp>(3)"
1003 "B<bcmp>(3), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3), B<strncasecmp>"
1004 "(3), B<strncmp>(3), B<wmemcmp>(3)"
1007 #: build/C/man3/memcpy.3:28
1013 #: build/C/man3/memcpy.3:28
1019 #: build/C/man3/memcpy.3:31
1020 msgid "memcpy - copy memory area"
1021 msgstr "memcpy - メモリ領域をコピーする。"
1024 #: build/C/man3/memcpy.3:46
1026 "The B<memcpy>() function copies I<n> bytes from memory area I<src> to "
1027 "memory area I<dest>. The memory areas must not overlap. Use B<memmove>(3) "
1028 "if the memory areas do overlap."
1030 "B<memcpy>() はメモリ領域 I<src> の先頭 I<n> バイトを メモリ領域 I<dest> にコ"
1031 "ピーする。コピー元の領域と コピー先の領域が重なってはならない。重なっている場"
1032 "合は B<memmove>(3) を使うこと。"
1035 #: build/C/man3/memcpy.3:50
1036 msgid "The B<memcpy>() function returns a pointer to I<dest>."
1037 msgstr "B<memcpy>() は I<dest> へのポインタを返す。"
1040 #: build/C/man3/memcpy.3:60
1042 "B<bcopy>(3), B<memccpy>(3), B<memmove>(3), B<mempcpy>(3), B<strcpy>(3), "
1043 "B<strncpy>(3), B<wmemcpy>(3)"
1045 "B<bcopy>(3), B<memccpy>(3), B<memmove>(3), B<mempcpy>(3), B<strcpy>(3), "
1046 "B<strncpy>(3), B<wmemcpy>(3)"
1049 #: build/C/man3/memfrob.3:28
1055 #: build/C/man3/memfrob.3:28
1061 #: build/C/man3/memfrob.3:31
1062 msgid "memfrob - frobnicate (encrypt) a memory area"
1063 msgstr "memfrob - メモリエリアの操作 (暗号化)"
1066 #: build/C/man3/memfrob.3:35
1069 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1070 "B<#include E<lt>string.hE<gt>>\n"
1072 "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
1073 "B<#include E<lt>string.hE<gt>>\n"
1076 #: build/C/man3/memfrob.3:48
1078 "The B<memfrob>() function encrypts the first I<n> bytes of the memory area "
1079 "I<s> by exclusive-ORing each character with the number 42. The effect can "
1080 "be reversed by using B<memfrob>() on the encrypted memory area."
1082 "B<memfrob>() 関数は、メモリエリア I<s> の最初の I<n> バイトの それぞれの文字"
1083 "を 42 との排他的論理をとることによって暗号化する。 変換後のデータは、暗号化さ"
1084 "れているメモリエリアに (再度) B<memfrob>() 関数を施すことで、元に戻すことが"
1088 #: build/C/man3/memfrob.3:51
1090 "Note that this function is not a proper encryption routine as the XOR "
1091 "constant is fixed, and is only suitable for hiding strings."
1093 "この関数は妥当な暗号化ルーチンであるとは言えないことに注意して欲しい。 XOR を"
1094 "とる定数を固定しているので、せいぜい、文字列を隠す程度の用法にし か向いていな"
1098 #: build/C/man3/memfrob.3:56
1100 "The B<memfrob>() function returns a pointer to the encrypted memory area."
1101 msgstr "B<memfrob>() 関数は、暗号化されたメモリエリアへのポインタを返す。"
1104 #: build/C/man3/memfrob.3:61
1105 msgid "The B<memfrob>() function is unique to the GNU C Library."
1106 msgstr "B<memfrob>() 関数は GNU C ライブラリに固有である。"
1109 #: build/C/man3/memfrob.3:63
1110 msgid "B<strfry>(3)"
1111 msgstr "B<strfry>(3)"
1114 #: build/C/man3/memmem.3:28
1120 #: build/C/man3/memmem.3:28
1126 #: build/C/man3/memmem.3:31
1127 msgid "memmem - locate a substring"
1128 msgstr "memmem - 部分文字列の位置を示す"
1131 #: build/C/man3/memmem.3:35 build/C/man3/strchr.3:44
1134 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1135 "B<#include E<lt>string.hE<gt>>\n"
1137 "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
1138 "B<#include E<lt>string.hE<gt>>\n"
1141 #: build/C/man3/memmem.3:38
1144 "B<void *memmem(const void *>I<haystack>B<, size_t >I<haystacklen>B<,>\n"
1145 "B< const void *>I<needle>B<, size_t >I<needlelen>B<);>\n"
1147 "B<void *memmem(const void *>I<haystack>B<, size_t >I<haystacklen>B<,>\n"
1148 "B< const void *>I<needle>B<, size_t >I<needlelen>B<);>\n"
1151 #: build/C/man3/memmem.3:45
1153 "The B<memmem>() function finds the start of the first occurrence of the "
1154 "substring I<needle> of length I<needlelen> in the memory area I<haystack> of "
1155 "length I<haystacklen>."
1157 "B<memmem>() 関数は、 I<haystacklen> の大きさを持つメモリ領域 I<haystack> の"
1158 "中で I<needlelen> の大きさを持つ部分文字列 I<needle> が 最初に現れる位置を見"
1162 #: build/C/man3/memmem.3:50
1164 "The B<memmem>() function returns a pointer to the beginning of the "
1165 "substring, or NULL if the substring is not found."
1167 "B<memmem>() 関数は、部分文字列の開始を指すポインタを返し、もし部分文字列が "
1168 "見つからない場合は NULL を返す。"
1171 #: build/C/man3/memmem.3:52 build/C/man3/mempcpy.3:56
1172 #: build/C/man3/strverscmp.3:88
1173 msgid "This function is a GNU extension."
1174 msgstr "この関数は GNU による拡張である。"
1177 #: build/C/man3/memmem.3:52 build/C/man3/stpcpy.3:71 build/C/man3/strcpy.3:124
1178 #: build/C/man3/strsep.3:77 build/C/man3/strstr.3:68 build/C/man3/strtok.3:118
1184 #: build/C/man3/memmem.3:57
1186 "This function was broken in Linux libraries up to and including libc 5.0.9; "
1187 "there the I<needle> and I<haystack> arguments were interchanged, and a "
1188 "pointer to the end of the first occurrence of I<needle> was returned."
1190 "Linux のライブラリに関していうと、 libc 5.0.9 と それ以前のすべてのバージョン"
1191 "で、この関数は壊れている。 それらのライブラリでは I<needle> と I<haystack> 引"
1192 "数が 入れ替わっており、 I<needle> が最初に出現する部分の最後を 示すポインタが"
1196 #: build/C/man3/memmem.3:63
1198 "Both old and new libc's have the bug that if I<needle> is empty, "
1199 "I<haystack-1> (instead of I<haystack>) is returned. And glibc 2.0 makes it "
1200 "worse, returning a pointer to the last byte of I<haystack>. This is fixed "
1203 "新旧両方の libc ライブラリが、 I<needle> が空の場合 (I<haystack> のかわりに) "
1204 "I<haystack-1>\\ が 返されるというバグを持っている。 そして、glibc 2.0 ではさ"
1205 "らに悪くなっており、 I<haystack> の最後のバイトへのポインタを返す。 これは "
1209 #: build/C/man3/memmem.3:65
1210 msgid "B<strstr>(3)"
1211 msgstr "B<strstr>(3)"
1214 #: build/C/man3/memmove.3:28
1220 #: build/C/man3/memmove.3:28
1226 #: build/C/man3/memmove.3:31
1227 msgid "memmove - copy memory area"
1228 msgstr "memmove - メモリ領域をコピーする"
1231 #: build/C/man3/memmove.3:51
1233 "The B<memmove>() function copies I<n> bytes from memory area I<src> to "
1234 "memory area I<dest>. The memory areas may overlap: copying takes place as "
1235 "though the bytes in I<src> are first copied into a temporary array that does "
1236 "not overlap I<src> or I<dest>, and the bytes are then copied from the "
1237 "temporary array to I<dest>."
1239 "B<memmove>() は、メモリ領域 I<src> の先頭 I<n> バイトを メモリ領域 I<dest> "
1240 "にコピーする。コピー元とコピー先の 領域が重なっていてもよい。 最初に I<src> "
1241 "のバイトが I<src> とも I<dest> とも重ならない一時的な配列にコピーされてから、"
1242 "一時的な配列から I<dest> にバイトのコピーが行われたかのように、コピーが行われ"
1246 #: build/C/man3/memmove.3:55
1247 msgid "The B<memmove>() function returns a pointer to I<dest>."
1248 msgstr "B<memmove>() は I<dest> へのポインタを返す。"
1251 #: build/C/man3/memmove.3:64
1253 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<strncpy>(3), "
1256 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<strncpy>(3), "
1260 #: build/C/man3/mempcpy.3:6
1266 #: build/C/man3/mempcpy.3:6
1272 #: build/C/man3/mempcpy.3:9
1273 msgid "mempcpy, wmempcpy - copy memory area"
1274 msgstr "mempcpy, wmempcpy - メモリ領域をコピーする"
1277 #: build/C/man3/mempcpy.3:12 build/C/man3/mempcpy.3:18
1278 #: build/C/man3/strfry.3:34 build/C/man3/strstr.3:41
1279 #: build/C/man3/strverscmp.3:29
1281 msgid "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1282 msgstr "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
1285 #: build/C/man3/mempcpy.3:16
1287 msgid "B<void *mempcpy(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
1288 msgstr "B<void *mempcpy(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
1291 #: build/C/man3/mempcpy.3:20
1293 msgid "B<#include E<lt>wchar.hE<gt>>\n"
1294 msgstr "B<#include E<lt>wchar.hE<gt>>\n"
1297 #: build/C/man3/mempcpy.3:22
1299 msgid "B<wchar_t *wmempcpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t >I<n>B<);>\n"
1300 msgstr "B<wchar_t *wmempcpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t >I<n>B<);>\n"
1303 #: build/C/man3/mempcpy.3:38
1305 "The B<mempcpy>() function is nearly identical to the B<memcpy>(3) "
1306 "function. It copies I<n> bytes from the object beginning at I<src> into the "
1307 "object pointed to by I<dest>. But instead of returning the value of I<dest> "
1308 "it returns a pointer to the byte following the last written byte."
1310 "B<mempcpy>() 関数は B<memcpy>(3) 関数とほぼ同一である。 この関数は、 "
1311 "I<src> で始まるオブジェクトから I<n> バイトを、 I<dest> で指されるオブジェク"
1312 "トにコピーする。 ただし I<dest> の値を返すのではなく、 最後に書き込まれたバイ"
1313 "トの後に続くバイトへのポインタを返す。"
1316 #: build/C/man3/mempcpy.3:41
1318 "This function is useful in situations where a number of objects shall be "
1319 "copied to consecutive memory positions."
1321 "この関数はいくつかのオブジェクトが 連続的なメモリの場所にコピーされるような状"
1325 #: build/C/man3/mempcpy.3:49
1327 "The B<wmempcpy>() function is identical but takes I<wchar_t> type arguments "
1328 "and copies I<n> wide characters."
1330 "B<wmempcpy>() 関数はこの関数と同じであるが、 I<wchar_t> 型の引き数をとり、 "
1331 "I<n> ワイド文字列をコピーする。"
1334 #: build/C/man3/mempcpy.3:51
1335 msgid "I<dest> + I<n>."
1336 msgstr "I<dest> + I<n>."
1339 #: build/C/man3/mempcpy.3:54
1340 msgid "B<mempcpy>() first appeared in glibc in version 2.1."
1341 msgstr "B<mempcpy>() は glibc バージョン 2.1 で初めて登場した。"
1344 #: build/C/man3/mempcpy.3:56 build/C/man3/stpcpy.3:74
1345 #: build/C/man3/strtok.3:134
1351 #: build/C/man3/mempcpy.3:66
1355 "combine(void *o1, size_t s1, void *o2, size_t s2)\n"
1357 " void *result = malloc(s1 + s2);\n"
1358 " if (result != NULL)\n"
1359 " mempcpy(mempcpy(result, o1, s1), o2, s2);\n"
1364 "combine (void *o1, size_t s1, void *o2, size_t s2)\n"
1366 " void *result = malloc(s1 + s2);\n"
1367 " if (result != NULL)\n"
1368 " mempcpy(mempcpy(result, o1, s1), o2, s2);\n"
1372 #: build/C/man3/mempcpy.3:72
1373 msgid "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<wmemcpy>(3)"
1374 msgstr "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<wmemcpy>(3)"
1377 #: build/C/man3/memset.3:28
1383 #: build/C/man3/memset.3:28
1389 #: build/C/man3/memset.3:31
1390 msgid "memset - fill memory with a constant byte"
1391 msgstr "memset - ある一定のバイトでメモリ領域を埋める。"
1394 #: build/C/man3/memset.3:42
1396 "The B<memset>() function fills the first I<n> bytes of the memory area "
1397 "pointed to by I<s> with the constant byte I<c>."
1399 "B<memset>() は I<s> で示されるメモリ領域の先頭から I<n> バイトを I<c> で埋め"
1403 #: build/C/man3/memset.3:47
1404 msgid "The B<memset>() function returns a pointer to the memory area I<s>."
1405 msgstr "B<memset>() は I<s> へのポインタを返す。"
1408 #: build/C/man3/memset.3:53
1409 msgid "B<bzero>(3), B<swab>(3), B<wmemset>(3)"
1410 msgstr "B<bzero>(3), B<swab>(3), B<wmemset>(3)"
1413 #: build/C/man3/stpcpy.3:25
1419 #: build/C/man3/stpcpy.3:25
1425 #: build/C/man3/stpcpy.3:28
1426 msgid "stpcpy - copy a string returning a pointer to its end"
1427 msgstr "stpcpy - 文字列をコピーし、コピーした文字列の終りへのポインタを返す"
1430 #: build/C/man3/stpcpy.3:33 build/C/man3/string.3:49
1432 msgid "B<char *stpcpy(char *>I<dest>B<, const char *>I<src>B<);>\n"
1433 msgstr "B<char *stpcpy(char *>I<dest>B<, const char *>I<src>B<);>\n"
1436 #: build/C/man3/stpcpy.3:41
1437 msgid "B<stpcpy>():"
1438 msgstr "B<stpcpy>():"
1441 #: build/C/man3/stpcpy.3:44 build/C/man3/stpncpy.3:31 build/C/man3/strdup.3:62
1442 #: build/C/man3/strnlen.3:30 build/C/man3/strsignal.3:49
1444 msgid "Since glibc 2.10:"
1445 msgstr "glibc 2.10 以降:"
1448 #: build/C/man3/stpcpy.3:47 build/C/man3/stpncpy.3:34
1449 #: build/C/man3/strnlen.3:33 build/C/man3/strsignal.3:52
1450 msgid "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
1451 msgstr "_XOPEN_SOURCE\\ E<gt>=\\ 700 || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
1454 #: build/C/man3/stpcpy.3:47 build/C/man3/stpncpy.3:34 build/C/man3/strdup.3:65
1455 #: build/C/man3/strnlen.3:33 build/C/man3/strsignal.3:52
1457 msgid "Before glibc 2.10:"
1458 msgstr "glibc 2.10 より前:"
1461 #: build/C/man3/stpcpy.3:61
1463 "The B<stpcpy>() function copies the string pointed to by I<src> (including "
1464 "the terminating null byte (\\(aq\\e0\\(aq)) to the array pointed to by "
1465 "I<dest>. The strings may not overlap, and the destination string I<dest> "
1466 "must be large enough to receive the copy."
1468 "B<stpcpy>() 関数は、I<src> で指された文字列を (文字列を終端する NULL バイト "
1469 "(\\(aq\\e0\\(aq) を含めて) I<dest> で指された配列にコピーする。 文字列は重複"
1470 "してはならず、コピー先の文字列 I<dest> はコピーを受け取る のに十分大きくなく"
1474 #: build/C/man3/stpcpy.3:66
1476 "B<stpcpy>() returns a pointer to the B<end> of the string I<dest> (that is, "
1477 "the address of the terminating null byte) rather than the beginning."
1479 "B<stpcpy>() は、文字列 I<dest> の始まりではなく B<終り>を指すポインタ (すな"
1480 "わち、文字列を終端する NULL バイト) を返す。"
1483 #: build/C/man3/stpcpy.3:71
1485 "This function was added to POSIX.1-2008. Before that, it was not part of the "
1486 "C or POSIX.1 standards, nor customary on UNIX systems, but was not a GNU "
1487 "invention either. Perhaps it came from MS-DOS. It is also present on the "
1490 "この関数は POSIX.1-2008 に追加された。 それ以前は、この関数は C や POSIX.1 標"
1491 "準の一部でも UNIX システムの慣習的なものでもなかったが、 GNU の発明というわけ"
1492 "でもなかった。 ひょっとしたら MS-DOS 由来のものかもしれない。 この関数は BSD "
1496 #: build/C/man3/stpcpy.3:74
1497 msgid "This function may overrun the buffer I<dest>."
1498 msgstr "この関数はバッファ I<dest> の範囲を行き過ぎてしまう可能性がある。"
1501 #: build/C/man3/stpcpy.3:79
1503 "For example, this program uses B<stpcpy>() to concatenate B<foo> and B<bar> "
1504 "to produce B<foobar>, which it then prints."
1506 "例として、このプログラムは B<foo> と B<bar> を連結して B<foobar> を作るため"
1507 "に B<stpcpy>() を使用し、その後表示する。"
1510 #: build/C/man3/stpcpy.3:85
1513 "#define _GNU_SOURCE\n"
1514 "#include E<lt>string.hE<gt>\n"
1515 "#include E<lt>stdio.hE<gt>\n"
1517 "#define _GNU_SOURCE\n"
1518 "#include E<lt>string.hE<gt>\n"
1519 "#include E<lt>stdio.hE<gt>\n"
1522 #: build/C/man3/stpcpy.3:91
1528 " char buffer[20];\n"
1529 " char *to = buffer;\n"
1534 " char buffer[20];\n"
1535 " char *to = buffer;\n"
1538 #: build/C/man3/stpcpy.3:96
1541 " to = stpcpy(to, \"foo\");\n"
1542 " to = stpcpy(to, \"bar\");\n"
1543 " printf(\"%s\\en\", buffer);\n"
1546 " to = stpcpy(to, \"foo\");\n"
1547 " to = stpcpy(to, \"bar\");\n"
1548 " printf(\"%s\\en\", buffer);\n"
1552 #: build/C/man3/stpcpy.3:107
1554 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<stpncpy>(3), "
1555 "B<strcpy>(3), B<string>(3), B<wcpcpy>(3)"
1557 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<stpncpy>(3), "
1558 "B<strcpy>(3), B<string>(3), B<wcpcpy>(3)"
1561 #: build/C/man3/stpncpy.3:12
1567 #: build/C/man3/stpncpy.3:12 build/C/man3/strcat.3:30 build/C/man3/strlen.3:28
1568 #: build/C/man3/strnlen.3:11 build/C/man3/strsep.3:31 build/C/man3/strstr.3:31
1569 #: build/C/man3/strxfrm.3:28
1575 #: build/C/man3/stpncpy.3:15
1576 msgid "stpncpy - copy a fixed-size string, returning a pointer to its end"
1577 msgstr "stpncpy - 固定長の文字列をコピーして、その最後へのポインターを返す"
1580 #: build/C/man3/stpncpy.3:20
1582 msgid "B<char *stpncpy(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
1583 msgstr "B<char *stpncpy(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
1586 #: build/C/man3/stpncpy.3:28
1587 msgid "B<stpncpy>():"
1588 msgstr "B<stpncpy>():"
1591 #: build/C/man3/stpncpy.3:54
1593 "The B<stpncpy>() function copies at most I<n> characters from the string "
1594 "pointed to by I<src>, including the terminating null byte (\\(aq\\e0\\(aq), "
1595 "to the array pointed to by I<dest>. Exactly I<n> characters are written at "
1596 "I<dest>. If the length I<strlen(src)> is smaller than I<n>, the remaining "
1597 "characters in the array pointed to by I<dest> are filled with null bytes "
1598 "(\\(aq\\e0\\(aq), If the length I<strlen(src)> is greater or equal to I<n>, "
1599 "the string pointed to by I<dest> will not be null-terminated."
1601 "B<stpncpy>() 関数は I<src> が指している文字列から終端の NULL バイト (\\(aq"
1602 "\\e0\\(aq) を含めて最大 I<n> バイトを I<dest> にコピーする。長さ I<strlen"
1603 "(src)> が I<n> より小さい場合には I<dest> の残りの 部分には NULL バイト "
1604 "(\\(aq\\e0\\(aq) 文字が埋められる。 長さ I<strlen(src)> が I<n> 以上ならば、 "
1605 "I<dest> が指す文字列は NULL で終端されていない。"
1608 #: build/C/man3/stpncpy.3:56
1609 msgid "The strings may not overlap."
1610 msgstr "二つの文字列は重なってはならない。"
1613 #: build/C/man3/stpncpy.3:59
1615 "The programmer must ensure that there is room for at least I<n> characters "
1618 "プログラマーは I<dest> に少なくとも I<n> バイトの空きがあることを 保証しなけ"
1622 #: build/C/man3/stpncpy.3:64
1624 "B<stpncpy>() returns a pointer to the terminating null byte in I<dest>, or, "
1625 "if I<dest> is not null-terminated, I<dest + n>."
1627 "B<stpncpy>() は I<dest> の終端の NULL バイトを指すポインターを返すか、 "
1628 "I<dest> が NULL バイトで終端されていない場合には I<dest + n> を返す。"
1631 #: build/C/man3/stpncpy.3:66
1633 "This function was added to POSIX.1-2008. Before that, it was a GNU extension."
1635 "この関数は POSIX.1-2008 に追加された。 それ以前は GNU による拡張であった。"
1638 #: build/C/man3/stpncpy.3:69
1639 msgid "B<strncpy>(3), B<wcpncpy>(3)"
1640 msgstr "B<strncpy>(3), B<wcpncpy>(3)"
1643 #: build/C/man3/strcasecmp.3:28
1649 #: build/C/man3/strcasecmp.3:31
1650 msgid "strcasecmp, strncasecmp - compare two strings ignoring case"
1651 msgstr "strcasecmp, strncasecmp - 二つの文字列を大文字小文字を区別せず比較する"
1654 #: build/C/man3/strcasecmp.3:36 build/C/man3/string.3:39
1656 msgid "B<int strcasecmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
1657 msgstr "B<int strcasecmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
1660 #: build/C/man3/strcasecmp.3:38 build/C/man3/string.3:41
1662 msgid "B<int strncasecmp(const char *>I<s1>B<, const char *>I<s2>B<, size_t >I<n>B<);>\n"
1663 msgstr "B<int strncasecmp(const char *>I<s1>B<, const char *>I<s2>B<, size_t >I<n>B<);>\n"
1666 #: build/C/man3/strcasecmp.3:47
1668 "The B<strcasecmp>() function compares the two strings I<s1> and I<s2>, "
1669 "ignoring the case of the characters. It returns an integer less than, equal "
1670 "to, or greater than zero if I<s1> is found, respectively, to be less than, "
1671 "to match, or be greater than I<s2>."
1673 "B<strcasecmp>() 関数は、二つの文字列 I<s1> と I<s2> を、 大文字小文字を区別"
1674 "せずに比較する。 I<s1> が I<s2> よりも小さいか、同じか、大きいかによってそれ"
1675 "ぞれ 負の整数、0、正の整数を返す。"
1678 #: build/C/man3/strcasecmp.3:52
1680 "The B<strncasecmp>() function is similar, except it only compares the first "
1681 "I<n> characters of I<s1>."
1683 "B<strncasecmp>() 関数も同様であるが、 I<s1> の最初の I<n> 文字だけを比較する"
1687 #: build/C/man3/strcasecmp.3:61
1689 "The B<strcasecmp>() and B<strncasecmp>() functions return an integer less "
1690 "than, equal to, or greater than zero if I<s1> (or the first I<n> bytes "
1691 "thereof) is found, respectively, to be less than, to match, or be greater "
1694 "B<strcasecmp>() と B<strncasecmp>() 関数は、I<s1> (または、その最初の I<n> "
1695 "バイト)が I<s2> よりも小さいか、 同じか、大きいかにより、それぞれ負の整数、"
1699 #: build/C/man3/strcasecmp.3:63
1700 msgid "4.4BSD, POSIX.1-2001."
1701 msgstr "4.4BSD, POSIX.1-2001."
1704 #: build/C/man3/strcasecmp.3:72
1706 "B<bcmp>(3), B<memcmp>(3), B<strcmp>(3), B<strcoll>(3), B<string>(3), "
1707 "B<strncmp>(3), B<wcscasecmp>(3), B<wcsncasecmp>(3)"
1709 "B<bcmp>(3), B<memcmp>(3), B<strcmp>(3), B<strcoll>(3), B<string>(3), "
1710 "B<strncmp>(3), B<wcscasecmp>(3), B<wcsncasecmp>(3)"
1713 #: build/C/man3/strcat.3:30
1719 #: build/C/man3/strcat.3:33
1720 msgid "strcat, strncat - concatenate two strings"
1721 msgstr "strcat, strncat - 二つの文字列を連結する"
1724 #: build/C/man3/strcat.3:38 build/C/man3/string.3:51
1726 msgid "B<char *strcat(char *>I<dest>B<, const char *>I<src>B<);>\n"
1727 msgstr "B<char *strcat(char *>I<dest>B<, const char *>I<src>B<);>\n"
1730 #: build/C/man3/strcat.3:40 build/C/man3/string.3:69
1732 msgid "B<char *strncat(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
1733 msgstr "B<char *strncat(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
1736 #: build/C/man3/strcat.3:50
1738 "The B<strcat>() function appends the I<src> string to the I<dest> string, "
1739 "overwriting the terminating null byte (\\(aq\\e0\\(aq) at the end of "
1740 "I<dest>, and then adds a terminating null byte. The strings may not "
1741 "overlap, and the I<dest> string must have enough space for the result."
1743 "B<strcat>() 関数は、I<dest> 文字列の後に I<src> 文字列を付け加える。 その際"
1744 "に、I<dest> の最後にある終端の NULL バイト (\\(aq\\e0\\(aq) は上書きされ、新"
1745 "たに生成された文字列の末尾に終端の NULL バイトが付与される。 二つの文字列 "
1746 "I<src> と I<dest> は重なってはならない。 また、文字列 I<dest> は、連結後の結"
1747 "果を格納するのに 十分な大きさでなければならない。"
1750 #: build/C/man3/strcat.3:54
1751 msgid "The B<strncat>() function is similar, except that"
1752 msgstr "B<strncat>() も同様だが、以下の点が異なる。"
1755 #: build/C/man3/strcat.3:54 build/C/man3/strcat.3:56 build/C/man3/strsep.3:80
1756 #: build/C/man3/strsep.3:82 build/C/man3/strsep.3:84 build/C/man3/strtok.3:121
1757 #: build/C/man3/strtok.3:123 build/C/man3/strtok.3:125
1758 #: build/C/man3/strtok.3:127
1764 #: build/C/man3/strcat.3:56
1765 msgid "it will use at most I<n> characters from I<src>; and"
1766 msgstr "I<src> のうち最大 I<n> 文字が使用される。"
1769 #: build/C/man3/strcat.3:59
1771 "I<src> does not need to be null-terminated if it contains I<n> or more "
1774 "I<src> が I<n> 文字以上の場合、 I<src> は NULL 終端されている必要はない。"
1777 #: build/C/man3/strcat.3:63
1779 "As with B<strcat>(), the resulting string in I<dest> is always null-"
1782 "B<strcat>() と同じく、I<dest> に格納される結果の文字列は常に NULL 終端され"
1786 #: build/C/man3/strcat.3:70
1788 "If I<src> contains I<n> or more characters, B<strncat>() writes I<n+1> "
1789 "characters to I<dest> (I<n> from I<src> plus the terminating null byte). "
1790 "Therefore, the size of I<dest> must be at least I<strlen(dest)+n+1>."
1792 "I<src> が I<n> 文字以上の場合、 B<strncat>() は I<dest> に I<n+1> 文字を書き"
1793 "込む (I<src> からの I<n> 文字と終端の NULL バイトである)。 したがって、"
1794 "I<dest> の大きさは最低でも I<strlen(dest)+n+1> でなければならない。"
1797 #: build/C/man3/strcat.3:74
1798 msgid "A simple implementation of B<strncat>() might be:"
1799 msgstr "B<strncat>() の簡単な実装は以下のような感じであろう:"
1802 #: build/C/man3/strcat.3:82
1806 "strncat(char *dest, const char *src, size_t n)\n"
1808 " size_t dest_len = strlen(dest);\n"
1812 "strncat(char *dest, const char *src, size_t n)\n"
1814 " size_t dest_len = strlen(dest);\n"
1818 #: build/C/man3/strcat.3:86
1821 " for (i = 0 ; i E<lt> n && src[i] != \\(aq\\e0\\(aq ; i++)\n"
1822 " dest[dest_len + i] = src[i];\n"
1823 " dest[dest_len + i] = \\(aq\\e0\\(aq;\n"
1825 " for (i = 0 ; i E<lt> n && src[i] != \\(aq\\e0\\(aq ; i++)\n"
1826 " dest[dest_len + i] = src[i];\n"
1827 " dest[dest_len + i] = \\(aq\\e0\\(aq;\n"
1830 #: build/C/man3/strcat.3:89 build/C/man3/strcpy.3:89
1840 #: build/C/man3/strcat.3:97
1842 "The B<strcat>() and B<strncat>() functions return a pointer to the "
1843 "resulting string I<dest>."
1845 "B<strcat>() 関数と B<strncat>() 関数は、結果としてできる文字列 I<dest> への"
1849 #: build/C/man3/strcat.3:99 build/C/man3/strcmp.3:65 build/C/man3/strcoll.3:58
1850 #: build/C/man3/strcpy.3:100 build/C/man3/strlen.3:48
1851 #: build/C/man3/strpbrk.3:50 build/C/man3/strspn.3:65
1852 #: build/C/man3/strxfrm.3:64
1853 msgid "SVr4, 4.3BSD, C89, C99."
1854 msgstr "SVr4, 4.3BSD, C89, C99."
1857 #: build/C/man3/strcat.3:108
1859 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), "
1860 "B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)"
1862 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), "
1863 "B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)"
1866 #: build/C/man3/strchr.3:31
1872 #: build/C/man3/strchr.3:31
1878 #: build/C/man3/strchr.3:34
1879 msgid "strchr, strrchr, strchrnul - locate character in string"
1880 msgstr "strchr, strrchr, strchrnul - 文字列中の文字の位置を特定する"
1883 #: build/C/man3/strchr.3:39 build/C/man3/string.3:53
1885 msgid "B<char *strchr(const char *>I<s>B<, int >I<c>B<);>\n"
1886 msgstr "B<char *strchr(const char *>I<s>B<, int >I<c>B<);>\n"
1889 #: build/C/man3/strchr.3:41 build/C/man3/string.3:77
1891 msgid "B<char *strrchr(const char *>I<s>B<, int >I<c>B<);>\n"
1892 msgstr "B<char *strrchr(const char *>I<s>B<, int >I<c>B<);>\n"
1895 #: build/C/man3/strchr.3:46
1897 msgid "B<char *strchrnul(const char *>I<s>B<, int >I<c>B<);>\n"
1898 msgstr "B<char *strchrnul(const char *>I<s>B<, int >I<c>B<);>\n"
1901 #: build/C/man3/strchr.3:55
1903 "The B<strchr>() function returns a pointer to the first occurrence of the "
1904 "character I<c> in the string I<s>."
1906 "B<strchr>() 関数は、文字列 I<s> 中に最初に文字 I<c> が現れた位置へのポインタ"
1910 #: build/C/man3/strchr.3:63
1912 "The B<strrchr>() function returns a pointer to the last occurrence of the "
1913 "character I<c> in the string I<s>."
1915 "B<strrchr>() 関数は、文字列 I<s> 中に最後に文字 I<c> が現れた位置へのポイン"
1919 #: build/C/man3/strchr.3:76
1921 "The B<strchrnul>() function is like B<strchr>() except that if I<c> is not "
1922 "found in I<s>, then it returns a pointer to the null byte at the end of "
1923 "I<s>, rather than NULL."
1925 "B<strchrnul>() 関数は B<strchr>() と同様だが、 I<c> が I<s> 中に見つからな"
1926 "かった場合に、返り値として NULL でなく、I<s> の末尾のヌルバイトへのポインタを"
1930 #: build/C/man3/strchr.3:79
1932 "Here \"character\" means \"byte\"; these functions do not work with wide or "
1933 "multibyte characters."
1935 "ここでいう「文字」は「バイト」の意味なので、 これらの関数はワイド文字やマルチ"
1939 #: build/C/man3/strchr.3:91
1941 "The B<strchr>() and B<strrchr>() functions return a pointer to the matched "
1942 "character or NULL if the character is not found. The terminating null byte "
1943 "is considered part of the string, so that if I<c> is specified as \\(aq"
1944 "\\e0\\(aq, these functions return a pointer to the terminator."
1946 "B<strchr>() と B<strrchr>() 関数は一致した文字へのポインタを返し、もし\n"
1947 "文字が見つからない場合は NULL を返す。終端の NULL バイトは文字列の一部と\n"
1948 "みなされ、I<c> に \\(aq\\e0\\(aq が指定された場合には、これらの関数は\n"
1949 "終端の NULL バイトへのポインタを返す。"
1952 #: build/C/man3/strchr.3:99
1954 "The B<strchrnul>() function returns a pointer to the matched character, or "
1955 "a pointer to the null byte at the end of I<s> (i.e., I<s+strlen(s)>) if the "
1956 "character is not found."
1958 "B<strchrnul>() 関数は一致した文字へのポインタを返す。 文字が見つからない場合"
1959 "は、I<s> の末尾のヌルバイトへの ポインタ (つまり I<s+strlen(s)>) を返す。"
1962 #: build/C/man3/strchr.3:102
1963 msgid "B<strchrnul>() first appeared in glibc in version 2.1.1."
1964 msgstr "B<strchrnul>() は glibc バージョン 2.1.1 で初めて登場した。"
1967 #: build/C/man3/strchr.3:109
1969 "B<strchr>() and B<strrchr>() are in SVr4, 4.3BSD, C89, C99. B<strchrnul>"
1970 "() is a GNU extension."
1972 "B<strchr>() と B<strrchr>() は SVr4, 4.3BSD, C89, C99 に準拠している。 "
1973 "B<strchrnul>() は GNU 拡張である。"
1976 #: build/C/man3/strchr.3:122
1978 "B<index>(3), B<memchr>(3), B<rindex>(3), B<string>(3), B<strlen>(3), "
1979 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), "
1980 "B<wcschr>(3), B<wcsrchr>(3)"
1982 "B<index>(3), B<memchr>(3), B<rindex>(3), B<string>(3), B<strlen>(3), "
1983 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), "
1984 "B<wcschr>(3), B<wcsrchr>(3)"
1987 #: build/C/man3/strcmp.3:30
1993 #: build/C/man3/strcmp.3:33
1994 msgid "strcmp, strncmp - compare two strings"
1995 msgstr "strcmp, strncmp - 二つの文字列を比べる"
1998 #: build/C/man3/strcmp.3:38 build/C/man3/string.3:55
2000 msgid "B<int strcmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
2001 msgstr "B<int strcmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
2004 #: build/C/man3/strcmp.3:40 build/C/man3/string.3:71
2006 msgid "B<int strncmp(const char *>I<s1>B<, const char *>I<s2>B<, size_t >I<n>B<);>\n"
2007 msgstr "B<int strncmp(const char *>I<s1>B<, const char *>I<s2>B<, size_t >I<n>B<);>\n"
2010 #: build/C/man3/strcmp.3:49
2012 "The B<strcmp>() function compares the two strings I<s1> and I<s2>. It "
2013 "returns an integer less than, equal to, or greater than zero if I<s1> is "
2014 "found, respectively, to be less than, to match, or be greater than I<s2>."
2016 "B<strcmp>() 関数は二つの文字列 I<s1> と I<s2> を較べる。 この関数は、 I<s1> "
2017 "が I<s2> に較べて 1)小さい、2)等しい、3)大きい場合に、 ゼロよりも 1)小さい、"
2021 #: build/C/man3/strcmp.3:54
2023 "The B<strncmp>() function is similar, except it only compares the first (at "
2024 "most) I<n> characters of I<s1> and I<s2>."
2026 "B<strncmp>() 関数は、I<s1> と I<s2> の最初の I<n> 文字だけを比較することを除"
2027 "けば、strcmp()と同様である。"
2030 #: build/C/man3/strcmp.3:63
2032 "The B<strcmp>() and B<strncmp>() functions return an integer less than, "
2033 "equal to, or greater than zero if I<s1> (or the first I<n> bytes thereof) is "
2034 "found, respectively, to be less than, to match, or be greater than I<s2>."
2036 "B<strcmp>() 関数と B<strncmp>() 関数は整数を返す。 この整数は、ゼロよりも、"
2037 "1)小さい、2)等しい、3)大きいのいずれかである。 それぞれは、I<s1>(または、こ"
2038 "の文字列の最初の I<n> バイト)が I<s2> よりも、1)小さい、2)等しい、3)大きいに"
2042 #: build/C/man3/strcmp.3:75
2044 "B<bcmp>(3), B<memcmp>(3), B<strcasecmp>(3), B<strcoll>(3), B<string>(3), "
2045 "B<strncasecmp>(3), B<strverscmp>(3), B<wcscmp>(3), B<wcsncmp>(3)"
2047 "B<bcmp>(3), B<memcmp>(3), B<strcasecmp>(3), B<strcoll>(3), B<string>(3), "
2048 "B<strncasecmp>(3), B<strverscmp>(3), B<wcscmp>(3), B<wcsncmp>(3)"
2051 #: build/C/man3/strcoll.3:28
2057 #: build/C/man3/strcoll.3:31
2058 msgid "strcoll - compare two strings using the current locale"
2059 msgstr "strcoll - 現在のロケールを使用して二つの文字列を比較する"
2062 #: build/C/man3/strcoll.3:36 build/C/man3/string.3:57
2064 msgid "B<int strcoll(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
2065 msgstr "B<int strcoll(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
2068 #: build/C/man3/strcoll.3:49
2070 "The B<strcoll>() function compares the two strings I<s1> and I<s2>. It "
2071 "returns an integer less than, equal to, or greater than zero if I<s1> is "
2072 "found, respectively, to be less than, to match, or be greater than I<s2>. "
2073 "The comparison is based on strings interpreted as appropriate for the "
2074 "program's current locale for category B<LC_COLLATE>. (See B<setlocale>(3).)"
2076 "B<strcoll>() 関数は二つの文字列 I<s1> と I<s2> を比較する。 この関数は、"
2077 "I<s1> が I<s2> よりも小さいか、等しいか、大きいかによって それぞれ負の整数、"
2078 "0、正の整数を返す。 比較は、プログラムの現在のロケールの B<LC_COLLATE> カテゴ"
2079 "リに応じて 解釈された文字列に基づいて行われる (B<setlocale>(3) 参照)。"
2082 #: build/C/man3/strcoll.3:56
2084 "The B<strcoll>() function returns an integer less than, equal to, or "
2085 "greater than zero if I<s1> is found, respectively, to be less than, to "
2086 "match, or be greater than I<s2>, when both are interpreted as appropriate "
2087 "for the current locale."
2089 "B<strcoll>() 関数は、I<s1> が I<s2> よりも小さいか、等しいか、 大きいかに"
2090 "よって、それぞれ負の整数、0、正の整数を返す。 どちらの文字列も現在のロケール"
2091 "に応じて解釈されたものが使用される。"
2094 #: build/C/man3/strcoll.3:63
2096 "In the I<\"POSIX\"> or I<\"C\"> locales B<strcoll>() is equivalent to "
2099 "I<\"POSIX\"> および I<\"C\"> ロケールにおいては、 B<strcoll>() は B<strcmp>"
2103 #: build/C/man3/strcoll.3:71
2105 "B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
2106 "B<string>(3), B<strxfrm>(3)"
2108 "B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
2109 "B<string>(3), B<strxfrm>(3)"
2112 #: build/C/man3/strcpy.3:33
2118 #: build/C/man3/strcpy.3:36
2119 msgid "strcpy, strncpy - copy a string"
2120 msgstr "strcpy, strncpy - 文字列をコピーする"
2123 #: build/C/man3/strcpy.3:41 build/C/man3/string.3:59
2125 msgid "B<char *strcpy(char *>I<dest>B<, const char *>I<src>B<);>\n"
2126 msgstr "B<char *strcpy(char *>I<dest>B<, const char *>I<src>B<);>\n"
2129 #: build/C/man3/strcpy.3:43 build/C/man3/string.3:73
2131 msgid "B<char *strncpy(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
2132 msgstr "B<char *strncpy(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
2135 #: build/C/man3/strcpy.3:52
2137 "The B<strcpy>() function copies the string pointed to by I<src>, including "
2138 "the terminating null byte (\\(aq\\e0\\(aq), to the buffer pointed to by "
2139 "I<dest>. The strings may not overlap, and the destination string I<dest> "
2140 "must be large enough to receive the copy."
2142 "B<strcpy>() 関数は I<src> が指す文字列を末尾のヌルバイト (\\(aq\\e0\\(aq) も"
2143 "含めて I<dest> が指すバッファにコピーする。 二つの文字列は重なってはならな"
2144 "い。受け側の文字列 I<dest> は コピーを受け取るのに十分な大きさでなければなら"
2148 #: build/C/man3/strcpy.3:61
2150 "The B<strncpy>() function is similar, except that at most I<n> bytes of "
2151 "I<src> are copied. B<Warning>: If there is no null byte among the first "
2152 "I<n> bytes of I<src>, the string placed in I<dest> will not be null-"
2155 "B<strncpy>() 関数も同様だが、 I<src> のうち最大でも I<n> バイトしかコピーさ"
2156 "れない点が異なる。 B<警告>: I<src> の最初の I<n> バイトの中にヌルバイトがない"
2157 "場合、 I<dest> に格納される文字列はヌルで終端されないことになる。"
2160 #: build/C/man3/strcpy.3:70
2162 "If the length of I<src> is less than I<n>, B<strncpy>() pads the remainder "
2163 "of I<dest> with null bytes."
2165 "I<src> の長さが I<n> よりも短い場合、 B<strncpy>() は I<dest> の残りをヌルバ"
2169 #: build/C/man3/strcpy.3:74
2170 msgid "A simple implementation of B<strncpy>() might be:"
2171 msgstr "B<strncpy>() の簡単な実装は以下のような感じであろう:"
2174 #: build/C/man3/strcpy.3:81
2178 "strncpy(char *dest, const char *src, size_t n)\n"
2183 "strncpy(char *dest, const char *src, size_t n)\n"
2188 #: build/C/man3/strcpy.3:86
2191 " for (i = 0; i E<lt> n && src[i] != \\(aq\\e0\\(aq; i++)\n"
2192 " dest[i] = src[i];\n"
2193 " for ( ; i E<lt> n; i++)\n"
2194 " dest[i] = \\(aq\\e0\\(aq;\n"
2196 " for (i = 0; i E<lt> n && src[i] != \\(aq\\e0\\(aq; i++)\n"
2197 " dest[i] = src[i];\n"
2198 " for ( ; i E<lt> n; i++)\n"
2199 " dest[i] = \\(aq\\e0\\(aq;\n"
2202 #: build/C/man3/strcpy.3:98
2204 "The B<strcpy>() and B<strncpy>() functions return a pointer to the "
2205 "destination string I<dest>."
2207 "B<strcpy>() 関数と B<strncpy>() 関数は 受け側の文字列I<dest>へのポインタを"
2211 #: build/C/man3/strcpy.3:109
2213 "Some programmers consider B<strncpy>() to be inefficient and error prone. "
2214 "If the programmer knows (i.e., includes code to test!) that the size of "
2215 "I<dest> is greater than the length of I<src>, then B<strcpy>() can be used."
2217 "B<strncpy>() は効率的でなく間違いを起こしやすいと考えるプログラマもいるだろ"
2218 "う。 プログラマが I<dest> の大きさが I<src> の長さよりも 大きいことを知ってい"
2219 "る (つまり、そのことをチェックするコードを 書いている) 場合は、 B<strcpy()> "
2223 #: build/C/man3/strcpy.3:116
2225 "If there is no terminating null byte in the first I<n> characters of I<src>, "
2226 "B<strncpy>() produces an unterminated string in I<dest>. Programmers often "
2227 "prevent this mistake by forcing termination as follows:"
2229 "I<src> の最初の I<n> 文字に終端のヌルバイトがない場合、 B<strncpy>() は "
2230 "I<dest> に終端されていない文字列を生成する。 プログラマは間違いを防止するため"
2231 "に、 以下のように強制的に終端を行うことがよくある。"
2234 #: build/C/man3/strcpy.3:122
2237 "strncpy(buf, str, n);\n"
2239 " buf[n - 1]= \\(aq\\e0\\(aq;\n"
2241 "strncpy(buf, str, n);\n"
2243 " buf[n - 1]= \\(aq\\e0\\(aq;\n"
2246 #: build/C/man3/strcpy.3:135
2248 "If the destination string of a B<strcpy>() is not large enough, then "
2249 "anything might happen. Overflowing fixed-length string buffers is a "
2250 "favorite cracker technique for taking complete control of the machine. Any "
2251 "time a program reads or copies data into a buffer, the program first needs "
2252 "to check that there's enough space. This may be unnecessary if you can show "
2253 "that overflow is impossible, but be careful: programs can get changed over "
2254 "time, in ways that may make the impossible possible."
2256 "B<strcpy>() の受け側の文字列が十分な大きさでない場合、何が起こるかわからな"
2257 "い。 固定長文字列を溢れさせるのは、マシンの制御を掌中に収めるために クラッ"
2258 "カーが好んで使うテクニックである。 プログラムでデータをバッファに読み込んだり"
2259 "コピーしたりする場合には、 必ずまず最初に十分な大きさがあるかどうかをチェック"
2260 "する必要がある。 プログラマがオーバーフローが不可能だと示せる場合には この"
2261 "チェックは不要かもしれないが、十分注意すること。 長い間には、不可能だったこと"
2262 "が可能になるような方法でプログラムが 変更されることもあるからだ。"
2265 #: build/C/man3/strcpy.3:146
2267 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<stpcpy>(3), "
2268 "B<stpncpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<wcsncpy>(3)"
2270 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<stpcpy>(3), "
2271 "B<stpncpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<wcsncpy>(3)"
2274 #: build/C/man3/strdup.3:29
2280 #: build/C/man3/strdup.3:29
2286 #: build/C/man3/strdup.3:32
2287 msgid "strdup, strndup, strdupa, strndupa - duplicate a string"
2288 msgstr "strdup, strndup, strdupa, strndupa - 文字列を複製する"
2291 #: build/C/man3/strdup.3:37 build/C/man3/string.3:63
2293 msgid "B<char *strdup(const char *>I<s>B<);>\n"
2294 msgstr "B<char *strdup(const char *>I<s>B<);>\n"
2297 #: build/C/man3/strdup.3:39
2299 msgid "B<char *strndup(const char *>I<s>B<, size_t >I<n>B<);>\n"
2300 msgstr "B<char *strndup(const char *>I<s>B<, size_t >I<n>B<);>\n"
2303 #: build/C/man3/strdup.3:41
2305 msgid "B<char *strdupa(const char *>I<s>B<);>\n"
2306 msgstr "B<char *strdupa(const char *>I<s>B<);>\n"
2309 #: build/C/man3/strdup.3:43
2311 msgid "B<char *strndupa(const char *>I<s>B<, size_t >I<n>B<);>\n"
2312 msgstr "B<char *strndupa(const char *>I<s>B<, size_t >I<n>B<);>\n"
2315 #: build/C/man3/strdup.3:53
2316 msgid "B<strdup>():"
2317 msgstr "B<strdup>():"
2320 #: build/C/man3/strdup.3:56
2322 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE"
2323 "\\ &&\\ _XOPEN_SOURCE_EXTENDED"
2325 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE"
2326 "\\ &&\\ _XOPEN_SOURCE_EXTENDED"
2329 #: build/C/man3/strdup.3:58
2330 msgid "|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
2331 msgstr "|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
2334 #: build/C/man3/strdup.3:61
2335 msgid "B<strndup>():"
2336 msgstr "B<strndup>():"
2339 #: build/C/man3/strdup.3:65
2340 msgid "POSIX_C_SOURCE\\ E<gt>=\\ 200809L || _XOPEN_SOURCE\\ E<gt>=\\ 700"
2341 msgstr "POSIX_C_SOURCE\\ E<gt>=\\ 200809L || _XOPEN_SOURCE\\ E<gt>=\\ 700"
2344 #: build/C/man3/strdup.3:73
2345 msgid "B<strdupa>(), B<strndupa>(): _GNU_SOURCE"
2346 msgstr "B<strdupa>(), B<strndupa>(): _GNU_SOURCE"
2349 #: build/C/man3/strdup.3:85
2351 "The B<strdup>() function returns a pointer to a new string which is a "
2352 "duplicate of the string I<s>. Memory for the new string is obtained with "
2353 "B<malloc>(3), and can be freed with B<free>(3)."
2355 "B<strdup>() 関数は、文字列 I<s>の複製である 新しい文字列へのポインタを返"
2356 "す。 新しい文字列のためのメモリは B<malloc>(3) で得ている。 そして、 B<free>"
2360 #: build/C/man3/strdup.3:92
2362 "The B<strndup>() function is similar, but only copies at most I<n> "
2363 "characters. If I<s> is longer than I<n>, only I<n> characters are copied, "
2364 "and a terminating null byte (\\(aq\\e0\\(aq) is added."
2366 "B<strndup>() 関数は同様であるが、最大で I<n> 文字だけを複製する。 I<s> が "
2367 "I<n> よりも長い場合、I<n> 文字だけが複製され、 終端の NULL バイト (\\(aq"
2368 "\\e0\\(aq)) が追加される。"
2371 #: build/C/man3/strdup.3:102
2373 "B<strdupa>() and B<strndupa>() are similar, but use B<alloca>(3) to "
2374 "allocate the buffer. They are only available when using the GNU GCC suite, "
2375 "and suffer from the same limitations described in B<alloca>(3)."
2377 "B<strdupa>() と B<strndupa>() 関数は同様であるが、 バッファを割り当てるの"
2378 "に B<alloca(3)> を用いる。 これらの関数は GNU GCC を用いた場合にのみ有効で、 "
2379 "B<alloca(3)> で記述されているのと同様の制限を受ける。"
2382 #: build/C/man3/strdup.3:107
2384 "The B<strdup>() function returns a pointer to the duplicated string, or "
2385 "NULL if insufficient memory was available."
2387 "B<strdup>() 関数は複製された文字列へのポインタ、または 十分なメモリが確保で"
2391 #: build/C/man3/strdup.3:107 build/C/man3/strerror.3:164
2397 #: build/C/man3/strdup.3:108
2403 #: build/C/man3/strdup.3:111
2404 msgid "Insufficient memory available to allocate duplicate string."
2405 msgstr "複製された文字列を割り当てる十分なメモリが確保できなかった。"
2407 #. 4.3BSD-Reno, not (first) 4.3BSD.
2409 #: build/C/man3/strdup.3:121
2411 "B<strdup>() conforms to SVr4, 4.3BSD, POSIX.1-2001. B<strndup>() conforms "
2412 "to POSIX.1-2008. B<strdupa>() and B<strndupa>() are GNU extensions."
2414 "B<strdup>() は SVr4, 4.3BSD, POSIX.1-2001 準拠である。 B<strndup>() は "
2415 "POSIX.1-2008 準拠である。 B<strdupa>(), B<strndupa>() は GNU 拡張である。"
2418 #: build/C/man3/strdup.3:129
2420 "B<alloca>(3), B<calloc>(3), B<free>(3), B<malloc>(3), B<realloc>(3), "
2421 "B<string>(3), B<wcsdup>(3)"
2423 "B<alloca>(3), B<calloc>(3), B<free>(3), B<malloc>(3), B<realloc>(3), "
2424 "B<string>(3), B<wcsdup>(3)"
2427 #: build/C/man3/strerror.3:37
2433 #: build/C/man3/strerror.3:37
2439 #: build/C/man3/strerror.3:40
2440 msgid "strerror, strerror_r - return string describing error number"
2441 msgstr "strerror, strerror_r - エラー番号を説明する文字列を返す。"
2444 #: build/C/man3/strerror.3:45
2446 msgid "B<char *strerror(int >I<errnum>B<);>\n"
2447 msgstr "B<char *strerror(int >I<errnum>B<);>\n"
2450 #: build/C/man3/strerror.3:48
2453 "B<int strerror_r(int >I<errnum>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
2454 " /* XSI-compliant */\n"
2456 "B<int strerror_r(int >I<errnum>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
2457 " /* XSI-compliant */\n"
2460 #: build/C/man3/strerror.3:51
2463 "B<char *strerror_r(int >I<errnum>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
2464 " /* GNU-specific */\n"
2466 "B<char *strerror_r(int >I<errnum>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
2467 " /* GNU-specific */\n"
2470 #: build/C/man3/strerror.3:61
2471 msgid "The XSI-compliant version of B<strerror_r>() is provided if:"
2472 msgstr "次の場合には XSI 準拠のバージョンの B<strerror_r>() が提供される:"
2475 #: build/C/man3/strerror.3:63
2477 "(_POSIX_C_SOURCE\\ E<gt>=\\ 200112L || _XOPEN_SOURCE\\ E<gt>=\\ 600) && !\\ "
2480 "(_POSIX_C_SOURCE\\ E<gt>=\\ 200112L || _XOPEN_SOURCE\\ E<gt>=\\ 600) && !\\ "
2484 #: build/C/man3/strerror.3:65
2485 msgid "Otherwise, the GNU-specific version is provided."
2486 msgstr "それ以外の場合、GNU バージョンが提供される。"
2489 #: build/C/man3/strerror.3:85
2491 "The B<strerror>() function returns a pointer to a string that describes the "
2492 "error code passed in the argument I<errnum>, possibly using the "
2493 "B<LC_MESSAGES> part of the current locale to select the appropriate "
2494 "language. (For example, if I<errnum> is B<EINVAL>, the returned description "
2495 "will \"Invalid argument\".) This string must not be modified by the "
2496 "application, but may be modified by a subsequent call to B<strerror>(). No "
2497 "library function, including B<perror>(3), will modify this string."
2499 "B<strerror>() 関数は、引き数 I<errnum> で渡されたエラーコードについての\n"
2500 "説明が入った文字列へのポインタを返す。 可能であるならば、適切な言語を選\n"
2501 "択するために、 現在のロケールの B<LC_MESSAGES> を使う。(例えば、\n"
2502 "I<errnum> が B<EINVAL> の場合、説明として\"Invalid argument\" が返され\n"
2503 "る。) この文字列は、アプリケーションで変更してはならないが、 これ以降に\n"
2504 "行われる B<strerror>() の呼び出しで 変更されても構わない。この文字列を\n"
2505 "変更するライブラリ関数はない (B<perror>(3) も含まれる)。"
2508 #: build/C/man3/strerror.3:106
2510 "The B<strerror_r>() function is similar to B<strerror>(), but is thread "
2511 "safe. This function is available in two versions: an XSI-compliant version "
2512 "specified in POSIX.1-2001 (available since glibc 2.3.4, but not POSIX-"
2513 "compliant until glibc 2.13), and a GNU-specific version (available since "
2514 "glibc 2.0). The XSI-compliant version is provided with the feature test "
2515 "macros settings shown in the SYNOPSIS; otherwise the GNU-specific version is "
2516 "provided. If no feature test macros are explicitly defined, then (since "
2517 "glibc 2.4) B<_POSIX_SOURCE> is defined by default with the value 200112L, "
2518 "so that the XSI-compliant version of B<strerror_r>() is provided by default."
2520 "B<strerror_r>() 関数は B<strerror>() と似ているが、スレッドセーフである。\n"
2521 "この関数には二種類のバージョンが存在し、 POSIX.1-2001 で規定された XSI\n"
2522 "準拠のバージョン (glibc 2.3.4 以降で利用可能だが、glibc 2.13 までは\n"
2523 "POSIX 準拠ではない) と、 GNU 仕様のバージョン (glibc 2.0 以降で利用可能)\n"
2524 "である。 「書式」の節に記載された機能検査マクロの場合には、 XSI 準拠の\n"
2525 "バージョンが提供される。それ以外の場合には GNU 仕様のバージョンが提供さ\n"
2526 "れる。機能検査マクロが一つも明示的に定義されない場合、 (glibc 2.4 以降\n"
2527 "では) デフォルトで B<_POSIX_SOURCE> は値 200112l で定義され、その結果\n"
2528 "XSI 準拠のバージョンの B<strerror_r>() がデフォルトで提供される。"
2531 #: build/C/man3/strerror.3:114
2533 "The XSI-compliant B<strerror_r>() is preferred for portable applications. "
2534 "It returns the error string in the user-supplied buffer I<buf> of length "
2537 "移植性が必要なアプリケーションでは、 XSI 準拠の B<strerror_r>() を使う方がよ"
2538 "い。 この関数は、ユーザーから提供される長さ I<buflen> のバッファ I<buf> にエ"
2542 #: build/C/man3/strerror.3:134
2544 "The GNU-specific B<strerror_r>() returns a pointer to a string containing "
2545 "the error message. This may be either a pointer to a string that the "
2546 "function stores in I<buf>, or a pointer to some (immutable) static string "
2547 "(in which case I<buf> is unused). If the function stores a string in "
2548 "I<buf>, then at most I<buflen> bytes are stored (the string may be truncated "
2549 "if I<buflen> is too small and I<errnum> is unknown). The string always "
2550 "includes a terminating null byte."
2552 "GNU 仕様の B<strerror_r>() は、エラーメッセージを格納した文字列へのポイ\n"
2553 "ンタを返す。返り値は、この関数が I<buf> に格納した文字列へのポインタか、\n"
2554 "何らかの (不変な) 静的な文字列へのポインタ、のいずれかとなる (後者の場\n"
2555 "合は I<buf> は使用されない)。 I<buf> に文字列が格納される場合は、最大で\n"
2556 "I<buflen> バイトが格納される (I<buflen> が小さ過ぎたときには文字列は切\n"
2557 "り詰められ、 I<errnum> は不定である)。文字列には必ず終端ヌル文字が含ま\n"
2561 #: build/C/man3/strerror.3:142
2563 "The B<strerror>() and the GNU-specific B<strerror_r>() functions return "
2564 "the appropriate error description string, or an \"Unknown error nnn\" "
2565 "message if the error number is unknown."
2567 "B<strerror>() と B<strerror_r>() はエラー内容を説明する 文字列を返す。エ"
2568 "ラー番号が未知の場合は \"Unknown error nnn\" という メッセージを返す。"
2571 #: build/C/man3/strerror.3:155
2573 "POSIX.1-2001 and POSIX.1-2008 require that a successful call to B<strerror>"
2574 "(3) shall leave I<errno> unchanged, and note that, since no function return "
2575 "value is reserved to indicate an error, an application that wishes to check "
2576 "for errors should initialize I<errno> to zero before the call, and then "
2577 "check I<errno> after the call."
2581 #: build/C/man3/strerror.3:164
2583 "The XSI-compliant B<strerror_r>() function returns 0 on success. On error, "
2584 "a (positive) error number is returned (since glibc 2.13), or -1 is returned "
2585 "and I<errno> is set to indicate the error (glibc versions before 2.13)."
2587 "XSI 準拠の B<strerror_r>() 関数は成功すると 0 を返す。エラーの場合には、\n"
2588 "(glibc 2.13 以降では) (正の) エラー番号が返され、(バージョン 2.13 より前\n"
2589 "の glibc では) -1 が返され、 I<errno> にエラーを示す値がセットされる。"
2592 #: build/C/man3/strerror.3:165
2598 #: build/C/man3/strerror.3:170
2599 msgid "The value of I<errnum> is not a valid error number."
2600 msgstr "I<errnum> の値が有効なエラー番号ではない。"
2603 #: build/C/man3/strerror.3:170
2609 #: build/C/man3/strerror.3:173
2611 "Insufficient storage was supplied to contain the error description string."
2612 msgstr "エラーコードを説明する文字列のために、充分な領域が確保できなかった。"
2615 #: build/C/man3/strerror.3:178
2617 "B<strerror>() is specified by POSIX.1-2001, C89, C99. B<strerror_r>() is "
2618 "specified by POSIX.1-2001."
2620 "B<strerror>() は POSIX.1-2001, C89, C99 で規定されている。 B<strerror_r>() "
2621 "は POSIX.1-2001 で規定されている。"
2624 #: build/C/man3/strerror.3:182
2625 msgid "The GNU-specific B<strerror_r>() function is a nonstandard extension."
2626 msgstr "GNU 仕様の B<strerror_r>() 関数は非標準の拡張である。"
2628 #. e.g., Solaris 8, HP-UX 11
2629 #. e.g., FreeBSD 5.4, Tru64 5.1B
2631 #: build/C/man3/strerror.3:202
2633 "POSIX.1-2001 permits B<strerror>() to set I<errno> if the call encounters "
2634 "an error, but does not specify what value should be returned as the function "
2635 "result in the event of an error. On some systems, B<strerror>() returns "
2636 "NULL if the error number is unknown. On other systems, B<strerror>() "
2637 "returns a string something like \"Error nnn occurred\" and sets I<errno> to "
2638 "B<EINVAL> if the error number is unknown. C99 and POSIX.1-2008 require the "
2639 "return value to be non-NULL."
2641 "POSIX.1-2001 は、 B<strerror>() がエラーに遭遇した場合に I<errno> をセッ\n"
2642 "トすることを認めているが、エラー発生時に関数の結果として どんな値を返す\n"
2643 "べきかを規定してない。 あるシステムでは、 エラー番号が未知の場合、\n"
2644 "B<strerror>() は NULL を返す。 他のシステムでは、 エラー番号が未知の場\n"
2645 "合、 B<strerror>() は \"Error nnn occurred\" といった文字列を返し、\n"
2646 "I<errno> に B<EINVAL> をセットする。 C99 と POSIX.1-2008 では、返り値が\n"
2647 "NULL 以外になることが求められている。"
2650 #: build/C/man3/strerror.3:208
2651 msgid "B<err>(3), B<errno>(3), B<error>(3), B<perror>(3), B<strsignal>(3)"
2652 msgstr "B<err>(3), B<errno>(3), B<error>(3), B<perror>(3), B<strsignal>(3)"
2655 #: build/C/man3/strfry.3:28
2661 #: build/C/man3/strfry.3:31
2662 msgid "strfry - randomize a string"
2663 msgstr "strfry - 文字列をランダムに並べ変える"
2666 #: build/C/man3/strfry.3:38 build/C/man3/string.3:65
2668 msgid "B<char *strfry(char *>I<string>B<);>\n"
2669 msgstr "B<char *strfry(char *>I<string>B<);>\n"
2672 #: build/C/man3/strfry.3:47
2674 "The B<strfry>() function randomizes the contents of I<string> by using "
2675 "B<rand>(3) to randomly swap characters in the string. The result is an "
2676 "anagram of I<string>."
2678 "B<strfry>() 関数は、文字列 I<string> の内容をランダムに並び換える。 並び換え"
2679 "は、 B<rand>(3) 関数を用いて、文字列中の各文字を無作為に 交換することで実現"
2680 "される。結果は、文字列 I<string> のアナグラムである。"
2683 #: build/C/man3/strfry.3:52
2684 msgid "The B<strfry>() functions returns a pointer to the randomized string."
2686 "B<strfry>() 関数は、ランダムに並び換えられた文字列へのポインタを返す。"
2689 #: build/C/man3/strfry.3:57
2690 msgid "The B<strfry>() function is unique to the GNU C Library."
2691 msgstr "B<strfry>() 関数は GNU C ライブラリに特有である。"
2694 #: build/C/man3/strfry.3:60
2695 msgid "B<memfrob>(3), B<string>(3)"
2696 msgstr "B<memfrob>(3), B<string>(3)"
2699 #: build/C/man3/string.3:28
2705 #: build/C/man3/string.3:28
2711 #: build/C/man3/string.3:34
2713 "stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, "
2714 "strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, "
2715 "strrchr, strsep, strspn, strstr, strtok, strxfrm, index, rindex - string "
2718 "stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, "
2719 "strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, "
2720 "strrchr, strsep, strspn, strstr, strtok, strxfrm, index, rindex - 文字列を操"
2724 #: build/C/man3/string.3:61 build/C/man3/strspn.3:38
2726 msgid "B<size_t strcspn(const char *>I<s>B<, const char *>I<reject>B<);>\n"
2727 msgstr "B<size_t strcspn(const char *>I<s>B<, const char *>I<reject>B<);>\n"
2730 #: build/C/man3/string.3:67 build/C/man3/strlen.3:36
2732 msgid "B<size_t strlen(const char *>I<s>B<);>\n"
2733 msgstr "B<size_t strlen(const char *>I<s>B<);>\n"
2736 #: build/C/man3/string.3:75 build/C/man3/strpbrk.3:36
2738 msgid "B<char *strpbrk(const char *>I<s>B<, const char *>I<accept>B<);>\n"
2739 msgstr "B<char *strpbrk(const char *>I<s>B<, const char *>I<accept>B<);>\n"
2742 #: build/C/man3/string.3:79 build/C/man3/strsep.3:39
2744 msgid "B<char *strsep(char **>I<stringp>B<, const char *>I<delim>B<);>\n"
2745 msgstr "B<char *strsep(char **>I<stringp>B<, const char *>I<delim>B<);>\n"
2748 #: build/C/man3/string.3:81 build/C/man3/strspn.3:36
2750 msgid "B<size_t strspn(const char *>I<s>B<, const char *>I<accept>B<);>\n"
2751 msgstr "B<size_t strspn(const char *>I<s>B<, const char *>I<accept>B<);>\n"
2754 #: build/C/man3/string.3:83 build/C/man3/strstr.3:39
2756 msgid "B<char *strstr(const char *>I<haystack>B<, const char *>I<needle>B<);>\n"
2757 msgstr "B<char *strstr(const char *>I<haystack>B<, const char *>I<needle>B<);>\n"
2760 #: build/C/man3/string.3:85
2762 msgid "B<char *strtok(char *>I<s>B<, const char *>I<delim>B<);>\n"
2763 msgstr "B<char *strtok(char *>I<s>B<, const char *>I<delim>B<);>\n"
2766 #: build/C/man3/string.3:87 build/C/man3/strxfrm.3:36
2768 msgid "B<size_t strxfrm(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
2769 msgstr "B<size_t strxfrm(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
2772 #: build/C/man3/string.3:92
2774 "The string functions perform string operations on null-terminated strings. "
2775 "See the individual man pages for descriptions of each function."
2777 "文字列関数は、NULL 終端された文字列に 対して、文字列操作を実行する。 それぞれ"
2778 "の関数の説明については個々のmanページを見よ。"
2781 #: build/C/man3/string.3:117
2783 "B<index>(3), B<rindex>(3), B<stpcpy>(3), B<strcasecmp>(3), B<strcat>(3), "
2784 "B<strchr>(3), B<strcmp>(3), B<strcoll>(3), B<strcpy>(3), B<strcspn>(3), "
2785 "B<strdup>(3), B<strfry>(3), B<strlen>(3), B<strncasecmp>(3), B<strncat>(3), "
2786 "B<strncmp>(3), B<strncpy>(3), B<strpbrk>(3), B<strrchr>(3), B<strsep>(3), "
2787 "B<strspn>(3), B<strstr>(3), B<strtok>(3), B<strxfrm>(3)"
2789 "B<index>(3), B<rindex>(3), B<stpcpy>(3), B<strcasecmp>(3), B<strcat>(3), "
2790 "B<strchr>(3), B<strcmp>(3), B<strcoll>(3), B<strcpy>(3), B<strcspn>(3), "
2791 "B<strdup>(3), B<strfry>(3), B<strlen>(3), B<strncasecmp>(3), B<strncat>(3), "
2792 "B<strncmp>(3), B<strncpy>(3), B<strpbrk>(3), B<strrchr>(3), B<strsep>(3), "
2793 "B<strspn>(3), B<strstr>(3), B<strtok>(3), B<strxfrm>(3)"
2796 #: build/C/man3/strlen.3:28
2802 #: build/C/man3/strlen.3:31
2803 msgid "strlen - calculate the length of a string"
2804 msgstr "strlen - 文字列の長さを計算する"
2807 #: build/C/man3/strlen.3:42
2809 "The B<strlen>() function calculates the length of the string I<s>, "
2810 "excluding the terminating null byte (\\(aq\\e0\\(aq)."
2812 "B<strlen>() 関数は文字列 I<s> の長さを計算する。 このとき、終端 NULL バイト "
2813 "(\\(aq\\e0\\(aq) は計算に含まれない。"
2816 #: build/C/man3/strlen.3:46
2817 msgid "The B<strlen>() function returns the number of characters in I<s>."
2818 msgstr "B<strlen>() 関数は I<s> の中の文字数を返す。"
2821 #: build/C/man3/strlen.3:53
2822 msgid "B<string>(3), B<strnlen>(3), B<wcslen>(3), B<wcsnlen>(3)"
2823 msgstr "B<string>(3), B<strnlen>(3), B<wcslen>(3), B<wcsnlen>(3)"
2826 #: build/C/man3/strnlen.3:11
2832 #: build/C/man3/strnlen.3:14
2833 msgid "strnlen - determine the length of a fixed-size string"
2834 msgstr "strnlen - 固定長の文字列の長さを調べる"
2837 #: build/C/man3/strnlen.3:19
2839 msgid "B<size_t strnlen(const char *>I<s>B<, size_t >I<maxlen>B<);>\n"
2840 msgstr "B<size_t strnlen(const char *>I<s>B<, size_t >I<maxlen>B<);>\n"
2843 #: build/C/man3/strnlen.3:27
2844 msgid "B<strnlen>():"
2845 msgstr "B<strnlen>():"
2848 #: build/C/man3/strnlen.3:49
2850 "The B<strnlen>() function returns the number of characters in the string "
2851 "pointed to by I<s>, excluding the terminating null bye (\\(aq\\e0\\(aq), but "
2852 "at most I<maxlen>. In doing this, B<strnlen>() looks only at the first "
2853 "I<maxlen> characters at I<s> and never beyond I<s+maxlen>."
2855 "B<strnlen>() 関数は I<s> が指す文字列の長さをバイト数で返す。 長さには終端"
2856 "の NULL バイト (\\(aq\\e0\\(aq) は含まない。 また長さは最大で I<maxlen> まで"
2857 "であり、 B<strnlen>() は I<s> の最初の I<maxlen> バイトのみを検査し I<s"
2858 "+maxlen> より先を検査することはない。"
2861 #: build/C/man3/strnlen.3:56
2863 "The B<strnlen>() function returns I<strlen(s)>, if that is less than "
2864 "I<maxlen>, or I<maxlen> if there is no null byte (\\(aq\\e0\\(aq) among the "
2865 "first I<maxlen> characters pointed to by I<s>."
2867 "B<strnlen>() 関数は I<maxlen> 以下ならば I<strlen(s)> と同じ 値を返す。I<s> "
2868 "の指す文字列が最大 I<maxlen> バイトまでに NULL バイト (\\(aq\\e0\\(aq) 文字を"
2869 "含まない場合には I<maxlen> を返す。"
2872 #: build/C/man3/strnlen.3:58
2873 msgid "POSIX.1-2008."
2874 msgstr "POSIX.1-2008."
2877 #: build/C/man3/strnlen.3:60
2878 msgid "B<strlen>(3)"
2879 msgstr "B<strlen>(3)"
2882 #: build/C/man3/strpbrk.3:28
2888 #: build/C/man3/strpbrk.3:31
2889 msgid "strpbrk - search a string for any of a set of characters"
2890 msgstr "strpbrk - 文字セット中の文字を文字列から検出する"
2893 #: build/C/man3/strpbrk.3:42
2895 "The B<strpbrk>() function locates the first occurrence in the string I<s> "
2896 "of any of the characters in the string I<accept>."
2898 "B<strpbrk>() 関数は文字列 I<accept> に含まれる文字が文字列 I<s> に おいて最"
2902 #: build/C/man3/strpbrk.3:48
2904 "The B<strpbrk>() function returns a pointer to the character in I<s> that "
2905 "matches one of the characters in I<accept>, or NULL if no such character is "
2908 "B<strpbrk>() 関数は、 I<s> に含まれる文字のうち、 I<accept> に含まれる文字の"
2909 "どれかに一致したものへの ポインタを返す。 そのような文字が見つからなかった場"
2913 #: build/C/man3/strpbrk.3:61
2915 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
2916 "B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), B<wcspbrk>(3)"
2918 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
2919 "B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), B<wcspbrk>(3)"
2922 #: build/C/man3/strsep.3:31
2928 #: build/C/man3/strsep.3:34
2929 msgid "strsep - extract token from string"
2930 msgstr "strsep - 文字列からトークンを取り出す"
2933 #: build/C/man3/strsep.3:48
2934 msgid "B<strsep>(): _BSD_SOURCE"
2935 msgstr "B<strsep>(): _BSD_SOURCE"
2938 #: build/C/man3/strsep.3:61
2940 "If I<*stringp> is NULL, the B<strsep>() function returns NULL and does "
2941 "nothing else. Otherwise, this function finds the first token in the string "
2942 "I<*stringp>, where tokens are delimited by symbols in the string I<delim>. "
2943 "This token is terminated by overwriting the delimiter with a null byte (\\(aq"
2944 "\\e0\\(aq) and I<*stringp> is updated to point past the token. In case no "
2945 "delimiter was found, the token is taken to be the entire string I<*stringp>, "
2946 "and I<*stringp> is made NULL."
2948 "I<*stringp> が NULL の場合、 B<strsep>() 関数は何もせずに NULL を返す。 さも"
2949 "なければ、文字列 I<stringp> を I<delim> に含まれる文字で区切った トークンのう"
2950 "ち最初のものを返す。 トークンは、区切り文字を NULL バイト (\\(aq\\e0\\(aq) で"
2951 "上書きすることで 終端される。 I<*stringp> は切り出されたトークンの次の位置を"
2952 "示すように更新される。 区切り文字が見つからない場合、I<*stringp> 文字列全体が"
2953 "トークンとして 扱われ、I<*stringp> は NULL となる。"
2956 #: build/C/man3/strsep.3:66
2958 "The B<strsep>() function returns a pointer to the token, that is, it "
2959 "returns the original value of I<*stringp>."
2961 "B<strsep>() 関数は、トークンへのポインタを返す。 つまり、元の I<*stringp> の"
2965 #: build/C/man3/strsep.3:68
2970 #: build/C/man3/strsep.3:77
2972 "The B<strsep>() function was introduced as a replacement for B<strtok>(3), "
2973 "since the latter cannot handle empty fields. However, B<strtok>(3) "
2974 "conforms to C89/C99 and hence is more portable."
2976 "B<strsep>() 関数は、 B<strtok>(3) 関数が空のフィールドを 扱えないために、そ"
2977 "の代替品として導入された。 しかしながら、 B<strtok>(3) 関数は C89/C99 に準拠"
2981 #: build/C/man3/strsep.3:80
2982 msgid "Be cautious when using this function. If you do use it, note that:"
2984 "この関数を使う時は注意すること。 もし使うなら、以下のことに注意すること。"
2987 #: build/C/man3/strsep.3:82
2988 msgid "This function modifies its first argument."
2989 msgstr "この関数は最初の引数を変更する。"
2992 #: build/C/man3/strsep.3:84
2993 msgid "This function cannot be used on constant strings."
2994 msgstr "この関数は定数文字列には使えない。"
2997 #: build/C/man3/strsep.3:86 build/C/man3/strtok.3:127
2998 msgid "The identity of the delimiting character is lost."
2999 msgstr "区切り文字自体は失われてしまう。"
3002 #: build/C/man3/strsep.3:96
3004 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3005 "B<strpbrk>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
3007 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3008 "B<strpbrk>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
3011 #: build/C/man3/strsignal.3:28
3017 #: build/C/man3/strsignal.3:28
3023 #: build/C/man3/strsignal.3:31
3024 msgid "strsignal - return string describing signal"
3025 msgstr "strsignal - シグナルを説明する文字列を返す"
3028 #: build/C/man3/strsignal.3:36
3030 msgid "B<char *strsignal(int >I<sig>B<);>\n"
3031 msgstr "B<char *strsignal(int >I<sig>B<);>\n"
3034 #: build/C/man3/strsignal.3:38
3036 msgid "B<extern const char * const >I<sys_siglist>B<[];>\n"
3037 msgstr "B<extern const char * const >I<sys_siglist>B<[];>\n"
3040 #: build/C/man3/strsignal.3:46
3041 msgid "B<strsignal>():"
3042 msgstr "B<strsignal>():"
3045 #: build/C/man3/strsignal.3:66
3047 "The B<strsignal>() function returns a string describing the signal number "
3048 "passed in the argument I<sig>. The string can only be used until the next "
3049 "call to B<strsignal>()."
3051 "B<strsignal>() 関数は、引数 I<sig> で渡されたシグナル番号を 説明する文字列を"
3052 "返す。 文字列は、次の B<strsignal>() が呼ばれるまでの間だけ使用できる。"
3055 #: build/C/man3/strsignal.3:73
3057 "The array I<sys_siglist> holds the signal description strings indexed by "
3058 "signal number. The B<strsignal>() function should be used if possible "
3059 "instead of this array."
3061 "配列 I<sys_siglist> はシグナルを説明する文字列を保持しており、 配列へのアクセ"
3062 "スにはシグナル番号を添え字として用いる事ができる。 出来るだけこの配列の代わり"
3063 "に B<strsignal>() 関数を 使うべきである。"
3066 #: build/C/man3/strsignal.3:80
3068 "The B<strsignal>() function returns the appropriate description string, or "
3069 "an unknown signal message if the signal number is invalid. On some systems "
3070 "(but not on Linux), a NULL pointer may be returned instead for an invalid "
3073 "B<strsignal>() 関数は、シグナルの適切な説明を返す。 もしシグナル番号が不正な"
3074 "場合は、未知のシグナル(unknown signal)を示す メッセージを返す。 (Linux はそう"
3075 "ではないが)不正なシグナル番号に対して、 NULL ポインタを 返すシステムもある。"
3078 #: build/C/man3/strsignal.3:83
3079 msgid "POSIX.1-2008. Present on Solaris and the BSDs."
3080 msgstr "POSIX.1-2008. Solaris と BSD 系にも存在する。"
3083 #: build/C/man3/strsignal.3:86
3084 msgid "B<psignal>(3), B<strerror>(3)"
3085 msgstr "B<psignal>(3), B<strerror>(3)"
3088 #: build/C/man3/strspn.3:28
3094 #: build/C/man3/strspn.3:31
3095 msgid "strspn, strcspn - search a string for a set of characters"
3096 msgstr "strspn, strcspn - 文字列から文字のセットを探す"
3099 #: build/C/man3/strspn.3:45
3101 "The B<strspn>() function calculates the length of the initial segment of "
3102 "I<s> which consists entirely of characters in I<accept>."
3104 "B<strspn>() 関数は、I<accept> に含まれる文字だけで構成される文字列 を I<s> "
3105 "から探し、その最初の部分の長さを計算する。"
3108 #: build/C/man3/strspn.3:51
3110 "The B<strcspn>() function calculates the length of the initial segment of "
3111 "I<s> which consists entirely of characters not in I<reject>."
3113 "B<strcspn>() 関数は、I<reject> に含まれない文字だけで構成される文字列 を "
3114 "I<s> から探し、その最初の部分の長さを計算する。"
3117 #: build/C/man3/strspn.3:57
3119 "The B<strspn>() function returns the number of characters in the initial "
3120 "segment of I<s> which consist only of characters from I<accept>."
3122 "B<strspn>() 関数は、I<accept> からの文字だけで構成される I<s> の 最初の部分"
3126 #: build/C/man3/strspn.3:63
3128 "The B<strcspn>() function returns the number of characters in the initial "
3129 "segment of I<s> which are not in the string I<reject>."
3131 "B<strcspn>() 関数は、I<s> の最初の部分で、文字列 I<reject> に 含まれない文字"
3135 #: build/C/man3/strspn.3:77
3137 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3138 "B<strpbrk>(3), B<strsep>(3), B<strstr>(3), B<strtok>(3), B<wcscspn>(3), "
3141 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3142 "B<strpbrk>(3), B<strsep>(3), B<strstr>(3), B<strtok>(3), B<wcscspn>(3), "
3146 #: build/C/man3/strstr.3:31
3152 #: build/C/man3/strstr.3:34
3153 msgid "strstr, strcasestr - locate a substring"
3154 msgstr "strstr, strcasestr - 部分文字列の位置を示す"
3157 #: build/C/man3/strstr.3:45
3159 msgid "B<char *strcasestr(const char *>I<haystack>B<, const char *>I<needle>B<);>\n"
3160 msgstr "B<char *strcasestr(const char *>I<haystack>B<, const char *>I<needle>B<);>\n"
3163 #: build/C/man3/strstr.3:52
3165 "The B<strstr>() function finds the first occurrence of the substring "
3166 "I<needle> in the string I<haystack>. The terminating null bytes (\\(aq"
3167 "\\e0\\(aq) are not compared."
3169 "B<strstr>() 関数は、部分文字列 I<needle> が文字列 I<haystack> 中 で最初に現"
3170 "れる位置を見つける。 文字列を終端 NULL バイト (\\(aq\\e0\\(aq) は比較されな"
3174 #: build/C/man3/strstr.3:58
3176 "The B<strcasestr>() function is like B<strstr>(), but ignores the case of "
3179 "B<strcasestr>() 関数は B<strstr>() 関数と同様だが、 両方の引数に対して大文"
3183 #: build/C/man3/strstr.3:61
3185 "These functions return a pointer to the beginning of the substring, or NULL "
3186 "if the substring is not found."
3188 "これらの関数は、部分文字列の開始を指すポインタを返し、 もし部分文字列が見つか"
3192 #: build/C/man3/strstr.3:68
3194 "The B<strstr>() function conforms to C89 and C99. The B<strcasestr>() "
3195 "function is a nonstandard extension."
3197 "B<strstr>() 関数は C89 と C99 に準拠している。 B<strcasestr>() 関数は非標準"
3201 #: build/C/man3/strstr.3:74
3203 "Early versions of Linux libc (like 4.5.26) would not allow an empty "
3204 "I<needle> argument for B<strstr>(). Later versions (like 4.6.27) work "
3205 "correctly, and return I<haystack> when I<needle> is empty."
3207 "Linux libc の初期のバージョン(4.5.26 まで)は B<strstr>() 関数の I<needle> 引"
3208 "数に空文字列を指定できない。 最近のバージョン(4.6.27 以降)は正しく動作し、 "
3209 "I<needle> が空の時は I<haystack> を返す。"
3212 #: build/C/man3/strstr.3:86
3214 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strcasecmp>(3), B<strchr>(3), "
3215 "B<string>(3), B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strtok>(3), "
3218 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strcasecmp>(3), B<strchr>(3), "
3219 "B<string>(3), B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strtok>(3), "
3223 #: build/C/man3/strtok.3:28
3229 #: build/C/man3/strtok.3:28
3235 #: build/C/man3/strtok.3:31
3236 msgid "strtok, strtok_r - extract tokens from strings"
3237 msgstr "strtok, strtok_r - 文字列からトークンを取り出す"
3240 #: build/C/man3/strtok.3:36
3242 msgid "B<char *strtok(char *>I<str>B<, const char *>I<delim>B<);>\n"
3243 msgstr "B<char *strtok(char *>I<str>B<, const char *>I<delim>B<);>\n"
3246 #: build/C/man3/strtok.3:38
3248 msgid "B<char *strtok_r(char *>I<str>B<, const char *>I<delim>B<, char **>I<saveptr>B<);>\n"
3249 msgstr "B<char *strtok_r(char *>I<str>B<, const char *>I<delim>B<, char **>I<saveptr>B<);>\n"
3252 #: build/C/man3/strtok.3:49
3254 "B<strtok_r>(): _SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 1 "
3255 "|| _XOPEN_SOURCE || _POSIX_SOURCE"
3257 "B<strtok_r>(): _SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 1 "
3258 "|| _XOPEN_SOURCE || _POSIX_SOURCE"
3261 #: build/C/man3/strtok.3:60
3263 "The B<strtok>() function parses a string into a sequence of tokens. On the "
3264 "first call to B<strtok>() the string to be parsed should be specified in "
3265 "I<str>. In each subsequent call that should parse the same string, I<str> "
3268 "B<strtok>() 関数は文字列を解析してトークンに分割する。 B<strtok>() を最初に"
3269 "呼び出す際には、解析対象の文字列を I<str> に 指定する。同じ文字列の解析を行う"
3270 "その後の呼び出しでは、 I<str> には NULL を指定する。"
3273 #: build/C/man3/strtok.3:65
3275 "The I<delim> argument specifies a set of characters that delimit the tokens "
3276 "in the parsed string. The caller may specify different strings in I<delim> "
3277 "in successive calls that parse the same string."
3279 "I<delim> 引き数には、解析する文字列をトークンに区切る文字集合を 指定する。同"
3280 "じ文字列を解析する一連の呼び出しにおいて、 I<delim> に違う文字列を指定しても"
3284 #: build/C/man3/strtok.3:74
3286 "Each call to B<strtok>() returns a pointer to a null-terminated string "
3287 "containing the next token. This string does not include the delimiting "
3288 "character. If no more tokens are found, B<strtok>() returns NULL."
3290 "B<strtok>() のそれぞれの呼び出しでは、次のトークンを 格納した NULL 終端され"
3291 "た文字列へのポインタが返される。 この文字列には区切り文字は含まれない。 これ"
3292 "以上トークンが見つからなかった場合には、NULL が返される。"
3295 #: build/C/man3/strtok.3:81
3297 "A sequence of two or more contiguous delimiter characters in the parsed "
3298 "string is considered to be a single delimiter. Delimiter characters at the "
3299 "start or end of the string are ignored. Put another way: the tokens "
3300 "returned by B<strtok>() are always nonempty strings."
3302 "解析対象の文字列に2つ以上の区切り文字が連続している場合には、 一つの区切り文"
3303 "字とみなされる。 文字列の先頭や末尾にある区切り文字は無視される。言い換える"
3304 "と、 B<strtok>() が返すトークンは常に空でない文字列となる。"
3307 #: build/C/man3/strtok.3:91
3309 "The B<strtok_r>() function is a reentrant version B<strtok>(). The "
3310 "I<saveptr> argument is a pointer to a I<char *> variable that is used "
3311 "internally by B<strtok_r>() in order to maintain context between successive "
3312 "calls that parse the same string."
3314 "B<strtok_r>() 関数は B<strtok>() のリエントラント版である。 I<saveptr> 引き"
3315 "数は I<char *> 変数へのポインタであり、 同じ文字列の解析を行う B<strtok_r>"
3316 "() の呼び出し間で処理状況を保存するために B<strtok_r>() 内部で使用される。"
3319 #: build/C/man3/strtok.3:100
3321 "On the first call to B<strtok_r>(), I<str> should point to the string to be "
3322 "parsed, and the value of I<saveptr> is ignored. In subsequent calls, I<str> "
3323 "should be NULL, and I<saveptr> should be unchanged since the previous call."
3325 "B<strtok_r>() を最初に呼び出す際には、 I<str> は解析対象の文字列を指していな"
3326 "ければならず、 I<saveptr> の値は無視される。それ以降の呼び出しでは、 I<str> "
3327 "は NULL とし、 I<saveptr> は前回の呼び出し以降変更しないようにしなければなら"
3331 #: build/C/man3/strtok.3:104
3333 "Different strings may be parsed concurrently using sequences of calls to "
3334 "B<strtok_r>() that specify different I<saveptr> arguments."
3336 "B<strtok_r>() の呼び出し時に異なる I<saveptr> 引き数を指定することで、 異な"
3337 "る文字列の解析を同時に行うことができる。"
3340 #: build/C/man3/strtok.3:111
3342 "The B<strtok>() and B<strtok_r>() functions return a pointer to the next "
3343 "token, or NULL if there are no more tokens."
3345 "B<strtok>() と B<strtok_r>() は次のトークンへのポインタか、 トークンがなけ"
3349 #: build/C/man3/strtok.3:112
3352 msgstr "B<strtok>()"
3355 #: build/C/man3/strtok.3:115
3356 msgid "SVr4, POSIX.1-2001, 4.3BSD, C89, C99."
3357 msgstr "SVr4, POSIX.1-2001, 4.3BSD, C89, C99."
3360 #: build/C/man3/strtok.3:115
3362 msgid "B<strtok_r>()"
3363 msgstr "B<strtok_r>()"
3366 #: build/C/man3/strtok.3:118
3367 msgid "POSIX.1-2001."
3368 msgstr "POSIX.1-2001."
3371 #: build/C/man3/strtok.3:121
3372 msgid "Be cautious when using these functions. If you do use them, note that:"
3374 "これらの関数を使うのは慎重に吟味すること。 使用する場合は、以下の点に注意が必"
3378 #: build/C/man3/strtok.3:123
3379 msgid "These functions modify their first argument."
3380 msgstr "これらの関数はその最初の引数を変更する。"
3383 #: build/C/man3/strtok.3:125
3384 msgid "These functions cannot be used on constant strings."
3385 msgstr "これらの関数は const な文字列では使えない。"
3388 #: build/C/man3/strtok.3:134
3390 "The B<strtok>() function uses a static buffer while parsing, so it's not "
3391 "thread safe. Use B<strtok_r>() if this matters to you."
3393 "B<strtok>() 関数は文字列の解析に静的バッファを用いるので、スレッドセーフでな"
3394 "い。 これが問題になる場合は B<strtok_r>() を用いること。"
3397 #: build/C/man3/strtok.3:143
3399 "The program below uses nested loops that employ B<strtok_r>() to break a "
3400 "string into a two-level hierarchy of tokens. The first command-line "
3401 "argument specifies the string to be parsed. The second argument specifies "
3402 "the delimiter character(s) to be used to separate that string into \"major"
3403 "\" tokens. The third argument specifies the delimiter character(s) to be "
3404 "used to separate the \"major\" tokens into subtokens."
3406 "以下のプログラムは、 B<strtok_r>() を利用するループを入れ子にして使用し、 文"
3407 "字列を2階層のトークンに分割するものである。 1番目のコマンドライン引き数には、"
3408 "解析対象の文字列を指定する。 2番目の引き数には、文字列を「大きな」トークンに"
3409 "分割するために 使用する区切り文字を指定する。 3番目の引き数には、「大きな」"
3410 "トークンを細かく分割するために 使用する区切り文字を指定する。"
3413 #: build/C/man3/strtok.3:145
3414 msgid "An example of the output produced by this program is the following:"
3415 msgstr "このプログラムの出力例を以下に示す。"
3418 #: build/C/man3/strtok.3:157
3421 "$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n"
3431 "$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n"
3442 #: build/C/man3/strtok.3:159
3444 msgid "Program source"
3448 #: build/C/man3/strtok.3:165
3451 "#include E<lt>stdio.hE<gt>\n"
3452 "#include E<lt>stdlib.hE<gt>\n"
3453 "#include E<lt>string.hE<gt>\n"
3455 "#include E<lt>stdio.hE<gt>\n"
3456 "#include E<lt>stdlib.hE<gt>\n"
3457 "#include E<lt>string.hE<gt>\n"
3460 #: build/C/man3/strtok.3:172
3464 "main(int argc, char *argv[])\n"
3466 " char *str1, *str2, *token, *subtoken;\n"
3467 " char *saveptr1, *saveptr2;\n"
3471 "main(int argc, char *argv[])\n"
3473 " char *str1, *str2, *token, *subtoken;\n"
3474 " char *saveptr1, *saveptr2;\n"
3478 #: build/C/man3/strtok.3:178
3481 " if (argc != 4) {\n"
3482 " fprintf(stderr, \"Usage: %s string delim subdelim\\en\",\n"
3484 " exit(EXIT_FAILURE);\n"
3487 " if (argc != 4) {\n"
3488 " fprintf(stderr, \"Usage: %s string delim subdelim\\en\",\n"
3490 " exit(EXIT_FAILURE);\n"
3494 #: build/C/man3/strtok.3:184
3497 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
3498 " token = strtok_r(str1, argv[2], &saveptr1);\n"
3499 " if (token == NULL)\n"
3501 " printf(\"%d: %s\\en\", j, token);\n"
3503 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
3504 " token = strtok_r(str1, argv[2], &saveptr1);\n"
3505 " if (token == NULL)\n"
3507 " printf(\"%d: %s\\en\", j, token);\n"
3510 #: build/C/man3/strtok.3:192
3513 " for (str2 = token; ; str2 = NULL) {\n"
3514 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
3515 " if (subtoken == NULL)\n"
3517 " printf(\"\\t --E<gt> %s\\en\", subtoken);\n"
3521 " for (str2 = token; ; str2 = NULL) {\n"
3522 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
3523 " if (subtoken == NULL)\n"
3525 " printf(\"\\t --E<gt> %s\\en\", subtoken);\n"
3530 #: build/C/man3/strtok.3:195
3533 " exit(EXIT_SUCCESS);\n"
3536 " exit(EXIT_SUCCESS);\n"
3540 #: build/C/man3/strtok.3:201
3542 "Another example program using B<strtok>() can be found in B<getaddrinfo_a>"
3544 msgstr "B<strtok>() を使った別のプログラム例が B<getaddrinfo_a>(3) にある。"
3547 #: build/C/man3/strtok.3:212
3549 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3550 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
3552 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3553 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
3556 #: build/C/man3/strverscmp.3:23
3562 #: build/C/man3/strverscmp.3:23
3568 #: build/C/man3/strverscmp.3:26
3569 msgid "strverscmp - compare two version strings"
3570 msgstr "strverscmp - 2つのバージョン文字列を比較する"
3573 #: build/C/man3/strverscmp.3:33
3575 msgid "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
3576 msgstr "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
3578 #. classical solution: "rename jan jan0 jan?"
3580 #: build/C/man3/strverscmp.3:50
3582 "Often one has files I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... and it "
3583 "feels wrong when B<ls>(1) orders them I<jan1>, I<jan10>, ..., I<jan2>, ..., "
3584 "I<jan9>. In order to rectify this, GNU introduced the I<-v> option to B<ls>"
3585 "(1), which is implemented using B<versionsort>(3), which again uses "
3588 "I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... といった名前のファイルがある状"
3589 "況はよくあるが、 B<ls>(1) を実行したときに I<jan1>, I<jan10>, ..., "
3590 "I<jan2>, ..., I<jan9> の順番で表示されるのには違和感がある。 これを修正するた"
3591 "めに、GNU は B<ls>(1) に I<-v> オプションを導入した。 この機能は "
3592 "B<versionsort>(3) を使って実装されているが、この中で B<strverscmp>() が使用"
3596 #: build/C/man3/strverscmp.3:61
3598 "Thus, the task of B<strverscmp>() is to compare two strings and find the "
3599 "\"right\" order, while B<strcmp>(3) only finds the lexicographic order. "
3600 "This function does not use the locale category B<LC_COLLATE>, so is meant "
3601 "mostly for situations where the strings are expected to be in ASCII."
3603 "このように B<strverscmp>() の役目は2つの文字列を比較して「正しい」順序を探す"
3604 "ことである。 これに対して B<strcmp>(3) は辞書順で比較した結果を返すだけであ"
3605 "る。 関数 B<strverscmp>() はロケールのカテゴリである B<LC_COLLATE> を使用し"
3606 "ない。 このことから、この関数が主にアスキー文字から成る文字列を 想定している"
3610 #: build/C/man3/strverscmp.3:79
3612 "What this function does is the following. If both strings are equal, return "
3613 "0. Otherwise find the position between two bytes with the property that "
3614 "before it both strings are equal, while directly after it there is a "
3615 "difference. Find the largest consecutive digit strings containing (or "
3616 "starting at, or ending at) this position. If one or both of these is empty, "
3617 "then return what B<strcmp>(3) would have returned (numerical ordering of "
3618 "byte values). Otherwise, compare both digit strings numerically, where "
3619 "digit strings with one or more leading zeros are interpreted as if they have "
3620 "a decimal point in front (so that in particular digit strings with more "
3621 "leading zeros come before digit strings with fewer leading zeros). Thus, "
3622 "the ordering is I<000>, I<00>, I<01>, I<010>, I<09>, I<0>, I<1>, I<9>, I<10>."
3624 "この関数の動作は以下の通りである。 両方の文字列が等しい場合、0 を返す。 それ"
3625 "以外の場合、その直前までは両方の文字列が等しく、 その直後のバイトで両者に違い"
3626 "があるような、バイトの境界を探す。 見つかったバイト境界を含む数字列(数字だけ"
3627 "の文字列)の最長一致検索を行う。 (数字列は境界から始まっていても、境界で終わっ"
3628 "ていてもよい)。 2つの文字列から得られた数字列の一方または両方が空であれば、 "
3629 "B<strcmp>(3) が返した結果を関数の返り値として返す。 すなわち、バイト値を比較"
3630 "した結果を返す。 それ以外の(数字列が両方とも空でない)場合、両方の数字列を数字"
3631 "順で比較する。 このとき、1つ以上の 0 が先頭にある数字列は、前に小数点がついて"
3632 "いるものと 解釈される。(先頭に 0 が多くある数字列ほど前に来ることになる) こ"
3633 "の結果、順序は次のようになる: I<000>, I<00>, I<01>, I<010>, I<09>, I<0>, "
3637 #: build/C/man3/strverscmp.3:86
3639 "The B<strverscmp>() function returns an integer less than, equal to, or "
3640 "greater than zero if I<s1> is found, respectively, to be earlier than, equal "
3641 "to, or later than I<s2>."
3643 "関数 B<strverscmp>() は、ゼロよりも 1)小さい、2)等しい、3)大きいのいずれかの"
3644 "整数を返す。 それぞれは、I<s1> が I<s2> よりも、 1)小さい、2)等しい、3)大き"
3648 #: build/C/man3/strverscmp.3:93
3649 msgid "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)"
3650 msgstr "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)"
3653 #: build/C/man3/strxfrm.3:28
3659 #: build/C/man3/strxfrm.3:31
3660 msgid "strxfrm - string transformation"
3661 msgstr "strxfrm - 文字列の変換"
3664 #: build/C/man3/strxfrm.3:54
3666 "The B<strxfrm>() function transforms the I<src> string into a form such "
3667 "that the result of B<strcmp>(3) on two strings that have been transformed "
3668 "with B<strxfrm>() is the same as the result of B<strcoll>(3) on the two "
3669 "strings before their transformation. The first I<n> characters of the "
3670 "transformed string are placed in I<dest>. The transformation is based on "
3671 "the program's current locale for category B<LC_COLLATE>. (See B<setlocale>"
3674 "B<strxfrm>() 関数は文字列 I<src> に対して、次の条件を満たすよう な変換をす"
3675 "る: 「ある二つの文字列に対して、それぞれを B<strxfrm>() で変換してから "
3676 "B<strcmp>(3) した結果と、 B<strxfrm>() による変換 を行わずに B<strcoll>"
3677 "(3) した結果と同じ」 変換した文字列の先頭から I<n> 文字分が I<dest> に代入さ"
3678 "れる。 変換は、カテゴリ B<LC_COLLATE> に対する、プログラムの現在のロケール に"
3679 "基づいて行われる (B<setlocale>(3) を参照のこと)。"
3682 #: build/C/man3/strxfrm.3:62
3684 "The B<strxfrm>() function returns the number of bytes required to store the "
3685 "transformed string in I<dest> excluding the terminating null byte (\\(aq"
3686 "\\e0\\(aq). If the value returned is I<n> or more, the contents of I<dest> "
3687 "are indeterminate."
3689 "B<strxfrm>() 関数は、変換された文字列を I<dest> に代入するときに 必要なバイ"
3690 "ト数から、終端の NULL バイト (\\(aq\\e0\\(aq) の分を 引いたものを返す。もし返"
3691 "り値が I<n> 以上の場合、 I<dest> の内容は不定となる。"
3694 #: build/C/man3/strxfrm.3:70
3696 "In the I<\"POSIX\"> or I<\"C\"> locales B<strxfrm>() is equivalent to "
3697 "copying the string with B<strncpy>(3)."
3699 "I<\"POSIX\"> または I<\"C\"> ロケールでは、関数 B<strxfrm>() は、 関数 "
3700 "B<strncpy>(3) を使って文字列をコピーするのと同じである。"
3703 #: build/C/man3/strxfrm.3:78
3705 "B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
3706 "B<strcoll>(3), B<string>(3)"
3708 "B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
3709 "B<strcoll>(3), B<string>(3)"
3711 #~ msgid "2009-03-30"
3712 #~ msgstr "2009-03-30"
3714 #~ msgid "2009-12-04"
3715 #~ msgstr "2009-12-04"