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-03-22 04:26+0900\n"
10 "PO-Revision-Date: 2012-03-22 01:23+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:99 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:68 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:124 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:118 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:86 build/C/man3/strcmp.3:63 build/C/man3/strcoll.3:56
182 #: build/C/man3/strcpy.3:98 build/C/man3/strdup.3:111
183 #: build/C/man3/strerror.3:148 build/C/man3/strfry.3:52
184 #: 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:130
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:93 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:176
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:141
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:106 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:182
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:148
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:113 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:189
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.37 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/."
278 #: build/C/man3/bcopy.3:31
284 #: build/C/man3/bcopy.3:31
290 #: build/C/man3/bcopy.3:34
291 msgid "bcopy - copy byte sequence"
292 msgstr "bcopy - バイト列をコピーする"
295 #: build/C/man3/bcopy.3:39
297 msgid "B<void bcopy(const void *>I<src>B<, void *>I<dest>B<, size_t >I<n>B<);>\n"
298 msgstr "B<void bcopy(const void *>I<src>B<, void *>I<dest>B<, size_t >I<n>B<);>\n"
301 #: build/C/man3/bcopy.3:50
303 "The B<bcopy>() function copies I<n> bytes from I<src> to I<dest>. The "
304 "result is correct, even when both areas overlap."
306 "B<bcopy>() は I<src> から先頭 I<n> バイトを I<dest> にコピーする。 領域が重"
307 "なっていても、結果は正しいものである。"
310 #: build/C/man3/bcopy.3:52 build/C/man3/bzero.3:48
315 #: build/C/man3/bcopy.3:66
317 "4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use "
318 "B<memcpy>(3) or B<memmove>(3) in new programs. Note that the first two "
319 "arguments are interchanged for B<memcpy>(3) and B<memmove>(3). "
320 "POSIX.1-2008 removes the specification of B<bcopy>()."
322 "4.3BSD. この関数は廃止予定である (POSIX.1-2001 では 過去の名残 (LEGACY) とさ"
323 "れている)。新しいプログラムでは B<memcpy>() や B<memmove>() を使用すべきで"
324 "ある。 B<memcpy>() や B<memmove>() では、最初の 2 つの引数の順序が入れ替"
325 "わっていることに注意すること。 POSIX.1-2008 では、 B<bcopy>() の仕様が削除さ"
329 #: build/C/man3/bcopy.3:72
330 msgid "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
332 "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
335 #: build/C/man3/bstring.3:30
341 #: build/C/man3/bstring.3:30
347 #: build/C/man3/bstring.3:34
349 "bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem, "
350 "memmove, memset - byte string operations"
352 "bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem, "
353 "memmove, memset - バイト列の操作を行なう"
356 #: build/C/man3/bstring.3:37 build/C/man3/ffs.3:41 build/C/man3/memccpy.3:34
357 #: build/C/man3/memchr.3:36 build/C/man3/memcmp.3:34 build/C/man3/memcpy.3:34
358 #: build/C/man3/memmove.3:34 build/C/man3/mempcpy.3:14
359 #: build/C/man3/memset.3:34 build/C/man3/stpcpy.3:31 build/C/man3/stpncpy.3:18
360 #: build/C/man3/strcat.3:36 build/C/man3/strchr.3:37 build/C/man3/strcmp.3:36
361 #: build/C/man3/strcoll.3:34 build/C/man3/strcpy.3:39 build/C/man3/strdup.3:35
362 #: build/C/man3/strerror.3:43 build/C/man3/strfry.3:36
363 #: build/C/man3/string.3:47 build/C/man3/strlen.3:34 build/C/man3/strnlen.3:17
364 #: build/C/man3/strpbrk.3:34 build/C/man3/strsep.3:37
365 #: build/C/man3/strsignal.3:34 build/C/man3/strspn.3:34
366 #: build/C/man3/strstr.3:37 build/C/man3/strstr.3:43 build/C/man3/strtok.3:34
367 #: build/C/man3/strverscmp.3:31 build/C/man3/strxfrm.3:34
369 msgid "B<#include E<lt>string.hE<gt>>\n"
370 msgstr "B<#include E<lt>string.hE<gt>>\n"
373 #: build/C/man3/bstring.3:39
375 msgid "B<int bcmp(const void *>I<s1>B<, const void *>I<s2>B<, int >I<n>B<);>\n"
376 msgstr "B<int bcmp(const void *>I<s1>B<, const void *>I<s2>B<, int >I<n>B<);>\n"
379 #: build/C/man3/bstring.3:41
381 msgid "B<void bcopy(const void *>I<src>B<, void *>I<dest>B<, int >I<n>B<);>\n"
382 msgstr "B<void bcopy(const void *>I<src>B<, void *>I<dest>B<, int >I<n>B<);>\n"
385 #: build/C/man3/bstring.3:43
387 msgid "B<void bzero(void *>I<s>B<, int >I<n>B<);>\n"
388 msgstr "B<void bzero(void *>I<s>B<, int >I<n>B<);>\n"
391 #: build/C/man3/bstring.3:45 build/C/man3/memccpy.3:36
393 msgid "B<void *memccpy(void *>I<dest>B<, const void *>I<src>B<, int >I<c>B<, size_t >I<n>B<);>\n"
394 msgstr "B<void *memccpy(void *>I<dest>B<, const void *>I<src>B<, int >I<c>B<, size_t >I<n>B<);>\n"
397 #: build/C/man3/bstring.3:47 build/C/man3/memchr.3:38
399 msgid "B<void *memchr(const void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
400 msgstr "B<void *memchr(const void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
403 #: build/C/man3/bstring.3:49 build/C/man3/memcmp.3:36
405 msgid "B<int memcmp(const void *>I<s1>B<, const void *>I<s2>B<, size_t >I<n>B<);>\n"
406 msgstr "B<int memcmp(const void *>I<s1>B<, const void *>I<s2>B<, size_t >I<n>B<);>\n"
409 #: build/C/man3/bstring.3:51 build/C/man3/memcpy.3:36
411 msgid "B<void *memcpy(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
412 msgstr "B<void *memcpy(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
415 #: build/C/man3/bstring.3:53 build/C/man3/memfrob.3:37
417 msgid "B<void *memfrob(void *>I<s>B<, size_t >I<n>B<);>\n"
418 msgstr "B<void *memfrob(void *>I<s>B<, size_t >I<n>B<);>\n"
421 #: build/C/man3/bstring.3:56
424 "B<void *memmem(const void *>I<needle>B<, size_t >I<needlelen>B<,>\n"
425 "B< const void *>I<haystack>B<, size_t >I<haystacklen>B<);>\n"
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"
431 #: build/C/man3/bstring.3:58 build/C/man3/memmove.3:36
433 msgid "B<void *memmove(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
434 msgstr "B<void *memmove(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
437 #: build/C/man3/bstring.3:60 build/C/man3/memset.3:36
439 msgid "B<void *memset(void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
440 msgstr "B<void *memset(void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
443 #: build/C/man3/bstring.3:66
445 "The byte string functions perform operations on strings (byte arrays) that "
446 "are not necessarily null-terminated. See the individual man pages for "
447 "descriptions of each function."
449 "これらの関数は NULL 終端する必要のない文字列 (バイト配列) の操作を行う。 関数"
450 "の詳しい説明は、それぞれの man ページを参照すること。"
453 #: build/C/man3/bstring.3:66 build/C/man3/ffs.3:98 build/C/man3/strcoll.3:58
454 #: build/C/man3/strcpy.3:100 build/C/man3/strsep.3:68
455 #: build/C/man3/strxfrm.3:64
460 #. The old functions are not even available on some non-GNU/Linux systems.
462 #: build/C/man3/bstring.3:80
464 "The functions B<bcmp>(), B<bcopy>() and B<bzero>() are obsolete. Use "
465 "B<memcmp>(), B<memcpy>() and B<memset>() instead."
467 "B<bcmp>(), B<bcopy>(), B<bzero>() 関数は古いものである。代わりに B<memcmp>"
468 "(), B<memcpy>() B<memset>() を使うこと。"
471 #: build/C/man3/bstring.3:92
473 "B<bcmp>(3), B<bcopy>(3), B<bzero>(3), B<memccpy>(3), B<memchr>(3), B<memcmp>"
474 "(3), B<memcpy>(3), B<memfrob>(3), B<memmem>(3), B<memmove>(3), B<memset>(3)"
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)"
480 #: build/C/man3/bzero.3:29
486 #: build/C/man3/bzero.3:32
487 msgid "bzero - write zero-valued bytes"
488 msgstr "bzero - 値 0 のバイトで埋める"
491 #: build/C/man3/bzero.3:37
493 msgid "B<void bzero(void *>I<s>B<, size_t >I<n>B<);>\n"
494 msgstr "B<void bzero(void *>I<s>B<, size_t >I<n>B<);>\n"
497 #: build/C/man3/bzero.3:46
499 "The B<bzero>() function sets the first I<n> bytes of the area starting at "
500 "I<s> to zero (bytes containing \\(aq\\e0\\(aq)."
502 "B<bzero>() 関数は バイト列 I<s> から始まる領域の先頭 I<n> バイトを 数値ゼロ "
503 "(値が \\(aq\\e0\\(aq のバイト) で埋める。"
506 #: build/C/man3/bzero.3:55
508 "4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use "
509 "B<memset>(3) in new programs. POSIX.1-2008 removes the specification of "
512 "4.3BSD. この関数は廃止予定である (POSIX.1-2001 では 過去の名残 (LEGACY) とさ"
513 "れている)。新しいプログラムでは B<memset>(3) を使用すべきである。 "
514 "POSIX.1-2008 では B<bzero>() の仕様が削除されている。"
517 #: build/C/man3/bzero.3:58
518 msgid "B<memset>(3), B<swab>(3)"
519 msgstr "B<memset>(3), B<swab>(3)"
522 #: build/C/man3/ffs.3:31
528 #: build/C/man3/ffs.3:31 build/C/man3/strcasecmp.3:28 build/C/man3/strchr.3:31
529 #: build/C/man3/strcmp.3:30 build/C/man3/strcoll.3:28 build/C/man3/strcpy.3:33
530 #: build/C/man3/strfry.3:28 build/C/man3/strpbrk.3:28 build/C/man3/strspn.3:28
536 #: build/C/man3/ffs.3:31 build/C/man3/index.3:29 build/C/man3/memccpy.3:28
537 #: build/C/man3/memfrob.3:28 build/C/man3/memmem.3:28
538 #: build/C/man3/memmove.3:28 build/C/man3/mempcpy.3:6 build/C/man3/memset.3:28
539 #: build/C/man3/stpcpy.3:25 build/C/man3/stpncpy.3:12 build/C/man3/strcat.3:30
540 #: build/C/man3/strchr.3:31 build/C/man3/strcoll.3:28 build/C/man3/strcpy.3:33
541 #: build/C/man3/strdup.3:29 build/C/man3/strfry.3:28 build/C/man3/strlen.3:28
542 #: build/C/man3/strnlen.3:11 build/C/man3/strsep.3:31
543 #: build/C/man3/strsignal.3:28 build/C/man3/strstr.3:31
544 #: build/C/man3/strtok.3:28 build/C/man3/strverscmp.3:23
545 #: build/C/man3/strxfrm.3:28
551 #: build/C/man3/ffs.3:34
552 msgid "ffs, ffsl, ffsll - find first bit set in a word"
553 msgstr "ffs, ffsl, ffsll - ワードの中で最初にセットされているビットの検出"
556 #: build/C/man3/ffs.3:39
558 msgid "B<int ffs(int >I<i>B<);>\n"
559 msgstr "B<int ffs(int >I<i>B<);>\n"
562 #: build/C/man3/ffs.3:43
564 msgid "B<int ffsl(long int >I<i>B<);>\n"
565 msgstr "B<int ffsl(long int >I<i>B<);>\n"
568 #: build/C/man3/ffs.3:45
570 msgid "B<int ffsll(long long int >I<i>B<);>\n"
571 msgstr "B<int ffsll(long long int >I<i>B<);>\n"
574 #: build/C/man3/ffs.3:50 build/C/man3/memchr.3:47 build/C/man3/stpcpy.3:38
575 #: build/C/man3/stpncpy.3:25 build/C/man3/strdup.3:48
576 #: build/C/man3/strerror.3:56 build/C/man3/strnlen.3:24
577 #: build/C/man3/strsep.3:44 build/C/man3/strsignal.3:43
578 #: build/C/man3/strtok.3:43
580 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
581 msgstr "glibc 向けの機能検査マクロの要件 (B<feature_test_macros>(7) 参照):"
584 #: build/C/man3/ffs.3:55
589 #: build/C/man3/ffs.3:56
591 msgid "Since glibc 2.12:"
592 msgstr "glibc 2.10 以降:"
595 #: build/C/man3/ffs.3:60
597 "_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L || "
598 "_XOPEN_SOURCE\\ E<gt>=\\ 700 ||"
600 "_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200809L || "
601 "_XOPEN_SOURCE\\ E<gt>=\\ 700 ||"
604 #: build/C/man3/ffs.3:60
606 msgid "Before glibc 2.12:"
607 msgstr "glibc 2.10 より前:"
610 #: build/C/man3/ffs.3:63
615 #: build/C/man3/ffs.3:67
616 msgid "B<ffsl>(), B<ffsll>():"
617 msgstr "B<ffsl>(), B<ffsll>():"
620 #: build/C/man3/ffs.3:69 build/C/man3/stpcpy.3:50 build/C/man3/stpncpy.3:37
621 #: build/C/man3/strdup.3:68 build/C/man3/strnlen.3:36
622 #: build/C/man3/strsignal.3:55
627 #: build/C/man3/ffs.3:85
629 "The B<ffs>() function returns the position of the first (least significant) "
630 "bit set in the word I<i>. The least significant bit is position 1 and the "
631 "most significant position is, for example, 32 or 64. The functions B<ffsll>"
632 "() and B<ffsl>() do the same but take arguments of possibly different size."
634 "B<ffs>() 関数は、ワード I<i> の中で最初にセットされている (最下位)ビットの位"
635 "置を返す。 最下位ビットの位置は 1、最上位ビットの位置は例えば 32 や 64 であ"
636 "る。 B<ffsll>() 関数と B<ffsl>() 関数も同様だが、 異なったサイズの引数をと"
640 #: build/C/man3/ffs.3:89
642 "These functions return the position of the first bit set, or 0 if no bits "
645 "これらの関数は、最初にセットされているビットの位置を返し、 I<i> のどのビット"
646 "もセットされていなければ 0 を返す。"
649 #: build/C/man3/ffs.3:92
650 msgid "B<ffs>(): 4.3BSD, POSIX.1-2001."
651 msgstr "B<ffs>(): 4.3BSD, POSIX.1-2001."
654 #: build/C/man3/ffs.3:98
655 msgid "The B<ffsl>() and B<ffsll>() functions are glibc extensions."
656 msgstr "関数 B<ffsl>() と B<ffsll>() は glibc による拡張である。"
659 #: build/C/man3/ffs.3:101
660 msgid "BSD systems have a prototype in I<E<lt>string.hE<gt>>."
661 msgstr "BSD システムでは I<E<lt>string.hE<gt>> にプロトタイプがある。"
664 #: build/C/man3/ffs.3:103
666 msgstr "B<memchr>(3)"
669 #: build/C/man3/index.3:29
675 #: build/C/man3/index.3:29
681 #: build/C/man3/index.3:32
682 msgid "index, rindex - locate character in string"
683 msgstr "index, rindex - 文字列中の文字の位置を示す"
686 #: build/C/man3/index.3:37 build/C/man3/string.3:43
688 msgid "B<char *index(const char *>I<s>B<, int >I<c>B<);>\n"
689 msgstr "B<char *index(const char *>I<s>B<, int >I<c>B<);>\n"
692 #: build/C/man3/index.3:39 build/C/man3/string.3:45
694 msgid "B<char *rindex(const char *>I<s>B<, int >I<c>B<);>\n"
695 msgstr "B<char *rindex(const char *>I<s>B<, int >I<c>B<);>\n"
698 #: build/C/man3/index.3:45
700 "The B<index>() function returns a pointer to the first occurrence of the "
701 "character I<c> in the string I<s>."
703 "B<index>() 関数は、文字列 I<s> 中に最初に文字 I<c> が 現れた位置へのポインタ"
707 #: build/C/man3/index.3:50
709 "The B<rindex>() function returns a pointer to the last occurrence of the "
710 "character I<c> in the string I<s>."
712 "B<rindex>() 関数は、文字列 I<s> 中に最後に文字 I<c> が 現れた位置へのポイン"
716 #: build/C/man3/index.3:53
718 "The terminating null byte (\\(aq\\e0\\(aq) is considered to be a part of the "
721 "文字列を終端する NULL バイト (\\(aq\\e0\\(aq) は、文字列の一部とみなされる。"
724 #: build/C/man3/index.3:60
726 "The B<index>() and B<rindex>() functions return a pointer to the matched "
727 "character or NULL if the character is not found."
729 "B<index>() と B<rindex>() 関数は、一致した文字へのポインタか、 もし文字が見"
733 #: build/C/man3/index.3:71
735 "4.3BSD; marked as LEGACY in POSIX.1-2001. POSIX.1-2008 removes the "
736 "specifications of B<index>() and B<rindex>(), recommending B<strchr>(3) "
737 "and B<strrchr>(3) instead."
739 "4.3BSD; POSIX.1-2001 では「過去の名残 (LEGACY)」と位置付けられている。 "
740 "POSIX.1-2008 では B<index>() と B<rindex>() の仕様が削除されている。 代わり"
741 "に、 B<strchr>(3) と B<strrchr>(3) の使用が推奨されている。"
744 #: build/C/man3/index.3:81
746 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strrchr>(3), "
747 "B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
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)"
753 #: build/C/man3/memccpy.3:28
759 #: build/C/man3/memccpy.3:28
765 #: build/C/man3/memccpy.3:31
766 msgid "memccpy - copy memory area"
767 msgstr "memccpy - メモリ領域をコピーする"
770 #: build/C/man3/memccpy.3:43
772 "The B<memccpy>() function copies no more than I<n> bytes from memory area "
773 "I<src> to memory area I<dest>, stopping when the character I<c> is found."
775 "B<memccpy>() は、メモリ領域 I<src> からメモリ領域 I<dest> に 最大で I<n> バ"
776 "イトのコピーを行う。 I<n> バイトコピーする前に文字 I<c> が見つかると、 そこで"
780 #: build/C/man3/memccpy.3:45
781 msgid "If the memory areas overlap, the results are undefined."
782 msgstr "コピー元とコピー先のメモリ領域が重なっている場合、 結果は不定である。"
785 #: build/C/man3/memccpy.3:51
787 "The B<memccpy>() function returns a pointer to the next character in "
788 "I<dest> after I<c>, or NULL if I<c> was not found in the first I<n> "
789 "characters of I<src>."
791 "B<memccpy>() は、I<dest> 中に見つかった I<c> の 次にあるキャラクター型の変数"
792 "を指すポインタを返す。 見つからなかった場合、NULL を返す。"
795 #: build/C/man3/memccpy.3:53
796 msgid "SVr4, 4.3BSD, POSIX.1-2001."
797 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
800 #: build/C/man3/memccpy.3:59
801 msgid "B<bcopy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
802 msgstr "B<bcopy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
805 #: build/C/man3/memchr.3:30
811 #: build/C/man3/memchr.3:30
817 #: build/C/man3/memchr.3:33
818 msgid "memchr, memrchr, rawmemchr - scan memory for a character"
819 msgstr "memchr, memrchr, rawmemchr - 文字を探すためにメモリをスキャンする"
822 #: build/C/man3/memchr.3:40
824 msgid "B<void *memrchr(const void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
825 msgstr "B<void *memrchr(const void *>I<s>B<, int >I<c>B<, size_t >I<n>B<);>\n"
828 #: build/C/man3/memchr.3:42
830 msgid "B<void *rawmemchr(const void *>I<s>B<, int >I<c>B<);>\n"
831 msgstr "B<void *rawmemchr(const void *>I<s>B<, int >I<c>B<);>\n"
834 #: build/C/man3/memchr.3:52
835 msgid "B<memrchr>(), B<rawmemchr>(): _GNU_SOURCE"
836 msgstr "B<memrchr>(): B<rawmemchr>(): _GNU_SOURCE"
839 #: build/C/man3/memchr.3:59
841 "The B<memchr>() function scans the first I<n> bytes of the memory area "
842 "pointed to by I<s> for the character I<c>. The first byte to match I<c> "
843 "(interpreted as an unsigned character) stops the operation."
845 "B<memchr>() 関数は、ポインタ I<s> が指し示すメモリブロックの 先頭の I<n> バ"
846 "イトから文字 I<c> を探す。 最初に I<c> (unsigned char と解釈される) が見つ"
850 #: build/C/man3/memchr.3:67
852 "The B<memrchr>() function is like the B<memchr>() function, except that it "
853 "searches backward from the end of the I<n> bytes pointed to by I<s> instead "
854 "of forward from the beginning."
856 "B<memrchr>() 関数は B<memchr>() 関数に似ているが、 先頭から順方向に探すので"
857 "はなく、 ポインタ I<s> が指し示す I<n> バイトのメモリブロックの 末尾から逆向"
861 #: build/C/man3/memchr.3:93
863 "The B<rawmemchr>() function is similar to B<memchr>(): it assumes (i.e., "
864 "the programmer knows for certain) that the character I<c> lies somewhere in "
865 "the string I<s>, and so performs an optimized search for the character I<c> "
866 "(i.e., no checking for the terminating null byte, or use of an argument, "
867 "I<n>, to limit the range of the search). If the character I<c> is not in "
868 "the string I<s>, then B<rawmemchr>() may proceed to search beyond the end "
869 "of the string, and the result is unspecified. The following call is a fast "
870 "means of locating a string's terminating null byte:"
872 "B<rawmemchr>() 関数は B<memchr>() と同様だが、 文字 I<c> が文字列 I<s> 内の"
873 "どこかにあることを前提にして (つまり、プログラマはそのことを知っている)、 最"
874 "適化した方法で文字 I<c> の検索を実行する (すなわち、終端の NULL バイトの"
875 "チェックも行われないし、 検索範囲の上限を示す引き数 I<n> も使用されない)。 文"
876 "字 I<c> が文字列 I<s> 内にない場合、 B<rawmemchr>() は文字列末尾を越えて検索"
877 "を実行するかもしれず、結果は不定である。 次に示す呼び出しは、文字列終端の "
878 "NULL バイトの位置を特定する 高速な手段である。"
881 #: build/C/man3/memchr.3:97
883 msgid "char *p = rawmemchr(s,\\ \\(aq\\e0\\(aq);\n"
884 msgstr "char *p = rawmemchr(s,\\ \\(aq\\e0\\(aq);\n"
887 #: build/C/man3/memchr.3:107
889 "The B<memchr>() and B<memrchr>() functions return a pointer to the "
890 "matching byte or NULL if the character does not occur in the given memory "
893 "B<memchr>() 関数と B<memrchr>() 関数は一致する文字へのポインタを返し、 もし"
894 "文字が指定メモリ領域に現れない場合は NULL を返す。"
897 #: build/C/man3/memchr.3:112
899 "The B<rawmemchr>() function returns a pointer to the matching byte, if one "
900 "is found. If no matching byte is found, the result is unspecified."
902 "B<rawmemchr>() 関数はマッチするバイトが見つかった場合はマッチしたバイトへの"
903 "ポインタを返す。 マッチするバイトが見つからなかった場合、結果は不定である。"
906 #: build/C/man3/memchr.3:112 build/C/man3/mempcpy.3:51
907 #: build/C/man3/strchr.3:83
913 #: build/C/man3/memchr.3:115
914 msgid "B<rawmemchr>() first appeared in glibc in version 2.1."
915 msgstr "B<rawmemchr>() は glibc バージョン 2.1 で初めて登場した。"
918 #: build/C/man3/memchr.3:118
919 msgid "B<memrchr>() first appeared in glibc in version 2.2."
920 msgstr "B<memrchr>() は glibc バージョン 2.2 で初めて登場した。"
923 #: build/C/man3/memchr.3:122
925 "The B<memchr>() function conforms to SVr4, 4.3BSD, C89, C99, POSIX.1-2001."
926 msgstr "B<memchr>() 関数は SVr4, 4.3BSD, C89, C99, POSIX.1-2001 に準拠する。"
929 #: build/C/man3/memchr.3:126
931 "The B<memrchr>() function is a GNU extension, available since glibc 2.1.91."
932 msgstr "B<memrchr>() 関数は GNU 拡張であり、glibc 2.1.91 から使用可能である。"
935 #: build/C/man3/memchr.3:130
937 "The B<rawmemchr>() function is a GNU extension, available since glibc 2.1."
938 msgstr "B<rawmemchr>() 関数は GNU 拡張であり、glibc 2.1 から使用可能である。"
941 #: build/C/man3/memchr.3:141
943 "B<ffs>(3), B<index>(3), B<rindex>(3), B<strchr>(3), B<strpbrk>(3), B<strrchr>"
944 "(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wmemchr>(3)"
946 "B<ffs>(3), B<index>(3), B<rindex>(3), B<strchr>(3), B<strpbrk>(3), B<strrchr>"
947 "(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wmemchr>(3)"
950 #: build/C/man3/memcmp.3:28
956 #: build/C/man3/memcmp.3:28
962 #: build/C/man3/memcmp.3:31
963 msgid "memcmp - compare memory areas"
964 msgstr "memcmp - メモリ領域を比較する"
967 #: build/C/man3/memcmp.3:46
969 "The B<memcmp>() function compares the first I<n> bytes (each interpreted as "
970 "I<unsigned char>) of the memory areas I<s1> and I<s2>. It returns an "
971 "integer less than, equal to, or greater than zero if I<s1> is found, "
972 "respectively, to be less than, to match, or be greater than I<s2>."
974 "B<memcmp>() 関数は、メモリ領域 I<s1> とI<s2> の最初の I<n> バイトを比較する "
975 "(各バイトは I<unsigned char> として解釈される)。 I<s1> が I<s2> より小さい"
976 "か、同じか、あるいは大きいかによって それぞれ、負の整数、0、正の整数を返す。"
979 #: build/C/man3/memcmp.3:53
981 "The B<memcmp>() function returns an integer less than, equal to, or greater "
982 "than zero if the first I<n> bytes of I<s1> is found, respectively, to be "
983 "less than, to match, or be greater than the first I<n> bytes of I<s2>."
985 "B<memcmp>() 関数は、I<s1> の最初の I<n> バイトが I<s2> の最初の I<n> バイト"
986 "よりも 小さいか、同じか、あるいは大きいかによってそれぞれ、負の整数、0、 正の"
990 #: build/C/man3/memcmp.3:55 build/C/man3/memcpy.3:52 build/C/man3/memmove.3:57
991 #: build/C/man3/memset.3:49
992 msgid "SVr4, 4.3BSD, C89, C99, POSIX.1-2001."
993 msgstr "SVr4, 4.3BSD, C89, C99, POSIX.1-2001."
996 #: build/C/man3/memcmp.3:63
998 "B<bcmp>(3), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3), B<strncasecmp>"
999 "(3), B<strncmp>(3), B<wmemcmp>(3)"
1001 "B<bcmp>(3), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3), B<strncasecmp>"
1002 "(3), B<strncmp>(3), B<wmemcmp>(3)"
1005 #: build/C/man3/memcpy.3:28
1011 #: build/C/man3/memcpy.3:28
1017 #: build/C/man3/memcpy.3:31
1018 msgid "memcpy - copy memory area"
1019 msgstr "memcpy - メモリ領域をコピーする。"
1022 #: build/C/man3/memcpy.3:46
1024 "The B<memcpy>() function copies I<n> bytes from memory area I<src> to "
1025 "memory area I<dest>. The memory areas must not overlap. Use B<memmove>(3) "
1026 "if the memory areas do overlap."
1028 "B<memcpy>() はメモリ領域 I<src> の先頭 I<n> バイトを メモリ領域 I<dest> にコ"
1029 "ピーする。コピー元の領域と コピー先の領域が重なってはならない。重なっている場"
1030 "合は B<memmove>(3) を使うこと。"
1033 #: build/C/man3/memcpy.3:50
1034 msgid "The B<memcpy>() function returns a pointer to I<dest>."
1035 msgstr "B<memcpy>() は I<dest> へのポインタを返す。"
1038 #: build/C/man3/memcpy.3:60
1040 "B<bcopy>(3), B<memccpy>(3), B<memmove>(3), B<mempcpy>(3), B<strcpy>(3), "
1041 "B<strncpy>(3), B<wmemcpy>(3)"
1043 "B<bcopy>(3), B<memccpy>(3), B<memmove>(3), B<mempcpy>(3), B<strcpy>(3), "
1044 "B<strncpy>(3), B<wmemcpy>(3)"
1047 #: build/C/man3/memfrob.3:28
1053 #: build/C/man3/memfrob.3:28
1059 #: build/C/man3/memfrob.3:31
1060 msgid "memfrob - frobnicate (encrypt) a memory area"
1061 msgstr "memfrob - メモリエリアの操作 (暗号化)"
1064 #: build/C/man3/memfrob.3:35
1067 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1068 "B<#include E<lt>string.hE<gt>>\n"
1070 "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
1071 "B<#include E<lt>string.hE<gt>>\n"
1074 #: build/C/man3/memfrob.3:48
1076 "The B<memfrob>() function encrypts the first I<n> bytes of the memory area "
1077 "I<s> by exclusive-ORing each character with the number 42. The effect can "
1078 "be reversed by using B<memfrob>() on the encrypted memory area."
1080 "B<memfrob>() 関数は、メモリエリア I<s> の最初の I<n> バイトの それぞれの文字"
1081 "を 42 との排他的論理をとることによって暗号化する。 変換後のデータは、暗号化さ"
1082 "れているメモリエリアに (再度) B<memfrob>() 関数を施すことで、元に戻すことが"
1086 #: build/C/man3/memfrob.3:51
1088 "Note that this function is not a proper encryption routine as the XOR "
1089 "constant is fixed, and is only suitable for hiding strings."
1091 "この関数は妥当な暗号化ルーチンであるとは言えないことに注意して欲しい。 XOR を"
1092 "とる定数を固定しているので、せいぜい、文字列を隠す程度の用法にし か向いていな"
1096 #: build/C/man3/memfrob.3:56
1098 "The B<memfrob>() function returns a pointer to the encrypted memory area."
1099 msgstr "B<memfrob>() 関数は、暗号化されたメモリエリアへのポインタを返す。"
1102 #: build/C/man3/memfrob.3:61
1103 msgid "The B<memfrob>() function is unique to the GNU C Library."
1104 msgstr "B<memfrob>() 関数は GNU C ライブラリに固有である。"
1107 #: build/C/man3/memfrob.3:63
1108 msgid "B<strfry>(3)"
1109 msgstr "B<strfry>(3)"
1112 #: build/C/man3/memmem.3:28
1118 #: build/C/man3/memmem.3:28
1124 #: build/C/man3/memmem.3:31
1125 msgid "memmem - locate a substring"
1126 msgstr "memmem - 部分文字列の位置を示す"
1129 #: build/C/man3/memmem.3:35 build/C/man3/strchr.3:44
1132 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1133 "B<#include E<lt>string.hE<gt>>\n"
1135 "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
1136 "B<#include E<lt>string.hE<gt>>\n"
1139 #: build/C/man3/memmem.3:38
1142 "B<void *memmem(const void *>I<haystack>B<, size_t >I<haystacklen>B<,>\n"
1143 "B< const void *>I<needle>B<, size_t >I<needlelen>B<);>\n"
1145 "B<void *memmem(const void *>I<haystack>B<, size_t >I<haystacklen>B<,>\n"
1146 "B< const void *>I<needle>B<, size_t >I<needlelen>B<);>\n"
1149 #: build/C/man3/memmem.3:45
1151 "The B<memmem>() function finds the start of the first occurrence of the "
1152 "substring I<needle> of length I<needlelen> in the memory area I<haystack> of "
1153 "length I<haystacklen>."
1155 "B<memmem>() 関数は、 I<haystacklen> の大きさを持つメモリ領域 I<haystack> の"
1156 "中で I<needlelen> の大きさを持つ部分文字列 I<needle> が 最初に現れる位置を見"
1160 #: build/C/man3/memmem.3:50
1162 "The B<memmem>() function returns a pointer to the beginning of the "
1163 "substring, or NULL if the substring is not found."
1165 "B<memmem>() 関数は、部分文字列の開始を指すポインタを返し、もし部分文字列が "
1166 "見つからない場合は NULL を返す。"
1169 #: build/C/man3/memmem.3:52 build/C/man3/mempcpy.3:56
1170 #: build/C/man3/strverscmp.3:88
1171 msgid "This function is a GNU extension."
1172 msgstr "この関数は GNU による拡張である。"
1175 #: build/C/man3/memmem.3:52 build/C/man3/stpcpy.3:95 build/C/man3/strcpy.3:124
1176 #: build/C/man3/strsep.3:77 build/C/man3/strstr.3:68 build/C/man3/strtok.3:118
1182 #: build/C/man3/memmem.3:57
1184 "This function was broken in Linux libraries up to and including libc 5.0.9; "
1185 "there the I<needle> and I<haystack> arguments were interchanged, and a "
1186 "pointer to the end of the first occurrence of I<needle> was returned."
1188 "Linux のライブラリに関していうと、 libc 5.0.9 と それ以前のすべてのバージョン"
1189 "で、この関数は壊れている。 それらのライブラリでは I<needle> と I<haystack> 引"
1190 "数が 入れ替わっており、 I<needle> が最初に出現する部分の最後を 示すポインタが"
1194 #: build/C/man3/memmem.3:63
1196 "Both old and new libc's have the bug that if I<needle> is empty, "
1197 "I<haystack-1> (instead of I<haystack>) is returned. And glibc 2.0 makes it "
1198 "worse, returning a pointer to the last byte of I<haystack>. This is fixed "
1201 "新旧両方の libc ライブラリが、 I<needle> が空の場合 (I<haystack> のかわりに) "
1202 "I<haystack-1>\\ が 返されるというバグを持っている。 そして、glibc 2.0 ではさ"
1203 "らに悪くなっており、 I<haystack> の最後のバイトへのポインタを返す。 これは "
1207 #: build/C/man3/memmem.3:65
1208 msgid "B<strstr>(3)"
1209 msgstr "B<strstr>(3)"
1212 #: build/C/man3/memmove.3:28
1218 #: build/C/man3/memmove.3:28
1224 #: build/C/man3/memmove.3:31
1225 msgid "memmove - copy memory area"
1226 msgstr "memmove - メモリ領域をコピーする"
1229 #: build/C/man3/memmove.3:51
1231 "The B<memmove>() function copies I<n> bytes from memory area I<src> to "
1232 "memory area I<dest>. The memory areas may overlap: copying takes place as "
1233 "though the bytes in I<src> are first copied into a temporary array that does "
1234 "not overlap I<src> or I<dest>, and the bytes are then copied from the "
1235 "temporary array to I<dest>."
1237 "B<memmove>() は、メモリ領域 I<src> の先頭 I<n> バイトを メモリ領域 I<dest> "
1238 "にコピーする。コピー元とコピー先の 領域が重なっていてもよい。 最初に I<src> "
1239 "のバイトが I<src> とも I<dest> とも重ならない一時的な配列にコピーされてから、"
1240 "一時的な配列から I<dest> にバイトのコピーが行われたかのように、コピーが行われ"
1244 #: build/C/man3/memmove.3:55
1245 msgid "The B<memmove>() function returns a pointer to I<dest>."
1246 msgstr "B<memmove>() は I<dest> へのポインタを返す。"
1249 #: build/C/man3/memmove.3:64
1251 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<strncpy>(3), "
1254 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<strncpy>(3), "
1258 #: build/C/man3/mempcpy.3:6
1264 #: build/C/man3/mempcpy.3:6
1270 #: build/C/man3/mempcpy.3:9
1271 msgid "mempcpy, wmempcpy - copy memory area"
1272 msgstr "mempcpy, wmempcpy - メモリ領域をコピーする"
1275 #: build/C/man3/mempcpy.3:12 build/C/man3/mempcpy.3:18
1276 #: build/C/man3/strfry.3:34 build/C/man3/strstr.3:41
1277 #: build/C/man3/strverscmp.3:29
1279 msgid "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
1280 msgstr "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n"
1283 #: build/C/man3/mempcpy.3:16
1285 msgid "B<void *mempcpy(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
1286 msgstr "B<void *mempcpy(void *>I<dest>B<, const void *>I<src>B<, size_t >I<n>B<);>\n"
1289 #: build/C/man3/mempcpy.3:20
1291 msgid "B<#include E<lt>wchar.hE<gt>>\n"
1292 msgstr "B<#include E<lt>wchar.hE<gt>>\n"
1295 #: build/C/man3/mempcpy.3:22
1297 msgid "B<wchar_t *wmempcpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t >I<n>B<);>\n"
1298 msgstr "B<wchar_t *wmempcpy(wchar_t *>I<dest>B<, const wchar_t *>I<src>B<, size_t >I<n>B<);>\n"
1301 #: build/C/man3/mempcpy.3:38
1303 "The B<mempcpy>() function is nearly identical to the B<memcpy>(3) "
1304 "function. It copies I<n> bytes from the object beginning at I<src> into the "
1305 "object pointed to by I<dest>. But instead of returning the value of I<dest> "
1306 "it returns a pointer to the byte following the last written byte."
1308 "B<mempcpy>() 関数は B<memcpy>(3) 関数とほぼ同一である。 この関数は、 "
1309 "I<src> で始まるオブジェクトから I<n> バイトを、 I<dest> で指されるオブジェク"
1310 "トにコピーする。 ただし I<dest> の値を返すのではなく、 最後に書き込まれたバイ"
1311 "トの後に続くバイトへのポインタを返す。"
1314 #: build/C/man3/mempcpy.3:41
1316 "This function is useful in situations where a number of objects shall be "
1317 "copied to consecutive memory positions."
1319 "この関数はいくつかのオブジェクトが 連続的なメモリの場所にコピーされるような状"
1323 #: build/C/man3/mempcpy.3:49
1325 "The B<wmempcpy>() function is identical but takes I<wchar_t> type arguments "
1326 "and copies I<n> wide characters."
1328 "B<wmempcpy>() 関数はこの関数と同じであるが、 I<wchar_t> 型の引き数をとり、 "
1329 "I<n> ワイド文字列をコピーする。"
1332 #: build/C/man3/mempcpy.3:51
1333 msgid "I<dest> + I<n>."
1334 msgstr "I<dest> + I<n>."
1337 #: build/C/man3/mempcpy.3:54
1338 msgid "B<mempcpy>() first appeared in glibc in version 2.1."
1339 msgstr "B<mempcpy>() は glibc バージョン 2.1 で初めて登場した。"
1342 #: build/C/man3/mempcpy.3:56 build/C/man3/stpcpy.3:71
1343 #: build/C/man3/strtok.3:134
1349 #: build/C/man3/mempcpy.3:66
1353 "combine(void *o1, size_t s1, void *o2, size_t s2)\n"
1355 " void *result = malloc(s1 + s2);\n"
1356 " if (result != NULL)\n"
1357 " mempcpy(mempcpy(result, o1, s1), o2, s2);\n"
1362 "combine (void *o1, size_t s1, void *o2, size_t s2)\n"
1364 " void *result = malloc(s1 + s2);\n"
1365 " if (result != NULL)\n"
1366 " mempcpy(mempcpy(result, o1, s1), o2, s2);\n"
1370 #: build/C/man3/mempcpy.3:72
1371 msgid "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<wmemcpy>(3)"
1372 msgstr "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<wmemcpy>(3)"
1375 #: build/C/man3/memset.3:28
1381 #: build/C/man3/memset.3:28
1387 #: build/C/man3/memset.3:31
1388 msgid "memset - fill memory with a constant byte"
1389 msgstr "memset - ある一定のバイトでメモリ領域を埋める。"
1392 #: build/C/man3/memset.3:42
1394 "The B<memset>() function fills the first I<n> bytes of the memory area "
1395 "pointed to by I<s> with the constant byte I<c>."
1397 "B<memset>() は I<s> で示されるメモリ領域の先頭から I<n> バイトを I<c> で埋め"
1401 #: build/C/man3/memset.3:47
1402 msgid "The B<memset>() function returns a pointer to the memory area I<s>."
1403 msgstr "B<memset>() は I<s> へのポインタを返す。"
1406 #: build/C/man3/memset.3:53
1407 msgid "B<bzero>(3), B<swab>(3), B<wmemset>(3)"
1408 msgstr "B<bzero>(3), B<swab>(3), B<wmemset>(3)"
1411 #: build/C/man3/stpcpy.3:25
1417 #: build/C/man3/stpcpy.3:25 build/C/man3/stpncpy.3:12 build/C/man3/strcat.3:30
1418 #: build/C/man3/strlen.3:28 build/C/man3/strnlen.3:11 build/C/man3/strsep.3:31
1419 #: build/C/man3/strstr.3:31 build/C/man3/strxfrm.3:28
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:76
1498 "For example, this program uses B<stpcpy>() to concatenate B<foo> and B<bar> "
1499 "to produce B<foobar>, which it then prints."
1501 "例として、このプログラムは B<foo> と B<bar> を連結して B<foobar> を作るため"
1502 "に B<stpcpy>() を使用し、その後表示する。"
1505 #: build/C/man3/stpcpy.3:82
1508 "#define _GNU_SOURCE\n"
1509 "#include E<lt>string.hE<gt>\n"
1510 "#include E<lt>stdio.hE<gt>\n"
1512 "#define _GNU_SOURCE\n"
1513 "#include E<lt>string.hE<gt>\n"
1514 "#include E<lt>stdio.hE<gt>\n"
1517 #: build/C/man3/stpcpy.3:88
1523 " char buffer[20];\n"
1524 " char *to = buffer;\n"
1529 " char buffer[20];\n"
1530 " char *to = buffer;\n"
1533 #: build/C/man3/stpcpy.3:93
1536 " to = stpcpy(to, \"foo\");\n"
1537 " to = stpcpy(to, \"bar\");\n"
1538 " printf(\"%s\\en\", buffer);\n"
1541 " to = stpcpy(to, \"foo\");\n"
1542 " to = stpcpy(to, \"bar\");\n"
1543 " printf(\"%s\\en\", buffer);\n"
1547 #: build/C/man3/stpcpy.3:98
1548 msgid "This function may overrun the buffer I<dest>."
1549 msgstr "この関数はバッファ I<dest> の範囲を行き過ぎてしまう可能性がある。"
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:15
1568 msgid "stpncpy - copy a fixed-size string, returning a pointer to its end"
1569 msgstr "stpncpy - 固定長の文字列をコピーして、その最後へのポインターを返す"
1572 #: build/C/man3/stpncpy.3:20
1574 msgid "B<char *stpncpy(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
1575 msgstr "B<char *stpncpy(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
1578 #: build/C/man3/stpncpy.3:28
1579 msgid "B<stpncpy>():"
1580 msgstr "B<stpncpy>():"
1583 #: build/C/man3/stpncpy.3:54
1585 "The B<stpncpy>() function copies at most I<n> characters from the string "
1586 "pointed to by I<src>, including the terminating null byte (\\(aq\\e0\\(aq), "
1587 "to the array pointed to by I<dest>. Exactly I<n> characters are written at "
1588 "I<dest>. If the length I<strlen(src)> is smaller than I<n>, the remaining "
1589 "characters in the array pointed to by I<dest> are filled with null bytes "
1590 "(\\(aq\\e0\\(aq), If the length I<strlen(src)> is greater or equal to I<n>, "
1591 "the string pointed to by I<dest> will not be null-terminated."
1593 "B<stpncpy>() 関数は I<src> が指している文字列から終端の NULL バイト (\\(aq"
1594 "\\e0\\(aq) を含めて最大 I<n> バイトを I<dest> にコピーする。長さ I<strlen"
1595 "(src)> が I<n> より小さい場合には I<dest> の残りの 部分には NULL バイト "
1596 "(\\(aq\\e0\\(aq) 文字が埋められる。 長さ I<strlen(src)> が I<n> 以上ならば、 "
1597 "I<dest> が指す文字列は NULL で終端されていない。"
1600 #: build/C/man3/stpncpy.3:56
1601 msgid "The strings may not overlap."
1602 msgstr "二つの文字列は重なってはならない。"
1605 #: build/C/man3/stpncpy.3:59
1607 "The programmer must ensure that there is room for at least I<n> characters "
1610 "プログラマーは I<dest> に少なくとも I<n> バイトの空きがあることを 保証しなけ"
1614 #: build/C/man3/stpncpy.3:64
1616 "B<stpncpy>() returns a pointer to the terminating null byte in I<dest>, or, "
1617 "if I<dest> is not null-terminated, I<dest + n>."
1619 "B<stpncpy>() は I<dest> の終端の NULL バイトを指すポインターを返すか、 "
1620 "I<dest> が NULL バイトで終端されていない場合には I<dest + n> を返す。"
1623 #: build/C/man3/stpncpy.3:66
1625 "This function was added to POSIX.1-2008. Before that, it was a GNU extension."
1627 "この関数は POSIX.1-2008 に追加された。 それ以前は GNU による拡張であった。"
1630 #: build/C/man3/stpncpy.3:69
1631 msgid "B<strncpy>(3), B<wcpncpy>(3)"
1632 msgstr "B<strncpy>(3), B<wcpncpy>(3)"
1635 #: build/C/man3/strcasecmp.3:28
1641 #: build/C/man3/strcasecmp.3:31
1642 msgid "strcasecmp, strncasecmp - compare two strings ignoring case"
1643 msgstr "strcasecmp, strncasecmp - 二つの文字列を大文字小文字を区別せず比較する"
1646 #: build/C/man3/strcasecmp.3:36 build/C/man3/string.3:39
1648 msgid "B<int strcasecmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
1649 msgstr "B<int strcasecmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
1652 #: build/C/man3/strcasecmp.3:38 build/C/man3/string.3:41
1654 msgid "B<int strncasecmp(const char *>I<s1>B<, const char *>I<s2>B<, size_t >I<n>B<);>\n"
1655 msgstr "B<int strncasecmp(const char *>I<s1>B<, const char *>I<s2>B<, size_t >I<n>B<);>\n"
1658 #: build/C/man3/strcasecmp.3:47
1660 "The B<strcasecmp>() function compares the two strings I<s1> and I<s2>, "
1661 "ignoring the case of the characters. It returns an integer less than, equal "
1662 "to, or greater than zero if I<s1> is found, respectively, to be less than, "
1663 "to match, or be greater than I<s2>."
1665 "B<strcasecmp>() 関数は、二つの文字列 I<s1> と I<s2> を、 大文字小文字を区別"
1666 "せずに比較する。 I<s1> が I<s2> よりも小さいか、同じか、大きいかによってそれ"
1667 "ぞれ 負の整数、0、正の整数を返す。"
1670 #: build/C/man3/strcasecmp.3:52
1672 "The B<strncasecmp>() function is similar, except it only compares the first "
1673 "I<n> characters of I<s1>."
1675 "B<strncasecmp>() 関数も同様であるが、 I<s1> の最初の I<n> 文字だけを比較する"
1679 #: build/C/man3/strcasecmp.3:61
1681 "The B<strcasecmp>() and B<strncasecmp>() functions return an integer less "
1682 "than, equal to, or greater than zero if I<s1> (or the first I<n> bytes "
1683 "thereof) is found, respectively, to be less than, to match, or be greater "
1686 "B<strcasecmp>() と B<strncasecmp>() 関数は、I<s1> (または、その最初の I<n> "
1687 "バイト)が I<s2> よりも小さいか、 同じか、大きいかにより、それぞれ負の整数、"
1691 #: build/C/man3/strcasecmp.3:63
1692 msgid "4.4BSD, POSIX.1-2001."
1693 msgstr "4.4BSD, POSIX.1-2001."
1696 #: build/C/man3/strcasecmp.3:72
1698 "B<bcmp>(3), B<memcmp>(3), B<strcmp>(3), B<strcoll>(3), B<string>(3), "
1699 "B<strncmp>(3), B<wcscasecmp>(3), B<wcsncasecmp>(3)"
1701 "B<bcmp>(3), B<memcmp>(3), B<strcmp>(3), B<strcoll>(3), B<string>(3), "
1702 "B<strncmp>(3), B<wcscasecmp>(3), B<wcsncasecmp>(3)"
1705 #: build/C/man3/strcat.3:30
1711 #: build/C/man3/strcat.3:33
1712 msgid "strcat, strncat - concatenate two strings"
1713 msgstr "strcat, strncat - 二つの文字列を連結する"
1716 #: build/C/man3/strcat.3:38 build/C/man3/string.3:51
1718 msgid "B<char *strcat(char *>I<dest>B<, const char *>I<src>B<);>\n"
1719 msgstr "B<char *strcat(char *>I<dest>B<, const char *>I<src>B<);>\n"
1722 #: build/C/man3/strcat.3:40 build/C/man3/string.3:69
1724 msgid "B<char *strncat(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
1725 msgstr "B<char *strncat(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
1728 #: build/C/man3/strcat.3:50
1730 "The B<strcat>() function appends the I<src> string to the I<dest> string, "
1731 "overwriting the terminating null byte (\\(aq\\e0\\(aq) at the end of "
1732 "I<dest>, and then adds a terminating null byte. The strings may not "
1733 "overlap, and the I<dest> string must have enough space for the result."
1735 "B<strcat>() 関数は、I<dest> 文字列の後に I<src> 文字列を付け加える。 その際"
1736 "に、I<dest> の最後にある終端の NULL バイト (\\(aq\\e0\\(aq) は上書きされ、新"
1737 "たに生成された文字列の末尾に終端の NULL バイトが付与される。 二つの文字列 "
1738 "I<src> と I<dest> は重なってはならない。 また、文字列 I<dest> は、連結後の結"
1739 "果を格納するのに 十分な大きさでなければならない。"
1742 #: build/C/man3/strcat.3:54
1743 msgid "The B<strncat>() function is similar, except that"
1744 msgstr "B<strncat>() も同様だが、以下の点が異なる。"
1747 #: build/C/man3/strcat.3:54 build/C/man3/strcat.3:56 build/C/man3/strsep.3:80
1748 #: build/C/man3/strsep.3:82 build/C/man3/strsep.3:84 build/C/man3/strtok.3:121
1749 #: build/C/man3/strtok.3:123 build/C/man3/strtok.3:125
1750 #: build/C/man3/strtok.3:127
1756 #: build/C/man3/strcat.3:56
1757 msgid "it will use at most I<n> characters from I<src>; and"
1758 msgstr "I<src> のうち最大 I<n> 文字が使用される。"
1761 #: build/C/man3/strcat.3:59
1763 "I<src> does not need to be null-terminated if it contains I<n> or more "
1766 "I<src> が I<n> 文字以上の場合、 I<src> は NULL 終端されている必要はない。"
1769 #: build/C/man3/strcat.3:63
1771 "As with B<strcat>(), the resulting string in I<dest> is always null-"
1774 "B<strcat>() と同じく、I<dest> に格納される結果の文字列は常に NULL 終端され"
1778 #: build/C/man3/strcat.3:70
1780 "If I<src> contains I<n> or more characters, B<strncat>() writes I<n+1> "
1781 "characters to I<dest> (I<n> from I<src> plus the terminating null byte). "
1782 "Therefore, the size of I<dest> must be at least I<strlen(dest)+n+1>."
1784 "I<src> が I<n> 文字以上の場合、 B<strncat>() は I<dest> に I<n+1> 文字を書き"
1785 "込む (I<src> からの I<n> 文字と終端の NULL バイトである)。 したがって、"
1786 "I<dest> の大きさは最低でも I<strlen(dest)+n+1> でなければならない。"
1789 #: build/C/man3/strcat.3:74
1790 msgid "A simple implementation of B<strncat>() might be:"
1791 msgstr "B<strncat>() の簡単な実装は以下のような感じであろう:"
1794 #: build/C/man3/strcat.3:82
1798 "strncat(char *dest, const char *src, size_t n)\n"
1800 " size_t dest_len = strlen(dest);\n"
1804 "strncat(char *dest, const char *src, size_t n)\n"
1806 " size_t dest_len = strlen(dest);\n"
1810 #: build/C/man3/strcat.3:86
1813 " for (i = 0 ; i E<lt> n && src[i] != \\(aq\\e0\\(aq ; i++)\n"
1814 " dest[dest_len + i] = src[i];\n"
1815 " dest[dest_len + i] = \\(aq\\e0\\(aq;\n"
1817 " for (i = 0 ; i E<lt> n && src[i] != \\(aq\\e0\\(aq ; i++)\n"
1818 " dest[dest_len + i] = src[i];\n"
1819 " dest[dest_len + i] = \\(aq\\e0\\(aq;\n"
1822 #: build/C/man3/strcat.3:89 build/C/man3/strcpy.3:89
1832 #: build/C/man3/strcat.3:97
1834 "The B<strcat>() and B<strncat>() functions return a pointer to the "
1835 "resulting string I<dest>."
1837 "B<strcat>() 関数と B<strncat>() 関数は、結果としてできる文字列 I<dest> への"
1841 #: build/C/man3/strcat.3:99 build/C/man3/strcmp.3:65 build/C/man3/strcoll.3:58
1842 #: build/C/man3/strcpy.3:100 build/C/man3/strlen.3:48
1843 #: build/C/man3/strpbrk.3:50 build/C/man3/strspn.3:65
1844 #: build/C/man3/strxfrm.3:64
1845 msgid "SVr4, 4.3BSD, C89, C99."
1846 msgstr "SVr4, 4.3BSD, C89, C99."
1849 #: build/C/man3/strcat.3:108
1851 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), "
1852 "B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)"
1854 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), "
1855 "B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)"
1858 #: build/C/man3/strchr.3:31
1864 #: build/C/man3/strchr.3:34
1865 msgid "strchr, strrchr, strchrnul - locate character in string"
1866 msgstr "strchr, strrchr, strchrnul - 文字列中の文字の位置を特定する"
1869 #: build/C/man3/strchr.3:39 build/C/man3/string.3:53
1871 msgid "B<char *strchr(const char *>I<s>B<, int >I<c>B<);>\n"
1872 msgstr "B<char *strchr(const char *>I<s>B<, int >I<c>B<);>\n"
1875 #: build/C/man3/strchr.3:41 build/C/man3/string.3:77
1877 msgid "B<char *strrchr(const char *>I<s>B<, int >I<c>B<);>\n"
1878 msgstr "B<char *strrchr(const char *>I<s>B<, int >I<c>B<);>\n"
1881 #: build/C/man3/strchr.3:46
1883 msgid "B<char *strchrnul(const char *>I<s>B<, int >I<c>B<);>\n"
1884 msgstr "B<char *strchrnul(const char *>I<s>B<, int >I<c>B<);>\n"
1887 #: build/C/man3/strchr.3:52
1889 "The B<strchr>() function returns a pointer to the first occurrence of the "
1890 "character I<c> in the string I<s>."
1892 "B<strchr>() 関数は、文字列 I<s> 中に最初に文字 I<c> が現れた位置へのポインタ"
1896 #: build/C/man3/strchr.3:57
1898 "The B<strrchr>() function returns a pointer to the last occurrence of the "
1899 "character I<c> in the string I<s>."
1901 "B<strrchr>() 関数は、文字列 I<s> 中に最後に文字 I<c> が現れた位置へのポイン"
1905 #: build/C/man3/strchr.3:65
1907 "The B<strchrnul>() function is like B<strchr>() except that if I<c> is not "
1908 "found in I<s>, then it returns a pointer to the null byte at the end of "
1909 "I<s>, rather than NULL."
1911 "B<strchrnul>() 関数は B<strchr>() と同様だが、 I<c> が I<s> 中に見つからな"
1912 "かった場合に、返り値として NULL でなく、I<s> の末尾のヌルバイトへのポインタを"
1916 #: build/C/man3/strchr.3:68
1918 "Here \"character\" means \"byte\"; these functions do not work with wide or "
1919 "multibyte characters."
1921 "ここでいう「文字」は「バイト」の意味なので、 これらの関数はワイド文字やマルチ"
1925 #: build/C/man3/strchr.3:75
1927 "The B<strchr>() and B<strrchr>() functions return a pointer to the matched "
1928 "character or NULL if the character is not found."
1930 "B<strchr>() と B<strrchr>() 関数は一致した文字へのポインタを 返し、もし文字"
1931 "が見つからない場合は NULL を返す。"
1934 #: build/C/man3/strchr.3:83
1936 "The B<strchrnul>() function returns a pointer to the matched character, or "
1937 "a pointer to the null byte at the end of I<s> (i.e., I<s+strlen(s)>) if the "
1938 "character is not found."
1940 "B<strchrnul>() 関数は一致した文字へのポインタを返す。 文字が見つからない場合"
1941 "は、I<s> の末尾のヌルバイトへの ポインタ (つまり I<s+strlen(s)>) を返す。"
1944 #: build/C/man3/strchr.3:86
1945 msgid "B<strchrnul>() first appeared in glibc in version 2.1.1."
1946 msgstr "B<strchrnul>() は glibc バージョン 2.1.1 で初めて登場した。"
1949 #: build/C/man3/strchr.3:93
1951 "B<strchr>() and B<strrchr>() are in SVr4, 4.3BSD, C89, C99. B<strchrnul>"
1952 "() is a GNU extension."
1954 "B<strchr>() と B<strrchr>() は SVr4, 4.3BSD, C89, C99 に準拠している。 "
1955 "B<strchrnul>() は GNU 拡張である。"
1958 #: build/C/man3/strchr.3:106
1960 "B<index>(3), B<memchr>(3), B<rindex>(3), B<string>(3), B<strlen>(3), "
1961 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), "
1962 "B<wcschr>(3), B<wcsrchr>(3)"
1964 "B<index>(3), B<memchr>(3), B<rindex>(3), B<string>(3), B<strlen>(3), "
1965 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), "
1966 "B<wcschr>(3), B<wcsrchr>(3)"
1969 #: build/C/man3/strcmp.3:30
1975 #: build/C/man3/strcmp.3:33
1976 msgid "strcmp, strncmp - compare two strings"
1977 msgstr "strcmp, strncmp - 二つの文字列を比べる"
1980 #: build/C/man3/strcmp.3:38 build/C/man3/string.3:55
1982 msgid "B<int strcmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
1983 msgstr "B<int strcmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
1986 #: build/C/man3/strcmp.3:40 build/C/man3/string.3:71
1988 msgid "B<int strncmp(const char *>I<s1>B<, const char *>I<s2>B<, size_t >I<n>B<);>\n"
1989 msgstr "B<int strncmp(const char *>I<s1>B<, const char *>I<s2>B<, size_t >I<n>B<);>\n"
1992 #: build/C/man3/strcmp.3:49
1994 "The B<strcmp>() function compares the two strings I<s1> and I<s2>. It "
1995 "returns an integer less than, equal to, or greater than zero if I<s1> is "
1996 "found, respectively, to be less than, to match, or be greater than I<s2>."
1998 "B<strcmp>() 関数は二つの文字列 I<s1> と I<s2> を較べる。 この関数は、 I<s1> "
1999 "が I<s2> に較べて 1)小さい、2)等しい、3)大きい場合に、 ゼロよりも 1)小さい、"
2003 #: build/C/man3/strcmp.3:54
2005 "The B<strncmp>() function is similar, except it only compares the first (at "
2006 "most) I<n> characters of I<s1> and I<s2>."
2008 "B<strncmp>() 関数は、I<s1> と I<s2> の最初の I<n> 文字だけを比較することを除"
2009 "けば、strcmp()と同様である。"
2012 #: build/C/man3/strcmp.3:63
2014 "The B<strcmp>() and B<strncmp>() functions return an integer less than, "
2015 "equal to, or greater than zero if I<s1> (or the first I<n> bytes thereof) is "
2016 "found, respectively, to be less than, to match, or be greater than I<s2>."
2018 "B<strcmp>() 関数と B<strncmp>() 関数は整数を返す。 この整数は、ゼロよりも、"
2019 "1)小さい、2)等しい、3)大きいのいずれかである。 それぞれは、I<s1>(または、こ"
2020 "の文字列の最初の I<n> バイト)が I<s2> よりも、1)小さい、2)等しい、3)大きいに"
2024 #: build/C/man3/strcmp.3:75
2026 "B<bcmp>(3), B<memcmp>(3), B<strcasecmp>(3), B<strcoll>(3), B<string>(3), "
2027 "B<strncasecmp>(3), B<strverscmp>(3), B<wcscmp>(3), B<wcsncmp>(3)"
2029 "B<bcmp>(3), B<memcmp>(3), B<strcasecmp>(3), B<strcoll>(3), B<string>(3), "
2030 "B<strncasecmp>(3), B<strverscmp>(3), B<wcscmp>(3), B<wcsncmp>(3)"
2033 #: build/C/man3/strcoll.3:28
2039 #: build/C/man3/strcoll.3:31
2040 msgid "strcoll - compare two strings using the current locale"
2041 msgstr "strcoll - 現在のロケールを使用して二つの文字列を比較する"
2044 #: build/C/man3/strcoll.3:36 build/C/man3/string.3:57
2046 msgid "B<int strcoll(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
2047 msgstr "B<int strcoll(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
2050 #: build/C/man3/strcoll.3:49
2052 "The B<strcoll>() function compares the two strings I<s1> and I<s2>. It "
2053 "returns an integer less than, equal to, or greater than zero if I<s1> is "
2054 "found, respectively, to be less than, to match, or be greater than I<s2>. "
2055 "The comparison is based on strings interpreted as appropriate for the "
2056 "program's current locale for category B<LC_COLLATE>. (See B<setlocale>(3).)"
2058 "B<strcoll>() 関数は二つの文字列 I<s1> と I<s2> を比較する。 この関数は、"
2059 "I<s1> が I<s2> よりも小さいか、等しいか、大きいかによって それぞれ負の整数、"
2060 "0、正の整数を返す。 比較は、プログラムの現在のロケールの B<LC_COLLATE> カテゴ"
2061 "リに応じて 解釈された文字列に基づいて行われる (B<setlocale>(3) 参照)。"
2064 #: build/C/man3/strcoll.3:56
2066 "The B<strcoll>() function returns an integer less than, equal to, or "
2067 "greater than zero if I<s1> is found, respectively, to be less than, to "
2068 "match, or be greater than I<s2>, when both are interpreted as appropriate "
2069 "for the current locale."
2071 "B<strcoll>() 関数は、I<s1> が I<s2> よりも小さいか、等しいか、 大きいかに"
2072 "よって、それぞれ負の整数、0、正の整数を返す。 どちらの文字列も現在のロケール"
2073 "に応じて解釈されたものが使用される。"
2076 #: build/C/man3/strcoll.3:63
2078 "In the I<\"POSIX\"> or I<\"C\"> locales B<strcoll>() is equivalent to "
2081 "I<\"POSIX\"> および I<\"C\"> ロケールにおいては、 B<strcoll>() は B<strcmp>"
2085 #: build/C/man3/strcoll.3:71
2087 "B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
2088 "B<string>(3), B<strxfrm>(3)"
2090 "B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
2091 "B<string>(3), B<strxfrm>(3)"
2094 #: build/C/man3/strcpy.3:33
2100 #: build/C/man3/strcpy.3:36
2101 msgid "strcpy, strncpy - copy a string"
2102 msgstr "strcpy, strncpy - 文字列をコピーする"
2105 #: build/C/man3/strcpy.3:41 build/C/man3/string.3:59
2107 msgid "B<char *strcpy(char *>I<dest>B<, const char *>I<src>B<);>\n"
2108 msgstr "B<char *strcpy(char *>I<dest>B<, const char *>I<src>B<);>\n"
2111 #: build/C/man3/strcpy.3:43 build/C/man3/string.3:73
2113 msgid "B<char *strncpy(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
2114 msgstr "B<char *strncpy(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
2117 #: build/C/man3/strcpy.3:52
2119 "The B<strcpy>() function copies the string pointed to by I<src>, including "
2120 "the terminating null byte (\\(aq\\e0\\(aq), to the buffer pointed to by "
2121 "I<dest>. The strings may not overlap, and the destination string I<dest> "
2122 "must be large enough to receive the copy."
2124 "B<strcpy>() 関数は I<src> が指す文字列を末尾のヌルバイト (\\(aq\\e0\\(aq) も"
2125 "含めて I<dest> が指すバッファにコピーする。 二つの文字列は重なってはならな"
2126 "い。受け側の文字列 I<dest> は コピーを受け取るのに十分な大きさでなければなら"
2130 #: build/C/man3/strcpy.3:61
2132 "The B<strncpy>() function is similar, except that at most I<n> bytes of "
2133 "I<src> are copied. B<Warning>: If there is no null byte among the first "
2134 "I<n> bytes of I<src>, the string placed in I<dest> will not be null-"
2137 "B<strncpy>() 関数も同様だが、 I<src> のうち最大でも I<n> バイトしかコピーさ"
2138 "れない点が異なる。 B<警告>: I<src> の最初の I<n> バイトの中にヌルバイトがない"
2139 "場合、 I<dest> に格納される文字列はヌルで終端されないことになる。"
2142 #: build/C/man3/strcpy.3:70
2144 "If the length of I<src> is less than I<n>, B<strncpy>() pads the remainder "
2145 "of I<dest> with null bytes."
2147 "I<src> の長さが I<n> よりも短い場合、 B<strncpy>() は I<dest> の残りをヌルバ"
2151 #: build/C/man3/strcpy.3:74
2152 msgid "A simple implementation of B<strncpy>() might be:"
2153 msgstr "B<strncpy>() の簡単な実装は以下のような感じであろう:"
2156 #: build/C/man3/strcpy.3:81
2160 "strncpy(char *dest, const char *src, size_t n)\n"
2165 "strncpy(char *dest, const char *src, size_t n)\n"
2170 #: build/C/man3/strcpy.3:86
2173 " for (i = 0; i E<lt> n && src[i] != \\(aq\\e0\\(aq; i++)\n"
2174 " dest[i] = src[i];\n"
2175 " for ( ; i E<lt> n; i++)\n"
2176 " dest[i] = \\(aq\\e0\\(aq;\n"
2178 " for (i = 0; i E<lt> n && src[i] != \\(aq\\e0\\(aq; i++)\n"
2179 " dest[i] = src[i];\n"
2180 " for ( ; i E<lt> n; i++)\n"
2181 " dest[i] = \\(aq\\e0\\(aq;\n"
2184 #: build/C/man3/strcpy.3:98
2186 "The B<strcpy>() and B<strncpy>() functions return a pointer to the "
2187 "destination string I<dest>."
2189 "B<strcpy>() 関数と B<strncpy>() 関数は 受け側の文字列I<dest>へのポインタを"
2193 #: build/C/man3/strcpy.3:109
2195 "Some programmers consider B<strncpy>() to be inefficient and error prone. "
2196 "If the programmer knows (i.e., includes code to test!) that the size of "
2197 "I<dest> is greater than the length of I<src>, then B<strcpy>() can be used."
2199 "B<strncpy>() は効率的でなく間違いを起こしやすいと考えるプログラマもいるだろ"
2200 "う。 プログラマが I<dest> の大きさが I<src> の長さよりも 大きいことを知ってい"
2201 "る (つまり、そのことをチェックするコードを 書いている) 場合は、 B<strcpy()> "
2205 #: build/C/man3/strcpy.3:116
2207 "If there is no terminating null byte in the first I<n> characters of I<src>, "
2208 "B<strncpy>() produces an unterminated string in I<dest>. Programmers often "
2209 "prevent this mistake by forcing termination as follows:"
2211 "I<src> の最初の I<n> 文字に終端のヌルバイトがない場合、 B<strncpy>() は "
2212 "I<dest> に終端されていない文字列を生成する。 プログラマは間違いを防止するため"
2213 "に、 以下のように強制的に終端を行うことがよくある。"
2216 #: build/C/man3/strcpy.3:122
2219 "strncpy(buf, str, n);\n"
2221 " buf[n - 1]= \\(aq\\e0\\(aq;\n"
2223 "strncpy(buf, str, n);\n"
2225 " buf[n - 1]= \\(aq\\e0\\(aq;\n"
2228 #: build/C/man3/strcpy.3:135
2230 "If the destination string of a B<strcpy>() is not large enough, then "
2231 "anything might happen. Overflowing fixed-length string buffers is a "
2232 "favorite cracker technique for taking complete control of the machine. Any "
2233 "time a program reads or copies data into a buffer, the program first needs "
2234 "to check that there's enough space. This may be unnecessary if you can show "
2235 "that overflow is impossible, but be careful: programs can get changed over "
2236 "time, in ways that may make the impossible possible."
2238 "B<strcpy>() の受け側の文字列が十分な大きさでない場合、何が起こるかわからな"
2239 "い。 固定長文字列を溢れさせるのは、マシンの制御を掌中に収めるために クラッ"
2240 "カーが好んで使うテクニックである。 プログラムでデータをバッファに読み込んだり"
2241 "コピーしたりする場合には、 必ずまず最初に十分な大きさがあるかどうかをチェック"
2242 "する必要がある。 プログラマがオーバーフローが不可能だと示せる場合には この"
2243 "チェックは不要かもしれないが、十分注意すること。 長い間には、不可能だったこと"
2244 "が可能になるような方法でプログラムが 変更されることもあるからだ。"
2247 #: build/C/man3/strcpy.3:146
2249 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<stpcpy>(3), "
2250 "B<stpncpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<wcsncpy>(3)"
2252 "B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<stpcpy>(3), "
2253 "B<stpncpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<wcsncpy>(3)"
2256 #: build/C/man3/strdup.3:29
2262 #: build/C/man3/strdup.3:29
2268 #: build/C/man3/strdup.3:32
2269 msgid "strdup, strndup, strdupa, strndupa - duplicate a string"
2270 msgstr "strdup, strndup, strdupa, strndupa - 文字列を複製する"
2273 #: build/C/man3/strdup.3:37 build/C/man3/string.3:63
2275 msgid "B<char *strdup(const char *>I<s>B<);>\n"
2276 msgstr "B<char *strdup(const char *>I<s>B<);>\n"
2279 #: build/C/man3/strdup.3:39
2281 msgid "B<char *strndup(const char *>I<s>B<, size_t >I<n>B<);>\n"
2282 msgstr "B<char *strndup(const char *>I<s>B<, size_t >I<n>B<);>\n"
2285 #: build/C/man3/strdup.3:41
2287 msgid "B<char *strdupa(const char *>I<s>B<);>\n"
2288 msgstr "B<char *strdupa(const char *>I<s>B<);>\n"
2291 #: build/C/man3/strdup.3:43
2293 msgid "B<char *strndupa(const char *>I<s>B<, size_t >I<n>B<);>\n"
2294 msgstr "B<char *strndupa(const char *>I<s>B<, size_t >I<n>B<);>\n"
2297 #: build/C/man3/strdup.3:53
2298 msgid "B<strdup>():"
2299 msgstr "B<strdup>():"
2302 #: build/C/man3/strdup.3:56
2304 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE"
2305 "\\ &&\\ _XOPEN_SOURCE_EXTENDED"
2307 "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E<gt>=\\ 500 || _XOPEN_SOURCE"
2308 "\\ &&\\ _XOPEN_SOURCE_EXTENDED"
2311 #: build/C/man3/strdup.3:58
2312 msgid "|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
2313 msgstr "|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L"
2316 #: build/C/man3/strdup.3:61
2317 msgid "B<strndup>():"
2318 msgstr "B<strndup>():"
2321 #: build/C/man3/strdup.3:65
2322 msgid "POSIX_C_SOURCE\\ E<gt>=\\ 200809L || _XOPEN_SOURCE\\ E<gt>=\\ 700"
2323 msgstr "POSIX_C_SOURCE\\ E<gt>=\\ 200809L || _XOPEN_SOURCE\\ E<gt>=\\ 700"
2326 #: build/C/man3/strdup.3:73
2327 msgid "B<strdupa>(), B<strndupa>(): _GNU_SOURCE"
2328 msgstr "B<strdupa>(), B<strndupa>(): _GNU_SOURCE"
2331 #: build/C/man3/strdup.3:85
2333 "The B<strdup>() function returns a pointer to a new string which is a "
2334 "duplicate of the string I<s>. Memory for the new string is obtained with "
2335 "B<malloc>(3), and can be freed with B<free>(3)."
2337 "B<strdup>() 関数は、文字列 I<s>の複製である 新しい文字列へのポインタを返"
2338 "す。 新しい文字列のためのメモリは B<malloc>(3) で得ている。 そして、 B<free>"
2342 #: build/C/man3/strdup.3:92
2344 "The B<strndup>() function is similar, but only copies at most I<n> "
2345 "characters. If I<s> is longer than I<n>, only I<n> characters are copied, "
2346 "and a terminating null byte (\\(aq\\e0\\(aq) is added."
2348 "B<strndup>() 関数は同様であるが、最大で I<n> 文字だけを複製する。 I<s> が "
2349 "I<n> よりも長い場合、I<n> 文字だけが複製され、 終端の NULL バイト (\\(aq"
2350 "\\e0\\(aq)) が追加される。"
2353 #: build/C/man3/strdup.3:102
2355 "B<strdupa>() and B<strndupa>() are similar, but use B<alloca>(3) to "
2356 "allocate the buffer. They are only available when using the GNU GCC suite, "
2357 "and suffer from the same limitations described in B<alloca>(3)."
2359 "B<strdupa>() と B<strndupa>() 関数は同様であるが、 バッファを割り当てるの"
2360 "に B<alloca(3)> を用いる。 これらの関数は GNU GCC を用いた場合にのみ有効で、 "
2361 "B<alloca(3)> で記述されているのと同様の制限を受ける。"
2364 #: build/C/man3/strdup.3:107
2366 "The B<strdup>() function returns a pointer to the duplicated string, or "
2367 "NULL if insufficient memory was available."
2369 "B<strdup>() 関数は複製された文字列へのポインタ、または 十分なメモリが確保で"
2373 #: build/C/man3/strdup.3:107 build/C/man3/strerror.3:139
2379 #: build/C/man3/strdup.3:108
2385 #: build/C/man3/strdup.3:111
2386 msgid "Insufficient memory available to allocate duplicate string."
2387 msgstr "複製された文字列を割り当てる十分なメモリが確保できなかった。"
2389 #. 4.3BSD-Reno, not (first) 4.3BSD.
2391 #: build/C/man3/strdup.3:121
2393 "B<strdup>() conforms to SVr4, 4.3BSD, POSIX.1-2001. B<strndup>() conforms "
2394 "to POSIX.1-2008. B<strdupa>() and B<strndupa>() are GNU extensions."
2396 "B<strdup>() は SVr4, 4.3BSD, POSIX.1-2001 準拠である。 B<strndup>() は "
2397 "POSIX.1-2008 準拠である。 B<strdupa>(), B<strndupa>() は GNU 拡張である。"
2400 #: build/C/man3/strdup.3:129
2402 "B<alloca>(3), B<calloc>(3), B<free>(3), B<malloc>(3), B<realloc>(3), "
2403 "B<string>(3), B<wcsdup>(3)"
2405 "B<alloca>(3), B<calloc>(3), B<free>(3), B<malloc>(3), B<realloc>(3), "
2406 "B<string>(3), B<wcsdup>(3)"
2409 #: build/C/man3/strerror.3:37
2415 #: build/C/man3/strerror.3:37
2421 #: build/C/man3/strerror.3:40
2422 msgid "strerror, strerror_r - return string describing error number"
2423 msgstr "strerror, strerror_r - エラー番号を説明する文字列を返す。"
2426 #: build/C/man3/strerror.3:45
2428 msgid "B<char *strerror(int >I<errnum>B<);>\n"
2429 msgstr "B<char *strerror(int >I<errnum>B<);>\n"
2432 #: build/C/man3/strerror.3:48
2435 "B<int strerror_r(int >I<errnum>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
2436 " /* XSI-compliant */\n"
2438 "B<int strerror_r(int >I<errnum>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
2439 " /* XSI-compliant */\n"
2442 #: build/C/man3/strerror.3:51
2445 "B<char *strerror_r(int >I<errnum>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
2446 " /* GNU-specific */\n"
2448 "B<char *strerror_r(int >I<errnum>B<, char *>I<buf>B<, size_t >I<buflen>B<);>\n"
2449 " /* GNU-specific */\n"
2452 #: build/C/man3/strerror.3:61
2453 msgid "The XSI-compliant version of B<strerror_r>() is provided if:"
2454 msgstr "次の場合には XSI 準拠のバージョンの B<strerror_r>() が提供される:"
2457 #: build/C/man3/strerror.3:63
2459 "(_POSIX_C_SOURCE\\ E<gt>=\\ 200112L || _XOPEN_SOURCE\\ E<gt>=\\ 600) && !\\ "
2462 "(_POSIX_C_SOURCE\\ E<gt>=\\ 200112L || _XOPEN_SOURCE\\ E<gt>=\\ 600) && !\\ "
2466 #: build/C/man3/strerror.3:65
2467 msgid "Otherwise, the GNU-specific version is provided."
2468 msgstr "それ以外の場合、GNU バージョンが提供される。"
2471 #: build/C/man3/strerror.3:78
2473 "The B<strerror>() function returns a pointer to a string that describes the "
2474 "error code passed in the argument I<errnum>, possibly using the "
2475 "B<LC_MESSAGES> part of the current locale to select the appropriate "
2476 "language. This string must not be modified by the application, but may be "
2477 "modified by a subsequent call to B<perror>(3) or B<strerror>(). No library "
2478 "function will modify this string."
2480 "B<strerror>() 関数は、引き数 I<errnum> で渡されたエラーコードについての 説明"
2481 "が入った文字列へのポインタを返す。 可能であるならば、適切な言語を選択するため"
2482 "に、 現在のロケールの B<LC_MESSAGES> を使う。 この文字列は、アプリケーション"
2483 "で変更してはならないが、 その後に起こる B<perror>(3) や B<strerror>() の呼"
2484 "び出しで 変更されても構わない。 この文字列を変更するライブラリ関数はない。"
2487 #: build/C/man3/strerror.3:99
2489 "The B<strerror_r>() function is similar to B<strerror>(), but is thread "
2490 "safe. This function is available in two versions: an XSI-compliant version "
2491 "specified in POSIX.1-2001 (available since glibc 2.3.4), and a GNU-specific "
2492 "version (available since glibc 2.0). The XSI-compliant version is provided "
2493 "with the feature test macros settings shown in the SYNOPSIS; otherwise the "
2494 "GNU-specific version is provided. If no feature test macros are explicitly "
2495 "defined, then (since glibc 2.4) B<_POSIX_SOURCE> is defined by default with "
2496 "the value 200112L, so that the XSI-compliant version of B<strerror_r>() is "
2497 "provided by default."
2499 "B<strerror_r>() 関数は B<strerror>() と似ているが、 スレッドセーフである。 "
2500 "この関数には二種類のバージョンが存在し、 POSIX.1-2001 で規定された XSI 準拠の"
2501 "バージョン (glibc 2.3.4 以降で利用可能) と、 GNU 仕様のバージョン (glibc 2.0 "
2502 "以降で利用可能) である。 「書式」の節に記載された機能検査マクロの場合には、 "
2503 "XSI 準拠のバージョンが提供される。 それ以外の場合には GNU 仕様のバージョンが"
2504 "提供される。 機能検査マクロが一つも明示的に定義されない場合、 (glibc 2.4 以降"
2505 "では) デフォルトで B<_POSIX_SOURCE> は値 200112l で定義され、その結果 XSI 準"
2506 "拠のバージョンの B<strerror_r>() がデフォルトで提供される。"
2509 #: build/C/man3/strerror.3:107
2511 "The XSI-compliant B<strerror_r>() is preferred for portable applications. "
2512 "It returns the error string in the user-supplied buffer I<buf> of length "
2515 "移植性が必要なアプリケーションでは、 XSI 準拠の B<strerror_r>() を使う方がよ"
2516 "い。 この関数は、ユーザーから提供される長さ I<buflen> のバッファ I<buf> にエ"
2520 #: build/C/man3/strerror.3:124
2522 "The GNU-specific B<strerror_r>() returns a pointer to a string containing "
2523 "the error message. This may be either a pointer to a string that the "
2524 "function stores in I<buf>, or a pointer to some (immutable) static string "
2525 "(in which case I<buf> is unused). If the function stores a string in "
2526 "I<buf>, then at most I<buflen> bytes are stored (the string may be truncated "
2527 "if I<buflen> is too small) and the string always includes a terminating null "
2530 "GNU 仕様の B<strerror_r>() は、エラーメッセージを格納した文字列へのポインタ"
2531 "を返す。 返り値は、この関数が I<buf> に格納した文字列へのポインタか、 何らか"
2532 "の (不変な) 静的な文字列へのポインタ、のいずれかとなる (後者の場合は I<buf> "
2533 "は使用されない)。 I<buf> に文字列が格納される場合は、 最大で I<buflen> バイト"
2534 "が格納され (I<buflen> が小さ過ぎたときには文字列は切り詰められる)、 文字列に"
2538 #: build/C/man3/strerror.3:132
2540 "The B<strerror>() and the GNU-specific B<strerror_r>() functions return "
2541 "the appropriate error description string, or an \"Unknown error nnn\" "
2542 "message if the error number is unknown."
2544 "B<strerror>() と B<strerror_r>() はエラー内容を説明する 文字列を返す。エ"
2545 "ラー番号が未知の場合は \"Unknown error nnn\" という メッセージを返す。"
2548 #: build/C/man3/strerror.3:139
2550 "The XSI-compliant B<strerror_r>() function returns 0 on success; on error, "
2551 "-1 is returned and I<errno> is set to indicate the error."
2553 "XSI 準拠の B<strerror_r>() 関数は成功すると 0 を返す。 エラーの場合には、 "
2554 "-1 を返し、 I<errno> にエラー内容を示す値をセットする。"
2557 #: build/C/man3/strerror.3:140
2563 #: build/C/man3/strerror.3:145
2564 msgid "The value of I<errnum> is not a valid error number."
2565 msgstr "I<errnum> の値が有効なエラー番号ではない。"
2568 #: build/C/man3/strerror.3:145
2574 #: build/C/man3/strerror.3:148
2576 "Insufficient storage was supplied to contain the error description string."
2577 msgstr "エラーコードを説明する文字列のために、充分な領域が確保できなかった。"
2580 #: build/C/man3/strerror.3:153
2582 "B<strerror>() is specified by POSIX.1-2001, C89, C99. B<strerror_r>() is "
2583 "specified by POSIX.1-2001."
2585 "B<strerror>() は POSIX.1-2001, C89, C99 で規定されている。 B<strerror_r>() "
2586 "は POSIX.1-2001 で規定されている。"
2589 #: build/C/man3/strerror.3:157
2590 msgid "The GNU-specific B<strerror_r>() function is a nonstandard extension."
2591 msgstr "GNU 仕様の B<strerror_r>() 関数は非標準の拡張である。"
2593 #. e.g., Solaris 8, HP-UX 11
2594 #. e.g., FreeBSD 5.4, Tru64 5.1B
2596 #: build/C/man3/strerror.3:176
2598 "POSIX.1-2001 permits B<strerror>() to set I<errno> if the call encounters "
2599 "an error, but does not specify what value should be returned as the function "
2600 "result in the event of an error. On some systems, B<strerror>() returns "
2601 "NULL if the error number is unknown. On other systems, B<strerror>() "
2602 "returns a string something like \"Error nnn occurred\" and sets I<errno> to "
2603 "B<EINVAL> if the error number is unknown."
2605 "POSIX.1-2001 は、 B<strerror>() がエラーに遭遇した場合に I<errno> をセットす"
2606 "ることを認めているが、エラー発生時に関数の結果として どんな値を返すべきかを規"
2607 "定してない。 あるシステムでは、 エラー番号が未知の場合、 B<strerror>() は "
2608 "NULL を返す。 他のシステムでは、 エラー番号が未知の場合、 B<strerror>() は "
2609 "\"Error nnn occurred\" といった文字列を返し、 I<errno> に B<EINVAL> をセット"
2613 #: build/C/man3/strerror.3:182
2614 msgid "B<err>(3), B<errno>(3), B<error>(3), B<perror>(3), B<strsignal>(3)"
2615 msgstr "B<err>(3), B<errno>(3), B<error>(3), B<perror>(3), B<strsignal>(3)"
2618 #: build/C/man3/strfry.3:28
2624 #: build/C/man3/strfry.3:31
2625 msgid "strfry - randomize a string"
2626 msgstr "strfry - 文字列をランダムに並べ変える"
2629 #: build/C/man3/strfry.3:38 build/C/man3/string.3:65
2631 msgid "B<char *strfry(char *>I<string>B<);>\n"
2632 msgstr "B<char *strfry(char *>I<string>B<);>\n"
2635 #: build/C/man3/strfry.3:47
2637 "The B<strfry>() function randomizes the contents of I<string> by using "
2638 "B<rand>(3) to randomly swap characters in the string. The result is an "
2639 "anagram of I<string>."
2641 "B<strfry>() 関数は、文字列 I<string> の内容をランダムに並び換える。 並び換え"
2642 "は、 B<rand>(3) 関数を用いて、文字列中の各文字を無作為に 交換することで実現"
2643 "される。結果は、文字列 I<string> のアナグラムである。"
2646 #: build/C/man3/strfry.3:52
2647 msgid "The B<strfry>() functions returns a pointer to the randomized string."
2649 "B<strfry>() 関数は、ランダムに並び換えられた文字列へのポインタを返す。"
2652 #: build/C/man3/strfry.3:57
2653 msgid "The B<strfry>() function is unique to the GNU C Library."
2654 msgstr "B<strfry>() 関数は GNU C ライブラリに特有である。"
2657 #: build/C/man3/strfry.3:60
2658 msgid "B<memfrob>(3), B<string>(3)"
2659 msgstr "B<memfrob>(3), B<string>(3)"
2662 #: build/C/man3/string.3:28
2668 #: build/C/man3/string.3:28
2674 #: build/C/man3/string.3:34
2676 "stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, "
2677 "strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, "
2678 "strrchr, strsep, strspn, strstr, strtok, strxfrm, index, rindex - string "
2681 "stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, "
2682 "strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, "
2683 "strrchr, strsep, strspn, strstr, strtok, strxfrm, index, rindex - 文字列を操"
2687 #: build/C/man3/string.3:61 build/C/man3/strspn.3:38
2689 msgid "B<size_t strcspn(const char *>I<s>B<, const char *>I<reject>B<);>\n"
2690 msgstr "B<size_t strcspn(const char *>I<s>B<, const char *>I<reject>B<);>\n"
2693 #: build/C/man3/string.3:67 build/C/man3/strlen.3:36
2695 msgid "B<size_t strlen(const char *>I<s>B<);>\n"
2696 msgstr "B<size_t strlen(const char *>I<s>B<);>\n"
2699 #: build/C/man3/string.3:75 build/C/man3/strpbrk.3:36
2701 msgid "B<char *strpbrk(const char *>I<s>B<, const char *>I<accept>B<);>\n"
2702 msgstr "B<char *strpbrk(const char *>I<s>B<, const char *>I<accept>B<);>\n"
2705 #: build/C/man3/string.3:79 build/C/man3/strsep.3:39
2707 msgid "B<char *strsep(char **>I<stringp>B<, const char *>I<delim>B<);>\n"
2708 msgstr "B<char *strsep(char **>I<stringp>B<, const char *>I<delim>B<);>\n"
2711 #: build/C/man3/string.3:81 build/C/man3/strspn.3:36
2713 msgid "B<size_t strspn(const char *>I<s>B<, const char *>I<accept>B<);>\n"
2714 msgstr "B<size_t strspn(const char *>I<s>B<, const char *>I<accept>B<);>\n"
2717 #: build/C/man3/string.3:83 build/C/man3/strstr.3:39
2719 msgid "B<char *strstr(const char *>I<haystack>B<, const char *>I<needle>B<);>\n"
2720 msgstr "B<char *strstr(const char *>I<haystack>B<, const char *>I<needle>B<);>\n"
2723 #: build/C/man3/string.3:85
2725 msgid "B<char *strtok(char *>I<s>B<, const char *>I<delim>B<);>\n"
2726 msgstr "B<char *strtok(char *>I<s>B<, const char *>I<delim>B<);>\n"
2729 #: build/C/man3/string.3:87 build/C/man3/strxfrm.3:36
2731 msgid "B<size_t strxfrm(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
2732 msgstr "B<size_t strxfrm(char *>I<dest>B<, const char *>I<src>B<, size_t >I<n>B<);>\n"
2735 #: build/C/man3/string.3:92
2737 "The string functions perform string operations on null-terminated strings. "
2738 "See the individual man pages for descriptions of each function."
2740 "文字列関数は、NULL 終端された文字列に 対して、文字列操作を実行する。 それぞれ"
2741 "の関数の説明については個々のmanページを見よ。"
2744 #: build/C/man3/string.3:117
2746 "B<index>(3), B<rindex>(3), B<stpcpy>(3), B<strcasecmp>(3), B<strcat>(3), "
2747 "B<strchr>(3), B<strcmp>(3), B<strcoll>(3), B<strcpy>(3), B<strcspn>(3), "
2748 "B<strdup>(3), B<strfry>(3), B<strlen>(3), B<strncasecmp>(3), B<strncat>(3), "
2749 "B<strncmp>(3), B<strncpy>(3), B<strpbrk>(3), B<strrchr>(3), B<strsep>(3), "
2750 "B<strspn>(3), B<strstr>(3), B<strtok>(3), B<strxfrm>(3)"
2752 "B<index>(3), B<rindex>(3), B<stpcpy>(3), B<strcasecmp>(3), B<strcat>(3), "
2753 "B<strchr>(3), B<strcmp>(3), B<strcoll>(3), B<strcpy>(3), B<strcspn>(3), "
2754 "B<strdup>(3), B<strfry>(3), B<strlen>(3), B<strncasecmp>(3), B<strncat>(3), "
2755 "B<strncmp>(3), B<strncpy>(3), B<strpbrk>(3), B<strrchr>(3), B<strsep>(3), "
2756 "B<strspn>(3), B<strstr>(3), B<strtok>(3), B<strxfrm>(3)"
2759 #: build/C/man3/strlen.3:28
2765 #: build/C/man3/strlen.3:31
2766 msgid "strlen - calculate the length of a string"
2767 msgstr "strlen - 文字列の長さを計算する"
2770 #: build/C/man3/strlen.3:42
2772 "The B<strlen>() function calculates the length of the string I<s>, "
2773 "excluding the terminating null byte (\\(aq\\e0\\(aq)."
2775 "B<strlen>() 関数は文字列 I<s> の長さを計算する。 このとき、終端 NULL バイト "
2776 "(\\(aq\\e0\\(aq) は計算に含まれない。"
2779 #: build/C/man3/strlen.3:46
2780 msgid "The B<strlen>() function returns the number of characters in I<s>."
2781 msgstr "B<strlen>() 関数は I<s> の中の文字数を返す。"
2784 #: build/C/man3/strlen.3:53
2785 msgid "B<string>(3), B<strnlen>(3), B<wcslen>(3), B<wcsnlen>(3)"
2786 msgstr "B<string>(3), B<strnlen>(3), B<wcslen>(3), B<wcsnlen>(3)"
2789 #: build/C/man3/strnlen.3:11
2795 #: build/C/man3/strnlen.3:14
2796 msgid "strnlen - determine the length of a fixed-size string"
2797 msgstr "strnlen - 固定長の文字列の長さを調べる"
2800 #: build/C/man3/strnlen.3:19
2802 msgid "B<size_t strnlen(const char *>I<s>B<, size_t >I<maxlen>B<);>\n"
2803 msgstr "B<size_t strnlen(const char *>I<s>B<, size_t >I<maxlen>B<);>\n"
2806 #: build/C/man3/strnlen.3:27
2807 msgid "B<strnlen>():"
2808 msgstr "B<strnlen>():"
2811 #: build/C/man3/strnlen.3:49
2813 "The B<strnlen>() function returns the number of characters in the string "
2814 "pointed to by I<s>, excluding the terminating null bye (\\(aq\\e0\\(aq), but "
2815 "at most I<maxlen>. In doing this, B<strnlen>() looks only at the first "
2816 "I<maxlen> characters at I<s> and never beyond I<s+maxlen>."
2818 "B<strnlen>() 関数は I<s> が指す文字列の長さをバイト数で返す。 長さには終端"
2819 "の NULL バイト (\\(aq\\e0\\(aq) は含まない。 また長さは最大で I<maxlen> まで"
2820 "であり、 B<strnlen>() は I<s> の最初の I<maxlen> バイトのみを検査し I<s"
2821 "+maxlen> より先を検査することはない。"
2824 #: build/C/man3/strnlen.3:56
2826 "The B<strnlen>() function returns I<strlen(s)>, if that is less than "
2827 "I<maxlen>, or I<maxlen> if there is no null byte (\\(aq\\e0\\(aq) among the "
2828 "first I<maxlen> characters pointed to by I<s>."
2830 "B<strnlen>() 関数は I<maxlen> 以下ならば I<strlen(s)> と同じ 値を返す。I<s> "
2831 "の指す文字列が最大 I<maxlen> バイトまでに NULL バイト (\\(aq\\e0\\(aq) 文字を"
2832 "含まない場合には I<maxlen> を返す。"
2835 #: build/C/man3/strnlen.3:58
2836 msgid "POSIX.1-2008."
2837 msgstr "POSIX.1-2008."
2840 #: build/C/man3/strnlen.3:60
2841 msgid "B<strlen>(3)"
2842 msgstr "B<strlen>(3)"
2845 #: build/C/man3/strpbrk.3:28
2851 #: build/C/man3/strpbrk.3:31
2852 msgid "strpbrk - search a string for any of a set of characters"
2853 msgstr "strpbrk - 文字セット中の文字を文字列から検出する"
2856 #: build/C/man3/strpbrk.3:42
2858 "The B<strpbrk>() function locates the first occurrence in the string I<s> "
2859 "of any of the characters in the string I<accept>."
2861 "B<strpbrk>() 関数は文字列 I<accept> に含まれる文字が文字列 I<s> に おいて最"
2865 #: build/C/man3/strpbrk.3:48
2867 "The B<strpbrk>() function returns a pointer to the character in I<s> that "
2868 "matches one of the characters in I<accept>, or NULL if no such character is "
2871 "B<strpbrk>() 関数は、 I<s> に含まれる文字のうち、 I<accept> に含まれる文字の"
2872 "どれかに一致したものへの ポインタを返す。 そのような文字が見つからなかった場"
2876 #: build/C/man3/strpbrk.3:61
2878 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
2879 "B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), B<wcspbrk>(3)"
2881 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
2882 "B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), B<wcspbrk>(3)"
2885 #: build/C/man3/strsep.3:31
2891 #: build/C/man3/strsep.3:34
2892 msgid "strsep - extract token from string"
2893 msgstr "strsep - 文字列からトークンを取り出す"
2896 #: build/C/man3/strsep.3:48
2897 msgid "B<strsep>(): _BSD_SOURCE"
2898 msgstr "B<strsep>(): _BSD_SOURCE"
2901 #: build/C/man3/strsep.3:61
2903 "If I<*stringp> is NULL, the B<strsep>() function returns NULL and does "
2904 "nothing else. Otherwise, this function finds the first token in the string "
2905 "I<*stringp>, where tokens are delimited by symbols in the string I<delim>. "
2906 "This token is terminated by overwriting the delimiter with a null byte (\\(aq"
2907 "\\e0\\(aq) and I<*stringp> is updated to point past the token. In case no "
2908 "delimiter was found, the token is taken to be the entire string I<*stringp>, "
2909 "and I<*stringp> is made NULL."
2911 "I<*stringp> が NULL の場合、 B<strsep>() 関数は何もせずに NULL を返す。 さも"
2912 "なければ、文字列 I<stringp> を I<delim> に含まれる文字で区切った トークンのう"
2913 "ち最初のものを返す。 トークンは、区切り文字を NULL バイト (\\(aq\\e0\\(aq) で"
2914 "上書きすることで 終端される。 I<*stringp> は切り出されたトークンの次の位置を"
2915 "示すように更新される。 区切り文字が見つからない場合、I<*stringp> 文字列全体が"
2916 "トークンとして 扱われ、I<*stringp> は NULL となる。"
2919 #: build/C/man3/strsep.3:66
2921 "The B<strsep>() function returns a pointer to the token, that is, it "
2922 "returns the original value of I<*stringp>."
2924 "B<strsep>() 関数は、トークンへのポインタを返す。 つまり、元の I<*stringp> の"
2928 #: build/C/man3/strsep.3:68
2933 #: build/C/man3/strsep.3:77
2935 "The B<strsep>() function was introduced as a replacement for B<strtok>(3), "
2936 "since the latter cannot handle empty fields. However, B<strtok>(3) "
2937 "conforms to C89/C99 and hence is more portable."
2939 "B<strsep>() 関数は、 B<strtok>(3) 関数が空のフィールドを 扱えないために、そ"
2940 "の代替品として導入された。 しかしながら、 B<strtok>(3) 関数は C89/C99 に準拠"
2944 #: build/C/man3/strsep.3:80
2945 msgid "Be cautious when using this function. If you do use it, note that:"
2947 "この関数を使う時は注意すること。 もし使うなら、以下のことに注意すること。"
2950 #: build/C/man3/strsep.3:82
2951 msgid "This function modifies its first argument."
2952 msgstr "この関数は最初の引数を変更する。"
2955 #: build/C/man3/strsep.3:84
2956 msgid "This function cannot be used on constant strings."
2957 msgstr "この関数は定数文字列には使えない。"
2960 #: build/C/man3/strsep.3:86 build/C/man3/strtok.3:127
2961 msgid "The identity of the delimiting character is lost."
2962 msgstr "区切り文字自体は失われてしまう。"
2965 #: build/C/man3/strsep.3:96
2967 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
2968 "B<strpbrk>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
2970 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
2971 "B<strpbrk>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
2974 #: build/C/man3/strsignal.3:28
2980 #: build/C/man3/strsignal.3:28
2986 #: build/C/man3/strsignal.3:31
2987 msgid "strsignal - return string describing signal"
2988 msgstr "strsignal - シグナルを説明する文字列を返す"
2991 #: build/C/man3/strsignal.3:36
2993 msgid "B<char *strsignal(int >I<sig>B<);>\n"
2994 msgstr "B<char *strsignal(int >I<sig>B<);>\n"
2997 #: build/C/man3/strsignal.3:38
2999 msgid "B<extern const char * const >I<sys_siglist>B<[];>\n"
3000 msgstr "B<extern const char * const >I<sys_siglist>B<[];>\n"
3003 #: build/C/man3/strsignal.3:46
3004 msgid "B<strsignal>():"
3005 msgstr "B<strsignal>():"
3008 #: build/C/man3/strsignal.3:66
3010 "The B<strsignal>() function returns a string describing the signal number "
3011 "passed in the argument I<sig>. The string can only be used until the next "
3012 "call to B<strsignal>()."
3014 "B<strsignal>() 関数は、引数 I<sig> で渡されたシグナル番号を 説明する文字列を"
3015 "返す。 文字列は、次の B<strsignal>() が呼ばれるまでの間だけ使用できる。"
3018 #: build/C/man3/strsignal.3:73
3020 "The array I<sys_siglist> holds the signal description strings indexed by "
3021 "signal number. The B<strsignal>() function should be used if possible "
3022 "instead of this array."
3024 "配列 I<sys_siglist> はシグナルを説明する文字列を保持しており、 配列へのアクセ"
3025 "スにはシグナル番号を添え字として用いる事ができる。 出来るだけこの配列の代わり"
3026 "に B<strsignal>() 関数を 使うべきである。"
3029 #: build/C/man3/strsignal.3:80
3031 "The B<strsignal>() function returns the appropriate description string, or "
3032 "an unknown signal message if the signal number is invalid. On some systems "
3033 "(but not on Linux), a NULL pointer may be returned instead for an invalid "
3036 "B<strsignal>() 関数は、シグナルの適切な説明を返す。 もしシグナル番号が不正な"
3037 "場合は、未知のシグナル(unknown signal)を示す メッセージを返す。 (Linux はそう"
3038 "ではないが)不正なシグナル番号に対して、 NULL ポインタを 返すシステムもある。"
3041 #: build/C/man3/strsignal.3:83
3042 msgid "POSIX.1-2008. Present on Solaris and the BSDs."
3043 msgstr "POSIX.1-2008. Solaris と BSD 系にも存在する。"
3046 #: build/C/man3/strsignal.3:86
3047 msgid "B<psignal>(3), B<strerror>(3)"
3048 msgstr "B<psignal>(3), B<strerror>(3)"
3051 #: build/C/man3/strspn.3:28
3057 #: build/C/man3/strspn.3:31
3058 msgid "strspn, strcspn - search a string for a set of characters"
3059 msgstr "strspn, strcspn - 文字列から文字のセットを探す"
3062 #: build/C/man3/strspn.3:45
3064 "The B<strspn>() function calculates the length of the initial segment of "
3065 "I<s> which consists entirely of characters in I<accept>."
3067 "B<strspn>() 関数は、I<accept> に含まれる文字だけで構成される文字列 を I<s> "
3068 "から探し、その最初の部分の長さを計算する。"
3071 #: build/C/man3/strspn.3:51
3073 "The B<strcspn>() function calculates the length of the initial segment of "
3074 "I<s> which consists entirely of characters not in I<reject>."
3076 "B<strcspn>() 関数は、I<reject> に含まれない文字だけで構成される文字列 を "
3077 "I<s> から探し、その最初の部分の長さを計算する。"
3080 #: build/C/man3/strspn.3:57
3082 "The B<strspn>() function returns the number of characters in the initial "
3083 "segment of I<s> which consist only of characters from I<accept>."
3085 "B<strspn>() 関数は、I<accept> からの文字だけで構成される I<s> の 最初の部分"
3089 #: build/C/man3/strspn.3:63
3091 "The B<strcspn>() function returns the number of characters in the initial "
3092 "segment of I<s> which are not in the string I<reject>."
3094 "B<strcspn>() 関数は、I<s> の最初の部分で、文字列 I<reject> に 含まれない文字"
3098 #: build/C/man3/strspn.3:77
3100 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3101 "B<strpbrk>(3), B<strsep>(3), B<strstr>(3), B<strtok>(3), B<wcscspn>(3), "
3104 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3105 "B<strpbrk>(3), B<strsep>(3), B<strstr>(3), B<strtok>(3), B<wcscspn>(3), "
3109 #: build/C/man3/strstr.3:31
3115 #: build/C/man3/strstr.3:34
3116 msgid "strstr, strcasestr - locate a substring"
3117 msgstr "strstr, strcasestr - 部分文字列の位置を示す"
3120 #: build/C/man3/strstr.3:45
3122 msgid "B<char *strcasestr(const char *>I<haystack>B<, const char *>I<needle>B<);>\n"
3123 msgstr "B<char *strcasestr(const char *>I<haystack>B<, const char *>I<needle>B<);>\n"
3126 #: build/C/man3/strstr.3:52
3128 "The B<strstr>() function finds the first occurrence of the substring "
3129 "I<needle> in the string I<haystack>. The terminating null bytes (\\(aq"
3130 "\\e0\\(aq) are not compared."
3132 "B<strstr>() 関数は、部分文字列 I<needle> が文字列 I<haystack> 中 で最初に現"
3133 "れる位置を見つける。 文字列を終端 NULL バイト (\\(aq\\e0\\(aq) は比較されな"
3137 #: build/C/man3/strstr.3:58
3139 "The B<strcasestr>() function is like B<strstr>(), but ignores the case of "
3142 "B<strcasestr>() 関数は B<strstr>() 関数と同様だが、 両方の引数に対して大文"
3146 #: build/C/man3/strstr.3:61
3148 "These functions return a pointer to the beginning of the substring, or NULL "
3149 "if the substring is not found."
3151 "これらの関数は、部分文字列の開始を指すポインタを返し、 もし部分文字列が見つか"
3155 #: build/C/man3/strstr.3:68
3157 "The B<strstr>() function conforms to C89 and C99. The B<strcasestr>() "
3158 "function is a nonstandard extension."
3160 "B<strstr>() 関数は C89 と C99 に準拠している。 B<strcasestr>() 関数は非標準"
3164 #: build/C/man3/strstr.3:74
3166 "Early versions of Linux libc (like 4.5.26) would not allow an empty "
3167 "I<needle> argument for B<strstr>(). Later versions (like 4.6.27) work "
3168 "correctly, and return I<haystack> when I<needle> is empty."
3170 "Linux libc の初期のバージョン(4.5.26 まで)は B<strstr>() 関数の I<needle> 引"
3171 "数に空文字列を指定できない。 最近のバージョン(4.6.27 以降)は正しく動作し、 "
3172 "I<needle> が空の時は I<haystack> を返す。"
3175 #: build/C/man3/strstr.3:86
3177 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strcasecmp>(3), B<strchr>(3), "
3178 "B<string>(3), B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strtok>(3), "
3181 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strcasecmp>(3), B<strchr>(3), "
3182 "B<string>(3), B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strtok>(3), "
3186 #: build/C/man3/strtok.3:28
3192 #: build/C/man3/strtok.3:28
3198 #: build/C/man3/strtok.3:31
3199 msgid "strtok, strtok_r - extract tokens from strings"
3200 msgstr "strtok, strtok_r - 文字列からトークンを取り出す"
3203 #: build/C/man3/strtok.3:36
3205 msgid "B<char *strtok(char *>I<str>B<, const char *>I<delim>B<);>\n"
3206 msgstr "B<char *strtok(char *>I<str>B<, const char *>I<delim>B<);>\n"
3209 #: build/C/man3/strtok.3:38
3211 msgid "B<char *strtok_r(char *>I<str>B<, const char *>I<delim>B<, char **>I<saveptr>B<);>\n"
3212 msgstr "B<char *strtok_r(char *>I<str>B<, const char *>I<delim>B<, char **>I<saveptr>B<);>\n"
3215 #: build/C/man3/strtok.3:49
3217 "B<strtok_r>(): _SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 1 "
3218 "|| _XOPEN_SOURCE || _POSIX_SOURCE"
3220 "B<strtok_r>(): _SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 1 "
3221 "|| _XOPEN_SOURCE || _POSIX_SOURCE"
3224 #: build/C/man3/strtok.3:60
3226 "The B<strtok>() function parses a string into a sequence of tokens. On the "
3227 "first call to B<strtok>() the string to be parsed should be specified in "
3228 "I<str>. In each subsequent call that should parse the same string, I<str> "
3231 "B<strtok>() 関数は文字列を解析してトークンに分割する。 B<strtok>() を最初に"
3232 "呼び出す際には、解析対象の文字列を I<str> に 指定する。同じ文字列の解析を行う"
3233 "その後の呼び出しでは、 I<str> には NULL を指定する。"
3236 #: build/C/man3/strtok.3:65
3238 "The I<delim> argument specifies a set of characters that delimit the tokens "
3239 "in the parsed string. The caller may specify different strings in I<delim> "
3240 "in successive calls that parse the same string."
3242 "I<delim> 引き数には、解析する文字列をトークンに区切る文字集合を 指定する。同"
3243 "じ文字列を解析する一連の呼び出しにおいて、 I<delim> に違う文字列を指定しても"
3247 #: build/C/man3/strtok.3:74
3249 "Each call to B<strtok>() returns a pointer to a null-terminated string "
3250 "containing the next token. This string does not include the delimiting "
3251 "character. If no more tokens are found, B<strtok>() returns NULL."
3253 "B<strtok>() のそれぞれの呼び出しでは、次のトークンを 格納した NULL 終端され"
3254 "た文字列へのポインタが返される。 この文字列には区切り文字は含まれない。 これ"
3255 "以上トークンが見つからなかった場合には、NULL が返される。"
3258 #: build/C/man3/strtok.3:81
3260 "A sequence of two or more contiguous delimiter characters in the parsed "
3261 "string is considered to be a single delimiter. Delimiter characters at the "
3262 "start or end of the string are ignored. Put another way: the tokens "
3263 "returned by B<strtok>() are always nonempty strings."
3265 "解析対象の文字列に2つ以上の区切り文字が連続している場合には、 一つの区切り文"
3266 "字とみなされる。 文字列の先頭や末尾にある区切り文字は無視される。言い換える"
3267 "と、 B<strtok>() が返すトークンは常に空でない文字列となる。"
3270 #: build/C/man3/strtok.3:91
3272 "The B<strtok_r>() function is a reentrant version B<strtok>(). The "
3273 "I<saveptr> argument is a pointer to a I<char *> variable that is used "
3274 "internally by B<strtok_r>() in order to maintain context between successive "
3275 "calls that parse the same string."
3277 "B<strtok_r>() 関数は B<strtok>() のリエントラント版である。 I<saveptr> 引き"
3278 "数は I<char *> 変数へのポインタであり、 同じ文字列の解析を行う B<strtok_r>"
3279 "() の呼び出し間で処理状況を保存するために B<strtok_r>() 内部で使用される。"
3282 #: build/C/man3/strtok.3:100
3284 "On the first call to B<strtok_r>(), I<str> should point to the string to be "
3285 "parsed, and the value of I<saveptr> is ignored. In subsequent calls, I<str> "
3286 "should be NULL, and I<saveptr> should be unchanged since the previous call."
3288 "B<strtok_r>() を最初に呼び出す際には、 I<str> は解析対象の文字列を指していな"
3289 "ければならず、 I<saveptr> の値は無視される。それ以降の呼び出しでは、 I<str> "
3290 "は NULL とし、 I<saveptr> は前回の呼び出し以降変更しないようにしなければなら"
3294 #: build/C/man3/strtok.3:104
3296 "Different strings may be parsed concurrently using sequences of calls to "
3297 "B<strtok_r>() that specify different I<saveptr> arguments."
3299 "B<strtok_r>() の呼び出し時に異なる I<saveptr> 引き数を指定することで、 異な"
3300 "る文字列の解析を同時に行うことができる。"
3303 #: build/C/man3/strtok.3:111
3305 "The B<strtok>() and B<strtok_r>() functions return a pointer to the next "
3306 "token, or NULL if there are no more tokens."
3308 "B<strtok>() と B<strtok_r>() は次のトークンへのポインタか、 トークンがなけ"
3312 #: build/C/man3/strtok.3:112
3315 msgstr "B<strtok>()"
3318 #: build/C/man3/strtok.3:115
3319 msgid "SVr4, POSIX.1-2001, 4.3BSD, C89, C99."
3320 msgstr "SVr4, POSIX.1-2001, 4.3BSD, C89, C99."
3323 #: build/C/man3/strtok.3:115
3325 msgid "B<strtok_r>()"
3326 msgstr "B<strtok_r>()"
3329 #: build/C/man3/strtok.3:118
3330 msgid "POSIX.1-2001."
3331 msgstr "POSIX.1-2001."
3334 #: build/C/man3/strtok.3:121
3335 msgid "Be cautious when using these functions. If you do use them, note that:"
3337 "これらの関数を使うのは慎重に吟味すること。 使用する場合は、以下の点に注意が必"
3341 #: build/C/man3/strtok.3:123
3342 msgid "These functions modify their first argument."
3343 msgstr "これらの関数はその最初の引数を変更する。"
3346 #: build/C/man3/strtok.3:125
3347 msgid "These functions cannot be used on constant strings."
3348 msgstr "これらの関数は const な文字列では使えない。"
3351 #: build/C/man3/strtok.3:134
3353 "The B<strtok>() function uses a static buffer while parsing, so it's not "
3354 "thread safe. Use B<strtok_r>() if this matters to you."
3356 "B<strtok>() 関数は文字列の解析に静的バッファを用いるので、スレッドセーフでな"
3357 "い。 これが問題になる場合は B<strtok_r>() を用いること。"
3360 #: build/C/man3/strtok.3:143
3362 "The program below uses nested loops that employ B<strtok_r>() to break a "
3363 "string into a two-level hierarchy of tokens. The first command-line "
3364 "argument specifies the string to be parsed. The second argument specifies "
3365 "the delimiter character(s) to be used to separate that string into \"major"
3366 "\" tokens. The third argument specifies the delimiter character(s) to be "
3367 "used to separate the \"major\" tokens into subtokens."
3369 "以下のプログラムは、 B<strtok_r>() を利用するループを入れ子にして使用し、 文"
3370 "字列を2階層のトークンに分割するものである。 1番目のコマンドライン引き数には、"
3371 "解析対象の文字列を指定する。 2番目の引き数には、文字列を「大きな」トークンに"
3372 "分割するために 使用する区切り文字を指定する。 3番目の引き数には、「大きな」"
3373 "トークンを細かく分割するために 使用する区切り文字を指定する。"
3376 #: build/C/man3/strtok.3:145
3377 msgid "An example of the output produced by this program is the following:"
3378 msgstr "このプログラムの出力例を以下に示す。"
3381 #: build/C/man3/strtok.3:157
3384 "$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n"
3394 "$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n"
3405 #: build/C/man3/strtok.3:159
3407 msgid "Program source"
3411 #: build/C/man3/strtok.3:165
3414 "#include E<lt>stdio.hE<gt>\n"
3415 "#include E<lt>stdlib.hE<gt>\n"
3416 "#include E<lt>string.hE<gt>\n"
3418 "#include E<lt>stdio.hE<gt>\n"
3419 "#include E<lt>stdlib.hE<gt>\n"
3420 "#include E<lt>string.hE<gt>\n"
3423 #: build/C/man3/strtok.3:172
3427 "main(int argc, char *argv[])\n"
3429 " char *str1, *str2, *token, *subtoken;\n"
3430 " char *saveptr1, *saveptr2;\n"
3434 "main(int argc, char *argv[])\n"
3436 " char *str1, *str2, *token, *subtoken;\n"
3437 " char *saveptr1, *saveptr2;\n"
3441 #: build/C/man3/strtok.3:178
3444 " if (argc != 4) {\n"
3445 " fprintf(stderr, \"Usage: %s string delim subdelim\\en\",\n"
3447 " exit(EXIT_FAILURE);\n"
3450 " if (argc != 4) {\n"
3451 " fprintf(stderr, \"Usage: %s string delim subdelim\\en\",\n"
3453 " exit(EXIT_FAILURE);\n"
3457 #: build/C/man3/strtok.3:184
3460 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
3461 " token = strtok_r(str1, argv[2], &saveptr1);\n"
3462 " if (token == NULL)\n"
3464 " printf(\"%d: %s\\en\", j, token);\n"
3466 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
3467 " token = strtok_r(str1, argv[2], &saveptr1);\n"
3468 " if (token == NULL)\n"
3470 " printf(\"%d: %s\\en\", j, token);\n"
3473 #: build/C/man3/strtok.3:192
3476 " for (str2 = token; ; str2 = NULL) {\n"
3477 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
3478 " if (subtoken == NULL)\n"
3480 " printf(\"\\t --E<gt> %s\\en\", subtoken);\n"
3484 " for (str2 = token; ; str2 = NULL) {\n"
3485 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
3486 " if (subtoken == NULL)\n"
3488 " printf(\"\\t --E<gt> %s\\en\", subtoken);\n"
3493 #: build/C/man3/strtok.3:195
3496 " exit(EXIT_SUCCESS);\n"
3499 " exit(EXIT_SUCCESS);\n"
3503 #: build/C/man3/strtok.3:201
3505 "Another example program using B<strtok>() can be found in B<getaddrinfo_a>"
3507 msgstr "B<strtok>() を使った別のプログラム例が B<getaddrinfo_a>(3) にある。"
3510 #: build/C/man3/strtok.3:212
3512 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3513 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
3515 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
3516 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
3519 #: build/C/man3/strverscmp.3:23
3525 #: build/C/man3/strverscmp.3:23
3531 #: build/C/man3/strverscmp.3:26
3532 msgid "strverscmp - compare two version strings"
3533 msgstr "strverscmp - 2つのバージョン文字列を比較する"
3536 #: build/C/man3/strverscmp.3:33
3538 msgid "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
3539 msgstr "B<int strverscmp(const char *>I<s1>B<, const char *>I<s2>B<);>\n"
3541 #. classical solution: "rename jan jan0 jan?"
3543 #: build/C/man3/strverscmp.3:50
3545 "Often one has files I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... and it "
3546 "feels wrong when B<ls>(1) orders them I<jan1>, I<jan10>, ..., I<jan2>, ..., "
3547 "I<jan9>. In order to rectify this, GNU introduced the I<-v> option to B<ls>"
3548 "(1), which is implemented using B<versionsort>(3), which again uses "
3551 "I<jan1>, I<jan2>, ..., I<jan9>, I<jan10>, ... といった名前のファイルがある状"
3552 "況はよくあるが、 B<ls>(1) を実行したときに I<jan1>, I<jan10>, ..., "
3553 "I<jan2>, ..., I<jan9> の順番で表示されるのには違和感がある。 これを修正するた"
3554 "めに、GNU は B<ls>(1) に I<-v> オプションを導入した。 この機能は "
3555 "B<versionsort>(3) を使って実装されているが、この中で B<strverscmp>() が使用"
3559 #: build/C/man3/strverscmp.3:61
3561 "Thus, the task of B<strverscmp>() is to compare two strings and find the "
3562 "\"right\" order, while B<strcmp>(3) only finds the lexicographic order. "
3563 "This function does not use the locale category B<LC_COLLATE>, so is meant "
3564 "mostly for situations where the strings are expected to be in ASCII."
3566 "このように B<strverscmp>() の役目は2つの文字列を比較して「正しい」順序を探す"
3567 "ことである。 これに対して B<strcmp>(3) は辞書順で比較した結果を返すだけであ"
3568 "る。 関数 B<strverscmp>() はロケールのカテゴリである B<LC_COLLATE> を使用し"
3569 "ない。 このことから、この関数が主にアスキー文字から成る文字列を 想定している"
3573 #: build/C/man3/strverscmp.3:79
3575 "What this function does is the following. If both strings are equal, return "
3576 "0. Otherwise find the position between two bytes with the property that "
3577 "before it both strings are equal, while directly after it there is a "
3578 "difference. Find the largest consecutive digit strings containing (or "
3579 "starting at, or ending at) this position. If one or both of these is empty, "
3580 "then return what B<strcmp>(3) would have returned (numerical ordering of "
3581 "byte values). Otherwise, compare both digit strings numerically, where "
3582 "digit strings with one or more leading zeros are interpreted as if they have "
3583 "a decimal point in front (so that in particular digit strings with more "
3584 "leading zeros come before digit strings with fewer leading zeros). Thus, "
3585 "the ordering is I<000>, I<00>, I<01>, I<010>, I<09>, I<0>, I<1>, I<9>, I<10>."
3587 "この関数の動作は以下の通りである。 両方の文字列が等しい場合、0 を返す。 それ"
3588 "以外の場合、その直前までは両方の文字列が等しく、 その直後のバイトで両者に違い"
3589 "があるような、バイトの境界を探す。 見つかったバイト境界を含む数字列(数字だけ"
3590 "の文字列)の最長一致検索を行う。 (数字列は境界から始まっていても、境界で終わっ"
3591 "ていてもよい)。 2つの文字列から得られた数字列の一方または両方が空であれば、 "
3592 "B<strcmp>(3) が返した結果を関数の返り値として返す。 すなわち、バイト値を比較"
3593 "した結果を返す。 それ以外の(数字列が両方とも空でない)場合、両方の数字列を数字"
3594 "順で比較する。 このとき、1つ以上の 0 が先頭にある数字列は、前に小数点がついて"
3595 "いるものと 解釈される。(先頭に 0 が多くある数字列ほど前に来ることになる) こ"
3596 "の結果、順序は次のようになる: I<000>, I<00>, I<01>, I<010>, I<09>, I<0>, "
3600 #: build/C/man3/strverscmp.3:86
3602 "The B<strverscmp>() function returns an integer less than, equal to, or "
3603 "greater than zero if I<s1> is found, respectively, to be earlier than, equal "
3604 "to, or later than I<s2>."
3606 "関数 B<strverscmp>() は、ゼロよりも 1)小さい、2)等しい、3)大きいのいずれかの"
3607 "整数を返す。 それぞれは、I<s1> が I<s2> よりも、 1)小さい、2)等しい、3)大き"
3611 #: build/C/man3/strverscmp.3:93
3612 msgid "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)"
3613 msgstr "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)"
3616 #: build/C/man3/strxfrm.3:28
3622 #: build/C/man3/strxfrm.3:31
3623 msgid "strxfrm - string transformation"
3624 msgstr "strxfrm - 文字列の変換"
3627 #: build/C/man3/strxfrm.3:54
3629 "The B<strxfrm>() function transforms the I<src> string into a form such "
3630 "that the result of B<strcmp>(3) on two strings that have been transformed "
3631 "with B<strxfrm>() is the same as the result of B<strcoll>(3) on the two "
3632 "strings before their transformation. The first I<n> characters of the "
3633 "transformed string are placed in I<dest>. The transformation is based on "
3634 "the program's current locale for category B<LC_COLLATE>. (See B<setlocale>"
3637 "B<strxfrm>() 関数は文字列 I<src> に対して、次の条件を満たすよう な変換をす"
3638 "る: 「ある二つの文字列に対して、それぞれを B<strxfrm>() で変換してから "
3639 "B<strcmp>(3) した結果と、 B<strxfrm>() による変換 を行わずに B<strcoll>"
3640 "(3) した結果と同じ」 変換した文字列の先頭から I<n> 文字分が I<dest> に代入さ"
3641 "れる。 変換は、カテゴリ B<LC_COLLATE> に対する、プログラムの現在のロケール に"
3642 "基づいて行われる (B<setlocale>(3) を参照のこと)。"
3645 #: build/C/man3/strxfrm.3:62
3647 "The B<strxfrm>() function returns the number of bytes required to store the "
3648 "transformed string in I<dest> excluding the terminating null byte (\\(aq"
3649 "\\e0\\(aq). If the value returned is I<n> or more, the contents of I<dest> "
3650 "are indeterminate."
3652 "B<strxfrm>() 関数は、変換された文字列を I<dest> に代入するときに 必要なバイ"
3653 "ト数から、終端の NULL バイト (\\(aq\\e0\\(aq) の分を 引いたものを返す。もし返"
3654 "り値が I<n> 以上の場合、 I<dest> の内容は不定となる。"
3657 #: build/C/man3/strxfrm.3:70
3659 "In the I<\"POSIX\"> or I<\"C\"> locales B<strxfrm>() is equivalent to "
3660 "copying the string with B<strncpy>(3)."
3662 "I<\"POSIX\"> または I<\"C\"> ロケールでは、関数 B<strxfrm>() は、 関数 "
3663 "B<strncpy>(3) を使って文字列をコピーするのと同じである。"
3666 #: build/C/man3/strxfrm.3:78
3668 "B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
3669 "B<strcoll>(3), B<string>(3)"
3671 "B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
3672 "B<strcoll>(3), B<string>(3)"