X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=po4a%2Fstring%2Fpo%2Fja.po;h=31df692b27fe3b05c8fd96683e3d67eb76d8a0ba;hb=c1dfa2f6ab1bbed84992d3c59ee9925f4d453668;hp=ec3ca913d9796459eff15e6fddeea5f5c04866b9;hpb=2504ddad51273b6d2a5512609f5e4f27da8e1495;p=linuxjm%2FLDP_man-pages.git diff --git a/po4a/string/po/ja.po b/po4a/string/po/ja.po index ec3ca913..31df692b 100644 --- a/po4a/string/po/ja.po +++ b/po4a/string/po/ja.po @@ -6,8 +6,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2012-04-25 05:37+0900\n" -"PO-Revision-Date: 2012-04-27 00:38+0900\n" +"POT-Creation-Date: 2013-08-15 19:32+0900\n" +"PO-Revision-Date: 2013-08-15 20:20+0900\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" @@ -16,124 +16,124 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" #. type: TH -#: build/C/man3/bcmp.3:29 +#: build/C/man3/bcmp.3:31 #, no-wrap msgid "BCMP" msgstr "BCMP" #. type: TH -#: build/C/man3/bcmp.3:29 build/C/man3/bzero.3:29 +#: build/C/man3/bcmp.3:31 build/C/man3/bzero.3:31 #, no-wrap msgid "2008-08-06" msgstr "2008-08-06" #. type: TH -#: build/C/man3/bcmp.3:29 build/C/man3/bcopy.3:31 build/C/man3/bzero.3:29 +#: build/C/man3/bcmp.3:31 build/C/man3/bcopy.3:33 build/C/man3/bzero.3:31 #, no-wrap msgid "Linux" msgstr "Linux" #. type: TH -#: build/C/man3/bcmp.3:29 build/C/man3/bcopy.3:31 build/C/man3/bstring.3:30 -#: build/C/man3/bzero.3:29 build/C/man3/ffs.3:31 build/C/man3/index.3:29 -#: build/C/man3/memccpy.3:28 build/C/man3/memchr.3:30 build/C/man3/memcmp.3:28 -#: build/C/man3/memcpy.3:28 build/C/man3/memfrob.3:28 build/C/man3/memmem.3:28 -#: build/C/man3/memmove.3:28 build/C/man3/mempcpy.3:6 build/C/man3/memset.3:28 -#: build/C/man3/stpcpy.3:25 build/C/man3/stpncpy.3:12 -#: build/C/man3/strcasecmp.3:28 build/C/man3/strcat.3:30 -#: build/C/man3/strchr.3:31 build/C/man3/strcmp.3:30 build/C/man3/strcoll.3:28 -#: build/C/man3/strcpy.3:33 build/C/man3/strdup.3:29 -#: build/C/man3/strerror.3:37 build/C/man3/strfry.3:28 -#: build/C/man3/string.3:28 build/C/man3/strlen.3:28 build/C/man3/strnlen.3:11 -#: build/C/man3/strpbrk.3:28 build/C/man3/strsep.3:31 -#: build/C/man3/strsignal.3:28 build/C/man3/strspn.3:28 -#: build/C/man3/strstr.3:31 build/C/man3/strtok.3:28 -#: build/C/man3/strverscmp.3:23 build/C/man3/strxfrm.3:28 +#: build/C/man3/bcmp.3:31 build/C/man3/bcopy.3:33 build/C/man3/bstring.3:32 +#: build/C/man3/bzero.3:31 build/C/man3/ffs.3:33 build/C/man3/index.3:31 +#: build/C/man3/memccpy.3:30 build/C/man3/memchr.3:32 build/C/man3/memcmp.3:30 +#: build/C/man3/memcpy.3:30 build/C/man3/memfrob.3:30 build/C/man3/memmem.3:30 +#: build/C/man3/memmove.3:30 build/C/man3/mempcpy.3:10 +#: build/C/man3/memset.3:30 build/C/man3/stpcpy.3:25 build/C/man3/stpncpy.3:14 +#: build/C/man3/strcasecmp.3:30 build/C/man3/strcat.3:32 +#: build/C/man3/strchr.3:33 build/C/man3/strcmp.3:32 build/C/man3/strcoll.3:30 +#: build/C/man3/strcpy.3:35 build/C/man3/strdup.3:31 +#: build/C/man3/strerror.3:39 build/C/man3/strfry.3:30 +#: build/C/man3/string.3:30 build/C/man3/strlen.3:30 build/C/man3/strnlen.3:13 +#: build/C/man3/strpbrk.3:30 build/C/man3/strsep.3:33 +#: build/C/man3/strsignal.3:30 build/C/man3/strspn.3:30 +#: build/C/man3/strstr.3:33 build/C/man3/strtok.3:32 +#: build/C/man3/strverscmp.3:25 build/C/man3/strxfrm.3:30 #, no-wrap msgid "Linux Programmer's Manual" msgstr "Linux Programmer's Manual" #. type: SH -#: build/C/man3/bcmp.3:30 build/C/man3/bcopy.3:32 build/C/man3/bstring.3:31 -#: build/C/man3/bzero.3:30 build/C/man3/ffs.3:32 build/C/man3/index.3:30 -#: build/C/man3/memccpy.3:29 build/C/man3/memchr.3:31 build/C/man3/memcmp.3:29 -#: build/C/man3/memcpy.3:29 build/C/man3/memfrob.3:29 build/C/man3/memmem.3:29 -#: build/C/man3/memmove.3:29 build/C/man3/mempcpy.3:7 build/C/man3/memset.3:29 -#: build/C/man3/stpcpy.3:26 build/C/man3/stpncpy.3:13 -#: build/C/man3/strcasecmp.3:29 build/C/man3/strcat.3:31 -#: build/C/man3/strchr.3:32 build/C/man3/strcmp.3:31 build/C/man3/strcoll.3:29 -#: build/C/man3/strcpy.3:34 build/C/man3/strdup.3:30 -#: build/C/man3/strerror.3:38 build/C/man3/strfry.3:29 -#: build/C/man3/string.3:29 build/C/man3/strlen.3:29 build/C/man3/strnlen.3:12 -#: build/C/man3/strpbrk.3:29 build/C/man3/strsep.3:32 -#: build/C/man3/strsignal.3:29 build/C/man3/strspn.3:29 -#: build/C/man3/strstr.3:32 build/C/man3/strtok.3:29 -#: build/C/man3/strverscmp.3:24 build/C/man3/strxfrm.3:29 -#, no-wrap -msgid "NAME" -msgstr "名前" - -#. type: Plain text -#: build/C/man3/bcmp.3:32 -msgid "bcmp - compare byte sequences" -msgstr "bcmp - バイト列を比較する" - -#. type: SH -#: build/C/man3/bcmp.3:32 build/C/man3/bcopy.3:34 build/C/man3/bstring.3:34 +#: build/C/man3/bcmp.3:32 build/C/man3/bcopy.3:34 build/C/man3/bstring.3:33 #: build/C/man3/bzero.3:32 build/C/man3/ffs.3:34 build/C/man3/index.3:32 #: build/C/man3/memccpy.3:31 build/C/man3/memchr.3:33 build/C/man3/memcmp.3:31 #: build/C/man3/memcpy.3:31 build/C/man3/memfrob.3:31 build/C/man3/memmem.3:31 -#: build/C/man3/memmove.3:31 build/C/man3/mempcpy.3:9 build/C/man3/memset.3:31 -#: build/C/man3/stpcpy.3:28 build/C/man3/stpncpy.3:15 +#: build/C/man3/memmove.3:31 build/C/man3/mempcpy.3:11 +#: build/C/man3/memset.3:31 build/C/man3/stpcpy.3:26 build/C/man3/stpncpy.3:15 #: build/C/man3/strcasecmp.3:31 build/C/man3/strcat.3:33 #: build/C/man3/strchr.3:34 build/C/man3/strcmp.3:33 build/C/man3/strcoll.3:31 #: build/C/man3/strcpy.3:36 build/C/man3/strdup.3:32 #: build/C/man3/strerror.3:40 build/C/man3/strfry.3:31 -#: build/C/man3/string.3:34 build/C/man3/strlen.3:31 build/C/man3/strnlen.3:14 +#: build/C/man3/string.3:31 build/C/man3/strlen.3:31 build/C/man3/strnlen.3:14 #: build/C/man3/strpbrk.3:31 build/C/man3/strsep.3:34 #: build/C/man3/strsignal.3:31 build/C/man3/strspn.3:31 -#: build/C/man3/strstr.3:34 build/C/man3/strtok.3:31 +#: build/C/man3/strstr.3:34 build/C/man3/strtok.3:33 #: build/C/man3/strverscmp.3:26 build/C/man3/strxfrm.3:31 #, no-wrap +msgid "NAME" +msgstr "名前" + +#. type: Plain text +#: build/C/man3/bcmp.3:34 +msgid "bcmp - compare byte sequences" +msgstr "bcmp - バイト列を比較する" + +#. type: SH +#: build/C/man3/bcmp.3:34 build/C/man3/bcopy.3:36 build/C/man3/bstring.3:36 +#: build/C/man3/bzero.3:34 build/C/man3/ffs.3:36 build/C/man3/index.3:34 +#: build/C/man3/memccpy.3:33 build/C/man3/memchr.3:35 build/C/man3/memcmp.3:33 +#: build/C/man3/memcpy.3:33 build/C/man3/memfrob.3:33 build/C/man3/memmem.3:33 +#: build/C/man3/memmove.3:33 build/C/man3/mempcpy.3:13 +#: build/C/man3/memset.3:33 build/C/man3/stpcpy.3:28 build/C/man3/stpncpy.3:17 +#: build/C/man3/strcasecmp.3:33 build/C/man3/strcat.3:35 +#: build/C/man3/strchr.3:36 build/C/man3/strcmp.3:35 build/C/man3/strcoll.3:33 +#: build/C/man3/strcpy.3:38 build/C/man3/strdup.3:34 +#: build/C/man3/strerror.3:42 build/C/man3/strfry.3:33 +#: build/C/man3/string.3:36 build/C/man3/strlen.3:33 build/C/man3/strnlen.3:16 +#: build/C/man3/strpbrk.3:33 build/C/man3/strsep.3:36 +#: build/C/man3/strsignal.3:33 build/C/man3/strspn.3:33 +#: build/C/man3/strstr.3:36 build/C/man3/strtok.3:35 +#: build/C/man3/strverscmp.3:28 build/C/man3/strxfrm.3:33 +#, no-wrap msgid "SYNOPSIS" msgstr "書式" #. type: Plain text -#: build/C/man3/bcmp.3:35 build/C/man3/bcopy.3:37 build/C/man3/bzero.3:35 -#: build/C/man3/ffs.3:37 build/C/man3/index.3:35 build/C/man3/strcasecmp.3:34 -#: build/C/man3/string.3:37 +#: build/C/man3/bcmp.3:37 build/C/man3/bcopy.3:39 build/C/man3/bzero.3:37 +#: build/C/man3/ffs.3:39 build/C/man3/index.3:37 build/C/man3/strcasecmp.3:36 +#: build/C/man3/string.3:39 #, no-wrap msgid "B<#include Estrings.hE>\n" msgstr "B<#include Estrings.hE>\n" #. type: Plain text -#: build/C/man3/bcmp.3:37 +#: build/C/man3/bcmp.3:39 #, no-wrap msgid "BIB<, const void *>IB<, size_t >IB<);>\n" msgstr "BIB<, const void *>IB<, size_t >IB<);>\n" #. type: SH -#: build/C/man3/bcmp.3:38 build/C/man3/bcopy.3:40 build/C/man3/bstring.3:61 -#: build/C/man3/bzero.3:38 build/C/man3/ffs.3:72 build/C/man3/index.3:40 -#: build/C/man3/memccpy.3:37 build/C/man3/memchr.3:52 build/C/man3/memcmp.3:37 -#: build/C/man3/memcpy.3:37 build/C/man3/memfrob.3:38 build/C/man3/memmem.3:39 -#: build/C/man3/memmove.3:37 build/C/man3/mempcpy.3:23 -#: build/C/man3/memset.3:37 build/C/man3/stpcpy.3:53 build/C/man3/stpncpy.3:40 -#: build/C/man3/strcasecmp.3:39 build/C/man3/strcat.3:41 -#: build/C/man3/strchr.3:47 build/C/man3/strcmp.3:41 build/C/man3/strcoll.3:37 -#: build/C/man3/strcpy.3:44 build/C/man3/strdup.3:75 -#: build/C/man3/strerror.3:65 build/C/man3/strfry.3:39 -#: build/C/man3/string.3:88 build/C/man3/strlen.3:37 build/C/man3/strnlen.3:39 -#: build/C/man3/strpbrk.3:37 build/C/man3/strsep.3:48 -#: build/C/man3/strsignal.3:58 build/C/man3/strspn.3:39 -#: build/C/man3/strstr.3:46 build/C/man3/strtok.3:50 -#: build/C/man3/strverscmp.3:34 build/C/man3/strxfrm.3:37 +#: build/C/man3/bcmp.3:40 build/C/man3/bcopy.3:42 build/C/man3/bstring.3:63 +#: build/C/man3/bzero.3:40 build/C/man3/ffs.3:74 build/C/man3/index.3:42 +#: build/C/man3/memccpy.3:39 build/C/man3/memchr.3:54 build/C/man3/memcmp.3:39 +#: build/C/man3/memcpy.3:39 build/C/man3/memfrob.3:40 build/C/man3/memmem.3:41 +#: build/C/man3/memmove.3:39 build/C/man3/mempcpy.3:27 +#: build/C/man3/memset.3:39 build/C/man3/stpcpy.3:53 build/C/man3/stpncpy.3:42 +#: build/C/man3/strcasecmp.3:41 build/C/man3/strcat.3:43 +#: build/C/man3/strchr.3:49 build/C/man3/strcmp.3:43 build/C/man3/strcoll.3:39 +#: build/C/man3/strcpy.3:46 build/C/man3/strdup.3:77 +#: build/C/man3/strerror.3:67 build/C/man3/strfry.3:41 +#: build/C/man3/string.3:90 build/C/man3/strlen.3:39 build/C/man3/strnlen.3:41 +#: build/C/man3/strpbrk.3:39 build/C/man3/strsep.3:50 +#: build/C/man3/strsignal.3:60 build/C/man3/strspn.3:41 +#: build/C/man3/strstr.3:48 build/C/man3/strtok.3:54 +#: build/C/man3/strverscmp.3:36 build/C/man3/strxfrm.3:39 #, no-wrap msgid "DESCRIPTION" msgstr "説明" #. type: Plain text -#: build/C/man3/bcmp.3:54 +#: build/C/man3/bcmp.3:56 msgid "" "The B() function compares the two byte sequences I and I of " "length I each. If they are equal, and in particular if I is zero, " @@ -144,54 +144,54 @@ msgstr "" "0 以外を返す。" #. type: SH -#: build/C/man3/bcmp.3:54 build/C/man3/bcopy.3:50 build/C/man3/bzero.3:46 -#: build/C/man3/ffs.3:85 build/C/man3/index.3:53 build/C/man3/memccpy.3:45 -#: build/C/man3/memchr.3:97 build/C/man3/memcmp.3:46 build/C/man3/memcpy.3:46 -#: build/C/man3/memfrob.3:51 build/C/man3/memmem.3:45 -#: build/C/man3/memmove.3:51 build/C/man3/mempcpy.3:49 -#: build/C/man3/memset.3:42 build/C/man3/stpcpy.3:61 build/C/man3/stpncpy.3:59 -#: build/C/man3/strcasecmp.3:52 build/C/man3/strcat.3:91 -#: build/C/man3/strchr.3:68 build/C/man3/strcmp.3:54 build/C/man3/strcoll.3:49 -#: build/C/man3/strcpy.3:91 build/C/man3/strdup.3:102 -#: build/C/man3/strerror.3:124 build/C/man3/strfry.3:47 -#: build/C/man3/strlen.3:42 build/C/man3/strnlen.3:49 -#: build/C/man3/strpbrk.3:42 build/C/man3/strsep.3:61 -#: build/C/man3/strsignal.3:73 build/C/man3/strspn.3:51 -#: build/C/man3/strstr.3:58 build/C/man3/strtok.3:104 -#: build/C/man3/strverscmp.3:79 build/C/man3/strxfrm.3:54 +#: build/C/man3/bcmp.3:56 build/C/man3/bcopy.3:52 build/C/man3/bzero.3:48 +#: build/C/man3/ffs.3:87 build/C/man3/index.3:55 build/C/man3/memccpy.3:55 +#: build/C/man3/memchr.3:105 build/C/man3/memcmp.3:45 build/C/man3/memcpy.3:48 +#: build/C/man3/memfrob.3:53 build/C/man3/memmem.3:54 +#: build/C/man3/memmove.3:57 build/C/man3/mempcpy.3:53 +#: build/C/man3/memset.3:49 build/C/man3/stpcpy.3:63 build/C/man3/stpncpy.3:82 +#: build/C/man3/strcasecmp.3:63 build/C/man3/strcat.3:123 +#: build/C/man3/strchr.3:81 build/C/man3/strcmp.3:66 build/C/man3/strcoll.3:58 +#: build/C/man3/strcpy.3:108 build/C/man3/strdup.3:111 +#: build/C/man3/strerror.3:136 build/C/man3/strfry.3:52 +#: build/C/man3/strlen.3:45 build/C/man3/strnlen.3:58 +#: build/C/man3/strpbrk.3:47 build/C/man3/strsep.3:74 +#: build/C/man3/strsignal.3:77 build/C/man3/strspn.3:57 +#: build/C/man3/strstr.3:62 build/C/man3/strtok.3:162 +#: build/C/man3/strverscmp.3:81 build/C/man3/strxfrm.3:62 #, no-wrap msgid "RETURN VALUE" msgstr "返り値" #. type: Plain text -#: build/C/man3/bcmp.3:59 +#: build/C/man3/bcmp.3:61 msgid "" "The B() function returns 0 if the byte sequences are equal, otherwise " "a nonzero result is returned." msgstr "バイト列が等しい場合は 0 、等しくない場合は 0 以外を返す。" #. type: SH -#: build/C/man3/bcmp.3:59 build/C/man3/bcopy.3:52 build/C/man3/bzero.3:48 -#: build/C/man3/ffs.3:89 build/C/man3/index.3:60 build/C/man3/memccpy.3:51 -#: build/C/man3/memchr.3:116 build/C/man3/memcmp.3:53 build/C/man3/memcpy.3:50 -#: build/C/man3/memfrob.3:56 build/C/man3/memmem.3:50 -#: build/C/man3/memmove.3:55 build/C/man3/mempcpy.3:54 -#: build/C/man3/memset.3:47 build/C/man3/stpcpy.3:66 build/C/man3/stpncpy.3:64 -#: build/C/man3/strcasecmp.3:61 build/C/man3/strcat.3:97 -#: build/C/man3/strchr.3:86 build/C/man3/strcmp.3:63 build/C/man3/strcoll.3:56 -#: build/C/man3/strcpy.3:98 build/C/man3/strdup.3:111 -#: build/C/man3/strerror.3:148 build/C/man3/strfry.3:52 -#: build/C/man3/strlen.3:46 build/C/man3/strnlen.3:56 -#: build/C/man3/strpbrk.3:48 build/C/man3/strsep.3:66 -#: build/C/man3/strsignal.3:80 build/C/man3/strspn.3:63 -#: build/C/man3/strstr.3:61 build/C/man3/strtok.3:111 -#: build/C/man3/strverscmp.3:86 build/C/man3/strxfrm.3:62 +#: build/C/man3/bcmp.3:61 build/C/man3/bcopy.3:54 build/C/man3/bzero.3:50 +#: build/C/man3/ffs.3:91 build/C/man3/index.3:62 build/C/man3/memccpy.3:70 +#: build/C/man3/memchr.3:124 build/C/man3/memcmp.3:60 build/C/man3/memcpy.3:52 +#: build/C/man3/memfrob.3:58 build/C/man3/memmem.3:59 +#: build/C/man3/memmove.3:62 build/C/man3/mempcpy.3:60 +#: build/C/man3/memset.3:54 build/C/man3/stpcpy.3:71 build/C/man3/stpncpy.3:91 +#: build/C/man3/strcasecmp.3:76 build/C/man3/strcat.3:130 +#: build/C/man3/strchr.3:107 build/C/man3/strcmp.3:79 +#: build/C/man3/strcoll.3:69 build/C/man3/strcpy.3:116 +#: build/C/man3/strdup.3:123 build/C/man3/strerror.3:184 +#: build/C/man3/strfry.3:57 build/C/man3/strlen.3:50 build/C/man3/strnlen.3:71 +#: build/C/man3/strpbrk.3:56 build/C/man3/strsep.3:80 +#: build/C/man3/strsignal.3:84 build/C/man3/strspn.3:74 +#: build/C/man3/strstr.3:65 build/C/man3/strtok.3:178 +#: build/C/man3/strverscmp.3:90 build/C/man3/strxfrm.3:76 #, no-wrap msgid "CONFORMING TO" msgstr "準拠" #. type: Plain text -#: build/C/man3/bcmp.3:66 +#: build/C/man3/bcmp.3:68 msgid "" "4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use " "B(3) in new programs. POSIX.1-2008 removes the specification of " @@ -202,27 +202,28 @@ msgstr "" "POSIX.1-2008 では B() の仕様が削除されている。" #. type: SH -#: build/C/man3/bcmp.3:66 build/C/man3/bcopy.3:66 build/C/man3/bstring.3:80 -#: build/C/man3/bzero.3:55 build/C/man3/ffs.3:101 build/C/man3/index.3:71 -#: build/C/man3/memccpy.3:53 build/C/man3/memchr.3:128 -#: build/C/man3/memcmp.3:55 build/C/man3/memcpy.3:52 build/C/man3/memfrob.3:61 -#: build/C/man3/memmem.3:63 build/C/man3/memmove.3:57 -#: build/C/man3/mempcpy.3:67 build/C/man3/memset.3:49 build/C/man3/stpcpy.3:98 -#: build/C/man3/stpncpy.3:66 build/C/man3/strcasecmp.3:63 -#: build/C/man3/strcat.3:99 build/C/man3/strchr.3:93 build/C/man3/strcmp.3:65 -#: build/C/man3/strcoll.3:63 build/C/man3/strcpy.3:135 -#: build/C/man3/strdup.3:121 build/C/man3/strerror.3:176 -#: build/C/man3/strfry.3:57 build/C/man3/string.3:92 build/C/man3/strlen.3:48 -#: build/C/man3/strnlen.3:58 build/C/man3/strpbrk.3:50 -#: build/C/man3/strsep.3:86 build/C/man3/strsignal.3:83 -#: build/C/man3/strspn.3:65 build/C/man3/strstr.3:74 build/C/man3/strtok.3:201 -#: build/C/man3/strverscmp.3:88 build/C/man3/strxfrm.3:70 +#: build/C/man3/bcmp.3:68 build/C/man3/bcopy.3:68 build/C/man3/bstring.3:82 +#: build/C/man3/bzero.3:57 build/C/man3/ffs.3:103 build/C/man3/index.3:73 +#: build/C/man3/memccpy.3:72 build/C/man3/memchr.3:136 +#: build/C/man3/memcmp.3:62 build/C/man3/memcpy.3:54 build/C/man3/memfrob.3:63 +#: build/C/man3/memmem.3:83 build/C/man3/memmove.3:64 +#: build/C/man3/mempcpy.3:73 build/C/man3/memset.3:56 +#: build/C/man3/stpcpy.3:110 build/C/man3/stpncpy.3:94 +#: build/C/man3/strcasecmp.3:78 build/C/man3/strcat.3:169 +#: build/C/man3/strchr.3:114 build/C/man3/strcmp.3:81 +#: build/C/man3/strcoll.3:80 build/C/man3/strcpy.3:213 +#: build/C/man3/strdup.3:133 build/C/man3/strerror.3:213 +#: build/C/man3/strfry.3:62 build/C/man3/string.3:94 build/C/man3/strlen.3:52 +#: build/C/man3/strnlen.3:73 build/C/man3/strpbrk.3:58 +#: build/C/man3/strsep.3:100 build/C/man3/strsignal.3:87 +#: build/C/man3/strspn.3:76 build/C/man3/strstr.3:84 build/C/man3/strtok.3:268 +#: build/C/man3/strverscmp.3:92 build/C/man3/strxfrm.3:88 #, no-wrap msgid "SEE ALSO" msgstr "関連項目" #. type: Plain text -#: build/C/man3/bcmp.3:72 +#: build/C/man3/bcmp.3:75 msgid "" "B(3), B(3), B(3), B(3), B" "(3), B(3)" @@ -230,31 +231,79 @@ msgstr "" "B(3), B(3), B(3), B(3), B" "(3), B(3)" +#. type: SH +#: build/C/man3/bcmp.3:75 build/C/man3/bcopy.3:74 build/C/man3/bstring.3:94 +#: build/C/man3/bzero.3:60 build/C/man3/ffs.3:105 build/C/man3/index.3:83 +#: build/C/man3/memccpy.3:78 build/C/man3/memchr.3:147 +#: build/C/man3/memcmp.3:70 build/C/man3/memcpy.3:62 build/C/man3/memfrob.3:65 +#: build/C/man3/memmem.3:85 build/C/man3/memmove.3:71 +#: build/C/man3/mempcpy.3:78 build/C/man3/memset.3:60 +#: build/C/man3/stpcpy.3:119 build/C/man3/stpncpy.3:97 +#: build/C/man3/strcasecmp.3:87 build/C/man3/strcat.3:178 +#: build/C/man3/strchr.3:127 build/C/man3/strcmp.3:91 +#: build/C/man3/strcoll.3:88 build/C/man3/strcpy.3:224 +#: build/C/man3/strdup.3:141 build/C/man3/strerror.3:219 +#: build/C/man3/strfry.3:65 build/C/man3/string.3:119 build/C/man3/strlen.3:57 +#: build/C/man3/strnlen.3:75 build/C/man3/strpbrk.3:69 +#: build/C/man3/strsep.3:110 build/C/man3/strsignal.3:90 +#: build/C/man3/strspn.3:88 build/C/man3/strstr.3:96 build/C/man3/strtok.3:279 +#: build/C/man3/strverscmp.3:97 build/C/man3/strxfrm.3:96 +#, no-wrap +msgid "COLOPHON" +msgstr "この文書について" + +#. type: Plain text +#: build/C/man3/bcmp.3:82 build/C/man3/bcopy.3:81 build/C/man3/bstring.3:101 +#: build/C/man3/bzero.3:67 build/C/man3/ffs.3:112 build/C/man3/index.3:90 +#: build/C/man3/memccpy.3:85 build/C/man3/memchr.3:154 +#: build/C/man3/memcmp.3:77 build/C/man3/memcpy.3:69 build/C/man3/memfrob.3:72 +#: build/C/man3/memmem.3:92 build/C/man3/memmove.3:78 +#: build/C/man3/mempcpy.3:85 build/C/man3/memset.3:67 +#: build/C/man3/stpcpy.3:126 build/C/man3/stpncpy.3:104 +#: build/C/man3/strcasecmp.3:94 build/C/man3/strcat.3:185 +#: build/C/man3/strchr.3:134 build/C/man3/strcmp.3:98 +#: build/C/man3/strcoll.3:95 build/C/man3/strcpy.3:231 +#: build/C/man3/strdup.3:148 build/C/man3/strerror.3:226 +#: build/C/man3/strfry.3:72 build/C/man3/string.3:126 build/C/man3/strlen.3:64 +#: build/C/man3/strnlen.3:82 build/C/man3/strpbrk.3:76 +#: build/C/man3/strsep.3:117 build/C/man3/strsignal.3:97 +#: build/C/man3/strspn.3:95 build/C/man3/strstr.3:103 +#: build/C/man3/strtok.3:286 build/C/man3/strverscmp.3:104 +#: build/C/man3/strxfrm.3:103 +msgid "" +"This page is part of release 3.53 of the Linux I project. A " +"description of the project, and information about reporting bugs, can be " +"found at \\%http://www.kernel.org/doc/man-pages/." +msgstr "" +"この man ページは Linux I プロジェクトのリリース 3.53 の一部\n" +"である。プロジェクトの説明とバグ報告に関する情報は\n" +"http://www.kernel.org/doc/man-pages/ に書かれている。" + #. type: TH -#: build/C/man3/bcopy.3:31 +#: build/C/man3/bcopy.3:33 #, no-wrap msgid "BCOPY" msgstr "BCOPY" #. type: TH -#: build/C/man3/bcopy.3:31 +#: build/C/man3/bcopy.3:33 #, no-wrap msgid "2009-03-15" msgstr "2009-03-15" #. type: Plain text -#: build/C/man3/bcopy.3:34 +#: build/C/man3/bcopy.3:36 msgid "bcopy - copy byte sequence" msgstr "bcopy - バイト列をコピーする" #. type: Plain text -#: build/C/man3/bcopy.3:39 +#: build/C/man3/bcopy.3:41 #, no-wrap msgid "BIB<, void *>IB<, size_t >IB<);>\n" msgstr "BIB<, void *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bcopy.3:50 +#: build/C/man3/bcopy.3:52 msgid "" "The B() function copies I bytes from I to I. The " "result is correct, even when both areas overlap." @@ -263,12 +312,12 @@ msgstr "" "なっていても、結果は正しいものである。" #. type: Plain text -#: build/C/man3/bcopy.3:52 build/C/man3/bzero.3:48 +#: build/C/man3/bcopy.3:54 build/C/man3/bzero.3:50 msgid "None." msgstr "なし。" #. type: Plain text -#: build/C/man3/bcopy.3:66 +#: build/C/man3/bcopy.3:68 msgid "" "4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use " "B(3) or B(3) in new programs. Note that the first two " @@ -282,25 +331,25 @@ msgstr "" "れている。" #. type: Plain text -#: build/C/man3/bcopy.3:71 +#: build/C/man3/bcopy.3:74 msgid "B(3), B(3), B(3), B(3), B(3)" msgstr "" "B(3), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/bstring.3:30 +#: build/C/man3/bstring.3:32 #, no-wrap msgid "BSTRING" msgstr "BSTRING" #. type: TH -#: build/C/man3/bstring.3:30 +#: build/C/man3/bstring.3:32 #, no-wrap msgid "2002-01-20" msgstr "2002-01-20" #. type: Plain text -#: build/C/man3/bstring.3:34 +#: build/C/man3/bstring.3:36 msgid "" "bcmp, bcopy, bzero, memccpy, memchr, memcmp, memcpy, memfrob, memmem, " "memmove, memset - byte string operations" @@ -309,72 +358,72 @@ msgstr "" "memmove, memset - バイト列の操作を行なう" #. type: Plain text -#: build/C/man3/bstring.3:37 build/C/man3/ffs.3:41 build/C/man3/memccpy.3:34 -#: build/C/man3/memchr.3:36 build/C/man3/memcmp.3:34 build/C/man3/memcpy.3:34 -#: build/C/man3/memmove.3:34 build/C/man3/mempcpy.3:14 -#: build/C/man3/memset.3:34 build/C/man3/stpcpy.3:31 build/C/man3/stpncpy.3:18 -#: build/C/man3/strcat.3:36 build/C/man3/strchr.3:37 build/C/man3/strcmp.3:36 -#: build/C/man3/strcoll.3:34 build/C/man3/strcpy.3:39 build/C/man3/strdup.3:35 -#: build/C/man3/strerror.3:43 build/C/man3/strfry.3:36 -#: build/C/man3/string.3:47 build/C/man3/strlen.3:34 build/C/man3/strnlen.3:17 -#: build/C/man3/strpbrk.3:34 build/C/man3/strsep.3:37 -#: build/C/man3/strsignal.3:34 build/C/man3/strspn.3:34 -#: build/C/man3/strstr.3:37 build/C/man3/strstr.3:43 build/C/man3/strtok.3:34 -#: build/C/man3/strverscmp.3:31 build/C/man3/strxfrm.3:34 +#: build/C/man3/bstring.3:39 build/C/man3/ffs.3:43 build/C/man3/memccpy.3:36 +#: build/C/man3/memchr.3:38 build/C/man3/memcmp.3:36 build/C/man3/memcpy.3:36 +#: build/C/man3/memmove.3:36 build/C/man3/mempcpy.3:18 +#: build/C/man3/memset.3:36 build/C/man3/stpcpy.3:31 build/C/man3/stpncpy.3:20 +#: build/C/man3/strcat.3:38 build/C/man3/strchr.3:39 build/C/man3/strcmp.3:38 +#: build/C/man3/strcoll.3:36 build/C/man3/strcpy.3:41 build/C/man3/strdup.3:37 +#: build/C/man3/strerror.3:45 build/C/man3/strfry.3:38 +#: build/C/man3/string.3:49 build/C/man3/strlen.3:36 build/C/man3/strnlen.3:19 +#: build/C/man3/strpbrk.3:36 build/C/man3/strsep.3:39 +#: build/C/man3/strsignal.3:36 build/C/man3/strspn.3:36 +#: build/C/man3/strstr.3:39 build/C/man3/strstr.3:45 build/C/man3/strtok.3:38 +#: build/C/man3/strverscmp.3:33 build/C/man3/strxfrm.3:36 #, no-wrap msgid "B<#include Estring.hE>\n" msgstr "B<#include Estring.hE>\n" #. type: Plain text -#: build/C/man3/bstring.3:39 +#: build/C/man3/bstring.3:41 #, no-wrap msgid "BIB<, const void *>IB<, int >IB<);>\n" msgstr "BIB<, const void *>IB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:41 +#: build/C/man3/bstring.3:43 #, no-wrap msgid "BIB<, void *>IB<, int >IB<);>\n" msgstr "BIB<, void *>IB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:43 +#: build/C/man3/bstring.3:45 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:45 build/C/man3/memccpy.3:36 +#: build/C/man3/bstring.3:47 build/C/man3/memccpy.3:38 #, no-wrap msgid "BIB<, const void *>IB<, int >IB<, size_t >IB<);>\n" msgstr "BIB<, const void *>IB<, int >IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:47 build/C/man3/memchr.3:38 +#: build/C/man3/bstring.3:49 build/C/man3/memchr.3:40 #, no-wrap msgid "BIB<, int >IB<, size_t >IB<);>\n" msgstr "BIB<, int >IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:49 build/C/man3/memcmp.3:36 +#: build/C/man3/bstring.3:51 build/C/man3/memcmp.3:38 #, no-wrap msgid "BIB<, const void *>IB<, size_t >IB<);>\n" msgstr "BIB<, const void *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:51 build/C/man3/memcpy.3:36 +#: build/C/man3/bstring.3:53 build/C/man3/memcpy.3:38 #, no-wrap msgid "BIB<, const void *>IB<, size_t >IB<);>\n" msgstr "BIB<, const void *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:53 build/C/man3/memfrob.3:37 +#: build/C/man3/bstring.3:55 build/C/man3/memfrob.3:39 #, no-wrap msgid "BIB<, size_t >IB<);>\n" msgstr "BIB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:56 +#: build/C/man3/bstring.3:58 #, no-wrap msgid "" "BIB<, size_t >IB<,>\n" @@ -384,19 +433,19 @@ msgstr "" "B< const void *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:58 build/C/man3/memmove.3:36 +#: build/C/man3/bstring.3:60 build/C/man3/memmove.3:38 #, no-wrap msgid "BIB<, const void *>IB<, size_t >IB<);>\n" msgstr "BIB<, const void *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:60 build/C/man3/memset.3:36 +#: build/C/man3/bstring.3:62 build/C/man3/memset.3:38 #, no-wrap msgid "BIB<, int >IB<, size_t >IB<);>\n" msgstr "BIB<, int >IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bstring.3:66 +#: build/C/man3/bstring.3:68 msgid "" "The byte string functions perform operations on strings (byte arrays) that " "are not necessarily null-terminated. See the individual man pages for " @@ -406,16 +455,16 @@ msgstr "" "の詳しい説明は、それぞれの man ページを参照すること。" #. type: SH -#: build/C/man3/bstring.3:66 build/C/man3/ffs.3:98 build/C/man3/strcoll.3:58 -#: build/C/man3/strcpy.3:100 build/C/man3/strsep.3:68 -#: build/C/man3/strxfrm.3:64 +#: build/C/man3/bstring.3:68 build/C/man3/ffs.3:100 build/C/man3/strcat.3:132 +#: build/C/man3/strcoll.3:71 build/C/man3/strcpy.3:118 +#: build/C/man3/strsep.3:82 build/C/man3/strxfrm.3:78 #, no-wrap msgid "NOTES" msgstr "注意" #. The old functions are not even available on some non-GNU/Linux systems. #. type: Plain text -#: build/C/man3/bstring.3:80 +#: build/C/man3/bstring.3:82 msgid "" "The functions B(), B() and B() are obsolete. Use " "B(), B() and B() instead." @@ -424,7 +473,7 @@ msgstr "" "(), B() B() を使うこと。" #. type: Plain text -#: build/C/man3/bstring.3:91 +#: build/C/man3/bstring.3:94 msgid "" "B(3), B(3), B(3), B(3), B(3), B" "(3), B(3), B(3), B(3), B(3), B(3)" @@ -433,24 +482,24 @@ msgstr "" "(3), B(3), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/bzero.3:29 +#: build/C/man3/bzero.3:31 #, no-wrap msgid "BZERO" msgstr "BZERO" #. type: Plain text -#: build/C/man3/bzero.3:32 +#: build/C/man3/bzero.3:34 msgid "bzero - write zero-valued bytes" msgstr "bzero - 値 0 のバイトで埋める" #. type: Plain text -#: build/C/man3/bzero.3:37 +#: build/C/man3/bzero.3:39 #, no-wrap msgid "BIB<, size_t >IB<);>\n" msgstr "BIB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/bzero.3:46 +#: build/C/man3/bzero.3:48 msgid "" "The B() function sets the first I bytes of the area starting at " "I to zero (bytes containing \\(aq\\e0\\(aq)." @@ -459,7 +508,7 @@ msgstr "" "(値が \\(aq\\e0\\(aq のバイト) で埋める。" #. type: Plain text -#: build/C/man3/bzero.3:55 +#: build/C/man3/bzero.3:57 msgid "" "4.3BSD. This function is deprecated (marked as LEGACY in POSIX.1-2001): use " "B(3) in new programs. POSIX.1-2008 removes the specification of " @@ -470,85 +519,83 @@ msgstr "" "POSIX.1-2008 では B() の仕様が削除されている。" #. type: Plain text -#: build/C/man3/bzero.3:57 +#: build/C/man3/bzero.3:60 msgid "B(3), B(3)" msgstr "B(3), B(3)" #. type: TH -#: build/C/man3/ffs.3:31 +#: build/C/man3/ffs.3:33 #, no-wrap msgid "FFS" msgstr "FFS" #. type: TH -#: build/C/man3/ffs.3:31 build/C/man3/strcasecmp.3:28 build/C/man3/strchr.3:31 -#: build/C/man3/strcmp.3:30 build/C/man3/strcoll.3:28 build/C/man3/strcpy.3:33 -#: build/C/man3/strfry.3:28 build/C/man3/strpbrk.3:28 build/C/man3/strspn.3:28 +#: build/C/man3/ffs.3:33 build/C/man3/strcoll.3:30 build/C/man3/strfry.3:30 #, no-wrap msgid "2010-09-20" msgstr "2010-09-20" #. type: TH -#: build/C/man3/ffs.3:31 build/C/man3/index.3:29 build/C/man3/memccpy.3:28 -#: build/C/man3/memfrob.3:28 build/C/man3/memmem.3:28 -#: build/C/man3/memmove.3:28 build/C/man3/mempcpy.3:6 build/C/man3/memset.3:28 -#: build/C/man3/stpcpy.3:25 build/C/man3/stpncpy.3:12 build/C/man3/strcat.3:30 -#: build/C/man3/strchr.3:31 build/C/man3/strcoll.3:28 build/C/man3/strcpy.3:33 -#: build/C/man3/strdup.3:29 build/C/man3/strfry.3:28 build/C/man3/strlen.3:28 -#: build/C/man3/strnlen.3:11 build/C/man3/strsep.3:31 -#: build/C/man3/strsignal.3:28 build/C/man3/strstr.3:31 -#: build/C/man3/strtok.3:28 build/C/man3/strverscmp.3:23 -#: build/C/man3/strxfrm.3:28 +#: build/C/man3/ffs.3:33 build/C/man3/index.3:31 build/C/man3/memccpy.3:30 +#: build/C/man3/memfrob.3:30 build/C/man3/memmem.3:30 +#: build/C/man3/memmove.3:30 build/C/man3/mempcpy.3:10 +#: build/C/man3/memset.3:30 build/C/man3/stpcpy.3:25 build/C/man3/stpncpy.3:14 +#: build/C/man3/strcat.3:32 build/C/man3/strchr.3:33 build/C/man3/strcoll.3:30 +#: build/C/man3/strcpy.3:35 build/C/man3/strdup.3:31 build/C/man3/strfry.3:30 +#: build/C/man3/strlen.3:30 build/C/man3/strnlen.3:13 build/C/man3/strsep.3:33 +#: build/C/man3/strsignal.3:30 build/C/man3/strstr.3:33 +#: build/C/man3/strtok.3:32 build/C/man3/strverscmp.3:25 +#: build/C/man3/strxfrm.3:30 #, no-wrap msgid "GNU" msgstr "GNU" #. type: Plain text -#: build/C/man3/ffs.3:34 +#: build/C/man3/ffs.3:36 msgid "ffs, ffsl, ffsll - find first bit set in a word" msgstr "ffs, ffsl, ffsll - ワードの中で最初にセットされているビットの検出" #. type: Plain text -#: build/C/man3/ffs.3:39 +#: build/C/man3/ffs.3:41 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/ffs.3:43 +#: build/C/man3/ffs.3:45 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/ffs.3:45 +#: build/C/man3/ffs.3:47 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/ffs.3:50 build/C/man3/memchr.3:47 build/C/man3/stpcpy.3:38 -#: build/C/man3/stpncpy.3:25 build/C/man3/strdup.3:48 -#: build/C/man3/strerror.3:56 build/C/man3/strnlen.3:24 -#: build/C/man3/strsep.3:44 build/C/man3/strsignal.3:43 -#: build/C/man3/strtok.3:43 +#: build/C/man3/ffs.3:52 build/C/man3/memchr.3:49 build/C/man3/stpcpy.3:38 +#: build/C/man3/stpncpy.3:27 build/C/man3/strdup.3:50 +#: build/C/man3/strerror.3:58 build/C/man3/strnlen.3:26 +#: build/C/man3/strsep.3:46 build/C/man3/strsignal.3:45 +#: build/C/man3/strtok.3:47 msgid "" "Feature Test Macro Requirements for glibc (see B(7)):" msgstr "glibc 向けの機能検査マクロの要件 (B(7) 参照):" #. type: Plain text -#: build/C/man3/ffs.3:55 +#: build/C/man3/ffs.3:57 msgid "B():" msgstr "B():" #. type: TP -#: build/C/man3/ffs.3:56 +#: build/C/man3/ffs.3:58 #, no-wrap msgid "Since glibc 2.12:" msgstr "glibc 2.10 以降:" #. type: Plain text -#: build/C/man3/ffs.3:60 +#: build/C/man3/ffs.3:62 msgid "" "_SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E=\\ 200809L || " "_XOPEN_SOURCE\\ E=\\ 700 ||" @@ -557,30 +604,30 @@ msgstr "" "_XOPEN_SOURCE\\ E=\\ 700 ||" #. type: TP -#: build/C/man3/ffs.3:60 +#: build/C/man3/ffs.3:62 #, no-wrap msgid "Before glibc 2.12:" msgstr "glibc 2.10 より前:" #. type: Plain text -#: build/C/man3/ffs.3:63 +#: build/C/man3/ffs.3:65 msgid "none" msgstr "none" #. type: Plain text -#: build/C/man3/ffs.3:67 +#: build/C/man3/ffs.3:69 msgid "B(), B():" msgstr "B(), B():" #. type: Plain text -#: build/C/man3/ffs.3:69 build/C/man3/stpcpy.3:50 build/C/man3/stpncpy.3:37 -#: build/C/man3/strdup.3:68 build/C/man3/strnlen.3:36 -#: build/C/man3/strsignal.3:55 +#: build/C/man3/ffs.3:71 build/C/man3/stpcpy.3:50 build/C/man3/stpncpy.3:39 +#: build/C/man3/strdup.3:70 build/C/man3/strnlen.3:38 +#: build/C/man3/strsignal.3:57 msgid "_GNU_SOURCE" msgstr "_GNU_SOURCE" #. type: Plain text -#: build/C/man3/ffs.3:85 +#: build/C/man3/ffs.3:87 msgid "" "The B() function returns the position of the first (least significant) " "bit set in the word I. The least significant bit is position 1 and the " @@ -593,7 +640,7 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man3/ffs.3:89 +#: build/C/man3/ffs.3:91 msgid "" "These functions return the position of the first bit set, or 0 if no bits " "are set in I." @@ -602,56 +649,56 @@ msgstr "" "もセットされていなければ 0 を返す。" #. type: Plain text -#: build/C/man3/ffs.3:92 +#: build/C/man3/ffs.3:94 msgid "B(): 4.3BSD, POSIX.1-2001." msgstr "B(): 4.3BSD, POSIX.1-2001." #. type: Plain text -#: build/C/man3/ffs.3:98 +#: build/C/man3/ffs.3:100 msgid "The B() and B() functions are glibc extensions." msgstr "関数 B() と B() は glibc による拡張である。" #. type: Plain text -#: build/C/man3/ffs.3:101 +#: build/C/man3/ffs.3:103 msgid "BSD systems have a prototype in Istring.hE>." msgstr "BSD システムでは Istring.hE> にプロトタイプがある。" #. type: Plain text -#: build/C/man3/ffs.3:102 +#: build/C/man3/ffs.3:105 msgid "B(3)" msgstr "B(3)" #. type: TH -#: build/C/man3/index.3:29 +#: build/C/man3/index.3:31 #, no-wrap msgid "INDEX" msgstr "INDEX" #. type: TH -#: build/C/man3/index.3:29 +#: build/C/man3/index.3:31 #, no-wrap msgid "2011-09-21" msgstr "2011-09-21" #. type: Plain text -#: build/C/man3/index.3:32 +#: build/C/man3/index.3:34 msgid "index, rindex - locate character in string" msgstr "index, rindex - 文字列中の文字の位置を示す" #. type: Plain text -#: build/C/man3/index.3:37 build/C/man3/string.3:43 +#: build/C/man3/index.3:39 build/C/man3/string.3:45 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/index.3:39 build/C/man3/string.3:45 +#: build/C/man3/index.3:41 build/C/man3/string.3:47 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/index.3:45 +#: build/C/man3/index.3:47 msgid "" "The B() function returns a pointer to the first occurrence of the " "character I in the string I." @@ -660,7 +707,7 @@ msgstr "" "を返す。" #. type: Plain text -#: build/C/man3/index.3:50 +#: build/C/man3/index.3:52 msgid "" "The B() function returns a pointer to the last occurrence of the " "character I in the string I." @@ -669,7 +716,7 @@ msgstr "" "タを返す。" #. type: Plain text -#: build/C/man3/index.3:53 +#: build/C/man3/index.3:55 msgid "" "The terminating null byte (\\(aq\\e0\\(aq) is considered to be a part of the " "strings." @@ -677,7 +724,7 @@ msgstr "" "文字列を終端する NULL バイト (\\(aq\\e0\\(aq) は、文字列の一部とみなされる。" #. type: Plain text -#: build/C/man3/index.3:60 +#: build/C/man3/index.3:62 msgid "" "The B() and B() functions return a pointer to the matched " "character or NULL if the character is not found." @@ -686,7 +733,7 @@ msgstr "" "つからない場合は NULL を返す。" #. type: Plain text -#: build/C/man3/index.3:71 +#: build/C/man3/index.3:73 msgid "" "4.3BSD; marked as LEGACY in POSIX.1-2001. POSIX.1-2008 removes the " "specifications of B() and B(), recommending B(3) " @@ -697,7 +744,7 @@ msgstr "" "に、 B(3) と B(3) の使用が推奨されている。" #. type: Plain text -#: build/C/man3/index.3:80 +#: build/C/man3/index.3:83 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3)" @@ -706,24 +753,24 @@ msgstr "" "B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/memccpy.3:28 +#: build/C/man3/memccpy.3:30 #, no-wrap msgid "MEMCCPY" msgstr "MEMCCPY" #. type: TH -#: build/C/man3/memccpy.3:28 +#: build/C/man3/memccpy.3:30 #, no-wrap msgid "2009-01-13" msgstr "1993-04-10" #. type: Plain text -#: build/C/man3/memccpy.3:31 +#: build/C/man3/memccpy.3:33 msgid "memccpy - copy memory area" msgstr "memccpy - メモリ領域をコピーする" #. type: Plain text -#: build/C/man3/memccpy.3:43 +#: build/C/man3/memccpy.3:53 msgid "" "The B() function copies no more than I bytes from memory area " "I to memory area I, stopping when the character I is found." @@ -733,12 +780,12 @@ msgstr "" "コピーを中止する。" #. type: Plain text -#: build/C/man3/memccpy.3:45 +#: build/C/man3/memccpy.3:55 msgid "If the memory areas overlap, the results are undefined." msgstr "コピー元とコピー先のメモリ領域が重なっている場合、 結果は不定である。" #. type: Plain text -#: build/C/man3/memccpy.3:51 +#: build/C/man3/memccpy.3:70 msgid "" "The B() function returns a pointer to the next character in " "I after I, or NULL if I was not found in the first I " @@ -748,62 +795,63 @@ msgstr "" "を指すポインタを返す。 見つからなかった場合、NULL を返す。" #. type: Plain text -#: build/C/man3/memccpy.3:53 +#: build/C/man3/memccpy.3:72 msgid "SVr4, 4.3BSD, POSIX.1-2001." msgstr "SVr4, 4.3BSD, POSIX.1-2001." #. type: Plain text -#: build/C/man3/memccpy.3:58 +#: build/C/man3/memccpy.3:78 msgid "B(3), B(3), B(3), B(3), B(3)" msgstr "B(3), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/memchr.3:30 +#: build/C/man3/memchr.3:32 #, no-wrap msgid "MEMCHR" msgstr "MEMCHR" #. type: TH -#: build/C/man3/memchr.3:30 +#: build/C/man3/memchr.3:32 #, no-wrap -msgid "2012-04-16" -msgstr "2012-04-16" +msgid "2012-04-23" +msgstr "2012-04-23" #. type: Plain text -#: build/C/man3/memchr.3:33 +#: build/C/man3/memchr.3:35 msgid "memchr, memrchr, rawmemchr - scan memory for a character" msgstr "memchr, memrchr, rawmemchr - 文字を探すためにメモリをスキャンする" #. type: Plain text -#: build/C/man3/memchr.3:40 +#: build/C/man3/memchr.3:42 #, no-wrap msgid "BIB<, int >IB<, size_t >IB<);>\n" msgstr "BIB<, int >IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/memchr.3:42 +#: build/C/man3/memchr.3:44 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/memchr.3:52 +#: build/C/man3/memchr.3:54 msgid "B(), B(): _GNU_SOURCE" msgstr "B(): B(): _GNU_SOURCE" #. type: Plain text -#: build/C/man3/memchr.3:59 +#: build/C/man3/memchr.3:70 msgid "" -"The B() function scans the first I bytes of the memory area " -"pointed to by I for the character I. The first byte to match I " -"(interpreted as an unsigned character) stops the operation." +"The B() function scans the initial I bytes of the memory area " +"pointed to by I for the first instance of I. Both I and the bytes " +"of the memory area pointed to by I are interpreted as I." msgstr "" -"B() 関数は、ポインタ I が指し示すメモリブロックの 先頭の I バ" -"イトから文字 I を探す。 最初に I (unsigned char と解釈される) が見つ" -"かった時点で動作が停止する。" +"B() 関数は、ポインタ I が指し示すメモリ領域の先頭の\n" +"I バイトから最初に登場する文字 I を探す。\n" +"I と I が指し示すメモリ領域の各バイトは両方とも\n" +"I と解釈される。" #. type: Plain text -#: build/C/man3/memchr.3:67 +#: build/C/man3/memchr.3:81 msgid "" "The B() function is like the B() function, except that it " "searches backward from the end of the I bytes pointed to by I instead " @@ -814,32 +862,31 @@ msgstr "" "きに探す。" #. type: Plain text -#: build/C/man3/memchr.3:91 +#: build/C/man3/memchr.3:99 msgid "" "The B() function is similar to B(): it assumes (i.e., " -"the programmer knows for certain) that the character I lies somewhere in " -"the string I, and so performs an optimized search for the character I " -"(i.e., no use of a count argument argument to limit the range of the " -"search). If the character I is not in the string I, then B" -"() may proceed to search beyond the end of the string, and the result is " -"unspecified. The following call is a fast means of locating a string's " -"terminating null byte:" +"the programmer knows for certain) that an instance of I lies somewhere " +"in the memory area starting at the location pointed to by I, and so " +"performs an optimized search for I (i.e., no use of a count argument to " +"limit the range of the search). If an instance of I is not found, the " +"results are unpredictable. The following call is a fast means of locating a " +"string's terminating null byte:" msgstr "" -"B() 関数は B() と同様だが、文字 I が文字列 I 内の\n" -"どこかにあることを前提にして (つまり、プログラマはそのことを知っている)、\n" -"最適化した方法で文字 I の検索を実行する (すなわち、検索範囲の上限を示す\n" -"引き数も使用されない)。文字 I が文字列 I 内にない場合、 B()\n" -"は文字列末尾を越えて検索を実行するかもしれず、結果は不定である。\n" -"次に示す呼び出しは、文字列終端のNULL バイトの位置を特定する 高速な手段である。" +"B() 関数は B() と同様だが、 I が I が指す場所\n" +"から始まるメモリ領域のどこかにあることを前提にして (つまり、プログラマ\n" +"はそのことを知っている)、最適化した方法で I の検索を実行する (すなわ\n" +"ち、検索範囲の上限を示す引き数も使用されない)。I が見つからなかった\n" +"場合、その結果はどうなるか分からない。次に示す呼び出しは、文字列終端の\n" +"NULL バイトの位置を特定する高速な手段である。" #. type: Plain text -#: build/C/man3/memchr.3:95 +#: build/C/man3/memchr.3:103 #, no-wrap msgid "char *p = rawmemchr(s,\\ \\(aq\\e0\\(aq);\n" msgstr "char *p = rawmemchr(s,\\ \\(aq\\e0\\(aq);\n" #. type: Plain text -#: build/C/man3/memchr.3:105 +#: build/C/man3/memchr.3:113 msgid "" "The B() and B() functions return a pointer to the " "matching byte or NULL if the character does not occur in the given memory " @@ -849,7 +896,7 @@ msgstr "" "文字が指定メモリ領域に現れない場合は NULL を返す。" #. type: Plain text -#: build/C/man3/memchr.3:110 +#: build/C/man3/memchr.3:118 msgid "" "The B() function returns a pointer to the matching byte, if one " "is found. If no matching byte is found, the result is unspecified." @@ -858,42 +905,42 @@ msgstr "" "ポインタを返す。 マッチするバイトが見つからなかった場合、結果は不定である。" #. type: SH -#: build/C/man3/memchr.3:110 build/C/man3/mempcpy.3:51 -#: build/C/man3/strchr.3:83 +#: build/C/man3/memchr.3:118 build/C/man3/mempcpy.3:57 +#: build/C/man3/strchr.3:104 #, no-wrap msgid "VERSIONS" msgstr "バージョン" #. type: Plain text -#: build/C/man3/memchr.3:113 +#: build/C/man3/memchr.3:121 msgid "B() first appeared in glibc in version 2.1." msgstr "B() は glibc バージョン 2.1 で初めて登場した。" #. type: Plain text -#: build/C/man3/memchr.3:116 +#: build/C/man3/memchr.3:124 msgid "B() first appeared in glibc in version 2.2." msgstr "B() は glibc バージョン 2.2 で初めて登場した。" #. type: Plain text -#: build/C/man3/memchr.3:120 +#: build/C/man3/memchr.3:128 msgid "" "The B() function conforms to SVr4, 4.3BSD, C89, C99, POSIX.1-2001." msgstr "B() 関数は SVr4, 4.3BSD, C89, C99, POSIX.1-2001 に準拠する。" #. type: Plain text -#: build/C/man3/memchr.3:124 +#: build/C/man3/memchr.3:132 msgid "" "The B() function is a GNU extension, available since glibc 2.1.91." msgstr "B() 関数は GNU 拡張であり、glibc 2.1.91 から使用可能である。" #. type: Plain text -#: build/C/man3/memchr.3:128 +#: build/C/man3/memchr.3:136 msgid "" "The B() function is a GNU extension, available since glibc 2.1." msgstr "B() 関数は GNU 拡張であり、glibc 2.1 から使用可能である。" #. type: Plain text -#: build/C/man3/memchr.3:138 +#: build/C/man3/memchr.3:147 msgid "" "B(3), B(3), B(3), B(3), B(3), B" "(3), B(3), B(3), B(3), B(3)" @@ -902,36 +949,33 @@ msgstr "" "(3), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/memcmp.3:28 +#: build/C/man3/memcmp.3:30 #, no-wrap msgid "MEMCMP" msgstr "MEMCMP" #. type: TH -#: build/C/man3/memcmp.3:28 +#: build/C/man3/memcmp.3:30 build/C/man3/strcmp.3:32 #, no-wrap -msgid "2011-09-14" -msgstr "2011-09-14" +msgid "2012-11-25" +msgstr "2012-11-25" #. type: Plain text -#: build/C/man3/memcmp.3:31 +#: build/C/man3/memcmp.3:33 msgid "memcmp - compare memory areas" msgstr "memcmp - メモリ領域を比較する" #. type: Plain text -#: build/C/man3/memcmp.3:46 +#: build/C/man3/memcmp.3:45 msgid "" "The B() function compares the first I bytes (each interpreted as " -"I) of the memory areas I and I. It returns an " -"integer less than, equal to, or greater than zero if I is found, " -"respectively, to be less than, to match, or be greater than I." +"I) of the memory areas I and I." msgstr "" "B() 関数は、メモリ領域 I とI の最初の I バイトを比較する " -"(各バイトは I として解釈される)。 I が I より小さい" -"か、同じか、あるいは大きいかによって それぞれ、負の整数、0、正の整数を返す。" +"(各バイトは I として解釈される)。" #. type: Plain text -#: build/C/man3/memcmp.3:53 +#: build/C/man3/memcmp.3:52 msgid "" "The B() function returns an integer less than, equal to, or greater " "than zero if the first I bytes of I is found, respectively, to be " @@ -942,13 +986,23 @@ msgstr "" "整数を返す。" #. type: Plain text -#: build/C/man3/memcmp.3:55 build/C/man3/memcpy.3:52 build/C/man3/memmove.3:57 -#: build/C/man3/memset.3:49 +#: build/C/man3/memcmp.3:60 +msgid "" +"For a nonzero return value, the sign is determined by the sign of the " +"difference between the first pair of bytes (interpreted as I) that differ in I and I." +msgstr "" +"0 でない値の場合、 I と I で値が異なった最初のバイトの値の差で符号は" +"決定される (バイトは I で解釈される)。" + +#. type: Plain text +#: build/C/man3/memcmp.3:62 build/C/man3/memcpy.3:54 build/C/man3/memmove.3:64 +#: build/C/man3/memset.3:56 msgid "SVr4, 4.3BSD, C89, C99, POSIX.1-2001." msgstr "SVr4, 4.3BSD, C89, C99, POSIX.1-2001." #. type: Plain text -#: build/C/man3/memcmp.3:62 +#: build/C/man3/memcmp.3:70 msgid "" "B(3), B(3), B(3), B(3), B" "(3), B(3), B(3)" @@ -957,24 +1011,24 @@ msgstr "" "(3), B(3), B(3)" #. type: TH -#: build/C/man3/memcpy.3:28 +#: build/C/man3/memcpy.3:30 #, no-wrap msgid "MEMCPY" msgstr "MEMCPY" #. type: TH -#: build/C/man3/memcpy.3:28 +#: build/C/man3/memcpy.3:30 #, no-wrap msgid "2010-11-15" msgstr "2010-11-15" #. type: Plain text -#: build/C/man3/memcpy.3:31 +#: build/C/man3/memcpy.3:33 msgid "memcpy - copy memory area" msgstr "memcpy - メモリ領域をコピーする。" #. type: Plain text -#: build/C/man3/memcpy.3:46 +#: build/C/man3/memcpy.3:48 msgid "" "The B() function copies I bytes from memory area I to " "memory area I. The memory areas must not overlap. Use B(3) " @@ -985,12 +1039,12 @@ msgstr "" "合は B(3) を使うこと。" #. type: Plain text -#: build/C/man3/memcpy.3:50 +#: build/C/man3/memcpy.3:52 msgid "The B() function returns a pointer to I." msgstr "B() は I へのポインタを返す。" #. type: Plain text -#: build/C/man3/memcpy.3:59 +#: build/C/man3/memcpy.3:62 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3)" @@ -999,24 +1053,24 @@ msgstr "" "B(3), B(3)" #. type: TH -#: build/C/man3/memfrob.3:28 +#: build/C/man3/memfrob.3:30 #, no-wrap msgid "MEMFROB" msgstr "MEMFROB" #. type: TH -#: build/C/man3/memfrob.3:28 +#: build/C/man3/memfrob.3:30 #, no-wrap msgid "2010-09-10" msgstr "2010-09-10" #. type: Plain text -#: build/C/man3/memfrob.3:31 +#: build/C/man3/memfrob.3:33 msgid "memfrob - frobnicate (encrypt) a memory area" msgstr "memfrob - メモリエリアの操作 (暗号化)" #. type: Plain text -#: build/C/man3/memfrob.3:35 +#: build/C/man3/memfrob.3:37 #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" @@ -1026,7 +1080,7 @@ msgstr "" "B<#include Estring.hE>\n" #. type: Plain text -#: build/C/man3/memfrob.3:48 +#: build/C/man3/memfrob.3:50 msgid "" "The B() function encrypts the first I bytes of the memory area " "I by exclusive-ORing each character with the number 42. The effect can " @@ -1038,50 +1092,50 @@ msgstr "" "できる。" #. type: Plain text -#: build/C/man3/memfrob.3:51 +#: build/C/man3/memfrob.3:53 msgid "" "Note that this function is not a proper encryption routine as the XOR " -"constant is fixed, and is only suitable for hiding strings." +"constant is fixed, and is suitable only for hiding strings." msgstr "" "この関数は妥当な暗号化ルーチンであるとは言えないことに注意して欲しい。 XOR を" -"とる定数を固定しているので、せいぜい、文字列を隠す程度の用法にし か向いていな" +"とる定数を固定しているので、せいぜい、文字列を隠す程度の用途にしか向いていな" "い。" #. type: Plain text -#: build/C/man3/memfrob.3:56 +#: build/C/man3/memfrob.3:58 msgid "" "The B() function returns a pointer to the encrypted memory area." msgstr "B() 関数は、暗号化されたメモリエリアへのポインタを返す。" #. type: Plain text -#: build/C/man3/memfrob.3:61 +#: build/C/man3/memfrob.3:63 msgid "The B() function is unique to the GNU C Library." msgstr "B() 関数は GNU C ライブラリに固有である。" #. type: Plain text -#: build/C/man3/memfrob.3:62 +#: build/C/man3/memfrob.3:65 msgid "B(3)" msgstr "B(3)" #. type: TH -#: build/C/man3/memmem.3:28 +#: build/C/man3/memmem.3:30 #, no-wrap msgid "MEMMEM" msgstr "MEMMEM" #. type: TH -#: build/C/man3/memmem.3:28 +#: build/C/man3/memmem.3:30 #, no-wrap msgid "2008-12-05" msgstr "2008-12-05" #. type: Plain text -#: build/C/man3/memmem.3:31 +#: build/C/man3/memmem.3:33 msgid "memmem - locate a substring" msgstr "memmem - 部分文字列の位置を示す" #. type: Plain text -#: build/C/man3/memmem.3:35 build/C/man3/strchr.3:44 +#: build/C/man3/memmem.3:37 build/C/man3/strchr.3:46 #, no-wrap msgid "" "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" @@ -1091,7 +1145,7 @@ msgstr "" "B<#include Estring.hE>\n" #. type: Plain text -#: build/C/man3/memmem.3:38 +#: build/C/man3/memmem.3:40 #, no-wrap msgid "" "BIB<, size_t >IB<,>\n" @@ -1101,7 +1155,7 @@ msgstr "" "B< const void *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/memmem.3:45 +#: build/C/man3/memmem.3:54 msgid "" "The B() function finds the start of the first occurrence of the " "substring I of length I in the memory area I of " @@ -1112,7 +1166,7 @@ msgstr "" "つける。" #. type: Plain text -#: build/C/man3/memmem.3:50 +#: build/C/man3/memmem.3:59 msgid "" "The B() function returns a pointer to the beginning of the " "substring, or NULL if the substring is not found." @@ -1121,20 +1175,20 @@ msgstr "" "見つからない場合は NULL を返す。" #. type: Plain text -#: build/C/man3/memmem.3:52 build/C/man3/mempcpy.3:56 -#: build/C/man3/strverscmp.3:88 +#: build/C/man3/memmem.3:61 build/C/man3/mempcpy.3:62 +#: build/C/man3/strverscmp.3:92 msgid "This function is a GNU extension." msgstr "この関数は GNU による拡張である。" #. type: SH -#: build/C/man3/memmem.3:52 build/C/man3/stpcpy.3:71 build/C/man3/strcpy.3:124 -#: build/C/man3/strsep.3:77 build/C/man3/strstr.3:68 build/C/man3/strtok.3:118 +#: build/C/man3/memmem.3:61 build/C/man3/stpcpy.3:78 build/C/man3/strcpy.3:202 +#: build/C/man3/strsep.3:91 build/C/man3/strstr.3:72 build/C/man3/strtok.3:185 #, no-wrap msgid "BUGS" msgstr "バグ" #. type: Plain text -#: build/C/man3/memmem.3:57 +#: build/C/man3/memmem.3:71 msgid "" "This function was broken in Linux libraries up to and including libc 5.0.9; " "there the I and I arguments were interchanged, and a " @@ -1146,10 +1200,10 @@ msgstr "" "返されていたのである。" #. type: Plain text -#: build/C/man3/memmem.3:63 +#: build/C/man3/memmem.3:83 msgid "" "Both old and new libc's have the bug that if I is empty, " -"I (instead of I) is returned. And glibc 2.0 makes it " +"I (instead of I) is returned. And glibc 2.0 makes it " "worse, returning a pointer to the last byte of I. This is fixed " "in glibc 2.1." msgstr "" @@ -1159,29 +1213,29 @@ msgstr "" "glibc 2.1 で修正された。" #. type: Plain text -#: build/C/man3/memmem.3:64 +#: build/C/man3/memmem.3:85 msgid "B(3)" msgstr "B(3)" #. type: TH -#: build/C/man3/memmove.3:28 +#: build/C/man3/memmove.3:30 #, no-wrap msgid "MEMMOVE" msgstr "MEMMOVE" #. type: TH -#: build/C/man3/memmove.3:28 +#: build/C/man3/memmove.3:30 #, no-wrap msgid "1993-04-10" msgstr "1993-04-10" #. type: Plain text -#: build/C/man3/memmove.3:31 +#: build/C/man3/memmove.3:33 msgid "memmove - copy memory area" msgstr "memmove - メモリ領域をコピーする" #. type: Plain text -#: build/C/man3/memmove.3:51 +#: build/C/man3/memmove.3:57 msgid "" "The B() function copies I bytes from memory area I to " "memory area I. The memory areas may overlap: copying takes place as " @@ -1196,12 +1250,12 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man3/memmove.3:55 +#: build/C/man3/memmove.3:62 msgid "The B() function returns a pointer to I." msgstr "B() は I へのポインタを返す。" #. type: Plain text -#: build/C/man3/memmove.3:63 +#: build/C/man3/memmove.3:71 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3)" @@ -1210,50 +1264,50 @@ msgstr "" "B(3)" #. type: TH -#: build/C/man3/mempcpy.3:6 +#: build/C/man3/mempcpy.3:10 #, no-wrap msgid "MEMPCPY" msgstr "MEMPCPY" #. type: TH -#: build/C/man3/mempcpy.3:6 +#: build/C/man3/mempcpy.3:10 #, no-wrap msgid "2008-08-12" msgstr "2008-08-11" #. type: Plain text -#: build/C/man3/mempcpy.3:9 +#: build/C/man3/mempcpy.3:13 msgid "mempcpy, wmempcpy - copy memory area" msgstr "mempcpy, wmempcpy - メモリ領域をコピーする" #. type: Plain text -#: build/C/man3/mempcpy.3:12 build/C/man3/mempcpy.3:18 -#: build/C/man3/strfry.3:34 build/C/man3/strstr.3:41 -#: build/C/man3/strverscmp.3:29 +#: build/C/man3/mempcpy.3:16 build/C/man3/mempcpy.3:22 +#: build/C/man3/strfry.3:36 build/C/man3/strstr.3:43 +#: build/C/man3/strverscmp.3:31 #, no-wrap msgid "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n" msgstr "B<#define _GNU_SOURCE> /* feature_test_macros(7) 参照 */\n" #. type: Plain text -#: build/C/man3/mempcpy.3:16 +#: build/C/man3/mempcpy.3:20 #, no-wrap msgid "BIB<, const void *>IB<, size_t >IB<);>\n" msgstr "BIB<, const void *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/mempcpy.3:20 +#: build/C/man3/mempcpy.3:24 #, no-wrap msgid "B<#include Ewchar.hE>\n" msgstr "B<#include Ewchar.hE>\n" #. type: Plain text -#: build/C/man3/mempcpy.3:22 +#: build/C/man3/mempcpy.3:26 #, no-wrap msgid "BIB<, const wchar_t *>IB<, size_t >IB<);>\n" msgstr "BIB<, const wchar_t *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/mempcpy.3:38 +#: build/C/man3/mempcpy.3:42 msgid "" "The B() function is nearly identical to the B(3) " "function. It copies I bytes from the object beginning at I into the " @@ -1266,7 +1320,7 @@ msgstr "" "トの後に続くバイトへのポインタを返す。" #. type: Plain text -#: build/C/man3/mempcpy.3:41 +#: build/C/man3/mempcpy.3:45 msgid "" "This function is useful in situations where a number of objects shall be " "copied to consecutive memory positions." @@ -1275,7 +1329,7 @@ msgstr "" "況で役に立つ。" #. type: Plain text -#: build/C/man3/mempcpy.3:49 +#: build/C/man3/mempcpy.3:53 msgid "" "The B() function is identical but takes I type arguments " "and copies I wide characters." @@ -1284,24 +1338,24 @@ msgstr "" "I ワイド文字列をコピーする。" #. type: Plain text -#: build/C/man3/mempcpy.3:51 +#: build/C/man3/mempcpy.3:57 msgid "I + I." msgstr "I + I." #. type: Plain text -#: build/C/man3/mempcpy.3:54 +#: build/C/man3/mempcpy.3:60 msgid "B() first appeared in glibc in version 2.1." msgstr "B() は glibc バージョン 2.1 で初めて登場した。" #. type: SH -#: build/C/man3/mempcpy.3:56 build/C/man3/stpcpy.3:74 -#: build/C/man3/strtok.3:134 +#: build/C/man3/mempcpy.3:62 build/C/man3/stpcpy.3:81 +#: build/C/man3/strtok.3:201 #, no-wrap msgid "EXAMPLE" msgstr "例" #. type: Plain text -#: build/C/man3/mempcpy.3:66 +#: build/C/man3/mempcpy.3:72 #, no-wrap msgid "" "void *\n" @@ -1322,29 +1376,29 @@ msgstr "" " return result;\n" #. type: Plain text -#: build/C/man3/mempcpy.3:71 +#: build/C/man3/mempcpy.3:78 msgid "B(3), B(3), B(3), B(3)" msgstr "B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/memset.3:28 +#: build/C/man3/memset.3:30 #, no-wrap msgid "MEMSET" msgstr "MEMSET" #. type: TH -#: build/C/man3/memset.3:28 +#: build/C/man3/memset.3:30 #, no-wrap msgid "1993-04-11" msgstr "1993-04-11" #. type: Plain text -#: build/C/man3/memset.3:31 +#: build/C/man3/memset.3:33 msgid "memset - fill memory with a constant byte" msgstr "memset - ある一定のバイトでメモリ領域を埋める。" #. type: Plain text -#: build/C/man3/memset.3:42 +#: build/C/man3/memset.3:49 msgid "" "The B() function fills the first I bytes of the memory area " "pointed to by I with the constant byte I." @@ -1353,12 +1407,12 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man3/memset.3:47 +#: build/C/man3/memset.3:54 msgid "The B() function returns a pointer to the memory area I." msgstr "B() は I へのポインタを返す。" #. type: Plain text -#: build/C/man3/memset.3:52 +#: build/C/man3/memset.3:60 msgid "B(3), B(3), B(3)" msgstr "B(3), B(3), B(3)" @@ -1380,7 +1434,7 @@ msgid "stpcpy - copy a string returning a pointer to its end" msgstr "stpcpy - 文字列をコピーし、コピーした文字列の終りへのポインタを返す" #. type: Plain text -#: build/C/man3/stpcpy.3:33 build/C/man3/string.3:49 +#: build/C/man3/stpcpy.3:33 build/C/man3/string.3:51 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" @@ -1391,27 +1445,27 @@ msgid "B():" msgstr "B():" #. type: TP -#: build/C/man3/stpcpy.3:44 build/C/man3/stpncpy.3:31 build/C/man3/strdup.3:62 -#: build/C/man3/strnlen.3:30 build/C/man3/strsignal.3:49 +#: build/C/man3/stpcpy.3:44 build/C/man3/stpncpy.3:33 build/C/man3/strdup.3:64 +#: build/C/man3/strnlen.3:32 build/C/man3/strsignal.3:51 #, no-wrap msgid "Since glibc 2.10:" msgstr "glibc 2.10 以降:" #. type: Plain text -#: build/C/man3/stpcpy.3:47 build/C/man3/stpncpy.3:34 -#: build/C/man3/strnlen.3:33 build/C/man3/strsignal.3:52 +#: build/C/man3/stpcpy.3:47 build/C/man3/stpncpy.3:36 +#: build/C/man3/strnlen.3:35 build/C/man3/strsignal.3:54 msgid "_XOPEN_SOURCE\\ E=\\ 700 || _POSIX_C_SOURCE\\ E=\\ 200809L" msgstr "_XOPEN_SOURCE\\ E=\\ 700 || _POSIX_C_SOURCE\\ E=\\ 200809L" #. type: TP -#: build/C/man3/stpcpy.3:47 build/C/man3/stpncpy.3:34 build/C/man3/strdup.3:65 -#: build/C/man3/strnlen.3:33 build/C/man3/strsignal.3:52 +#: build/C/man3/stpcpy.3:47 build/C/man3/stpncpy.3:36 build/C/man3/strdup.3:67 +#: build/C/man3/strnlen.3:35 build/C/man3/strsignal.3:54 #, no-wrap msgid "Before glibc 2.10:" msgstr "glibc 2.10 より前:" #. type: Plain text -#: build/C/man3/stpcpy.3:61 +#: build/C/man3/stpcpy.3:63 msgid "" "The B() function copies the string pointed to by I (including " "the terminating null byte (\\(aq\\e0\\(aq)) to the array pointed to by " @@ -1424,7 +1478,7 @@ msgstr "" "てはならない。" #. type: Plain text -#: build/C/man3/stpcpy.3:66 +#: build/C/man3/stpcpy.3:71 msgid "" "B() returns a pointer to the B of the string I (that is, " "the address of the terminating null byte) rather than the beginning." @@ -1433,11 +1487,11 @@ msgstr "" "わち、文字列を終端する NULL バイト) を返す。" #. type: Plain text -#: build/C/man3/stpcpy.3:71 +#: build/C/man3/stpcpy.3:78 msgid "" -"This function was added to POSIX.1-2008. Before that, it was not part of the " -"C or POSIX.1 standards, nor customary on UNIX systems, but was not a GNU " -"invention either. Perhaps it came from MS-DOS. It is also present on the " +"This function was added to POSIX.1-2008. Before that, it was not part of " +"the C or POSIX.1 standards, nor customary on UNIX systems, but was not a GNU " +"invention either. Perhaps it came from MS-DOS. It is also present on the " "BSDs." msgstr "" "この関数は POSIX.1-2008 に追加された。 それ以前は、この関数は C や POSIX.1 標" @@ -1446,12 +1500,12 @@ msgstr "" "系にも存在する。" #. type: Plain text -#: build/C/man3/stpcpy.3:74 +#: build/C/man3/stpcpy.3:81 msgid "This function may overrun the buffer I." msgstr "この関数はバッファ I の範囲を行き過ぎてしまう可能性がある。" #. type: Plain text -#: build/C/man3/stpcpy.3:79 +#: build/C/man3/stpcpy.3:91 msgid "" "For example, this program uses B() to concatenate B and B " "to produce B, which it then prints." @@ -1460,7 +1514,7 @@ msgstr "" "に B() を使用し、その後表示する。" #. type: Plain text -#: build/C/man3/stpcpy.3:85 +#: build/C/man3/stpcpy.3:97 #, no-wrap msgid "" "#define _GNU_SOURCE\n" @@ -1472,7 +1526,7 @@ msgstr "" "#include Estdio.hE\n" #. type: Plain text -#: build/C/man3/stpcpy.3:91 +#: build/C/man3/stpcpy.3:103 #, no-wrap msgid "" "int\n" @@ -1488,7 +1542,7 @@ msgstr "" " char *to = buffer;\n" #. type: Plain text -#: build/C/man3/stpcpy.3:96 +#: build/C/man3/stpcpy.3:108 #, no-wrap msgid "" " to = stpcpy(to, \"foo\");\n" @@ -1502,7 +1556,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/stpcpy.3:106 +#: build/C/man3/stpcpy.3:119 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3)" @@ -1511,37 +1565,35 @@ msgstr "" "B(3), B(3), B(3)" #. type: TH -#: build/C/man3/stpncpy.3:12 +#: build/C/man3/stpncpy.3:14 #, no-wrap msgid "STPNCPY" msgstr "STPNCPY" #. type: TH -#: build/C/man3/stpncpy.3:12 build/C/man3/strcat.3:30 build/C/man3/strlen.3:28 -#: build/C/man3/strnlen.3:11 build/C/man3/strsep.3:31 build/C/man3/strstr.3:31 -#: build/C/man3/strxfrm.3:28 +#: build/C/man3/stpncpy.3:14 build/C/man3/strsep.3:33 build/C/man3/strstr.3:33 #, no-wrap msgid "2011-09-28" msgstr "2011-09-28" #. type: Plain text -#: build/C/man3/stpncpy.3:15 +#: build/C/man3/stpncpy.3:17 msgid "stpncpy - copy a fixed-size string, returning a pointer to its end" msgstr "stpncpy - 固定長の文字列をコピーして、その最後へのポインターを返す" #. type: Plain text -#: build/C/man3/stpncpy.3:20 +#: build/C/man3/stpncpy.3:22 #, no-wrap msgid "BIB<, const char *>IB<, size_t >IB<);>\n" msgstr "BIB<, const char *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/stpncpy.3:28 +#: build/C/man3/stpncpy.3:30 msgid "B():" msgstr "B():" #. type: Plain text -#: build/C/man3/stpncpy.3:54 +#: build/C/man3/stpncpy.3:74 msgid "" "The B() function copies at most I characters from the string " "pointed to by I, including the terminating null byte (\\(aq\\e0\\(aq), " @@ -1558,12 +1610,12 @@ msgstr "" "I が指す文字列は NULL で終端されていない。" #. type: Plain text -#: build/C/man3/stpncpy.3:56 +#: build/C/man3/stpncpy.3:76 msgid "The strings may not overlap." msgstr "二つの文字列は重なってはならない。" #. type: Plain text -#: build/C/man3/stpncpy.3:59 +#: build/C/man3/stpncpy.3:82 msgid "" "The programmer must ensure that there is room for at least I characters " "at I." @@ -1572,7 +1624,7 @@ msgstr "" "ればならない。" #. type: Plain text -#: build/C/man3/stpncpy.3:64 +#: build/C/man3/stpncpy.3:91 msgid "" "B() returns a pointer to the terminating null byte in I, or, " "if I is not null-terminated, I." @@ -1581,42 +1633,51 @@ msgstr "" "I が NULL バイトで終端されていない場合には I を返す。" #. type: Plain text -#: build/C/man3/stpncpy.3:66 +#: build/C/man3/stpncpy.3:94 msgid "" -"This function was added to POSIX.1-2008. Before that, it was a GNU extension." +"This function was added to POSIX.1-2008. Before that, it was a GNU " +"extension." msgstr "" "この関数は POSIX.1-2008 に追加された。 それ以前は GNU による拡張であった。" #. type: Plain text -#: build/C/man3/stpncpy.3:68 +#: build/C/man3/stpncpy.3:97 msgid "B(3), B(3)" msgstr "B(3), B(3)" #. type: TH -#: build/C/man3/strcasecmp.3:28 +#: build/C/man3/strcasecmp.3:30 #, no-wrap msgid "STRCASECMP" msgstr "STRCASECMP" +#. type: TH +#: build/C/man3/strcasecmp.3:30 build/C/man3/strnlen.3:13 +#: build/C/man3/strpbrk.3:30 build/C/man3/strspn.3:30 +#: build/C/man3/strxfrm.3:30 +#, no-wrap +msgid "2012-05-10" +msgstr "2012-05-10" + #. type: Plain text -#: build/C/man3/strcasecmp.3:31 +#: build/C/man3/strcasecmp.3:33 msgid "strcasecmp, strncasecmp - compare two strings ignoring case" msgstr "strcasecmp, strncasecmp - 二つの文字列を大文字小文字を区別せず比較する" #. type: Plain text -#: build/C/man3/strcasecmp.3:36 build/C/man3/string.3:39 +#: build/C/man3/strcasecmp.3:38 build/C/man3/string.3:41 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/strcasecmp.3:38 build/C/man3/string.3:41 +#: build/C/man3/strcasecmp.3:40 build/C/man3/string.3:43 #, no-wrap msgid "BIB<, const char *>IB<, size_t >IB<);>\n" msgstr "BIB<, const char *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/strcasecmp.3:47 +#: build/C/man3/strcasecmp.3:55 msgid "" "The B() function compares the two strings I and I, " "ignoring the case of the characters. It returns an integer less than, equal " @@ -1628,16 +1689,16 @@ msgstr "" "ぞれ 負の整数、0、正の整数を返す。" #. type: Plain text -#: build/C/man3/strcasecmp.3:52 +#: build/C/man3/strcasecmp.3:63 msgid "" -"The B() function is similar, except it only compares the first " -"I characters of I." +"The B() function is similar, except it compares the only first " +"I bytes of I." msgstr "" -"B() 関数も同様であるが、 I の最初の I 文字だけを比較する" -"点だけが異なる。" +"B() 関数も同様であるが、 I の最初の I バイトだけを\n" +"比較する点だけが異なる。" #. type: Plain text -#: build/C/man3/strcasecmp.3:61 +#: build/C/man3/strcasecmp.3:76 msgid "" "The B() and B() functions return an integer less " "than, equal to, or greater than zero if I (or the first I bytes " @@ -1649,12 +1710,12 @@ msgstr "" "0、正の整数を返す。" #. type: Plain text -#: build/C/man3/strcasecmp.3:63 +#: build/C/man3/strcasecmp.3:78 msgid "4.4BSD, POSIX.1-2001." msgstr "4.4BSD, POSIX.1-2001." #. type: Plain text -#: build/C/man3/strcasecmp.3:71 +#: build/C/man3/strcasecmp.3:87 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3)" @@ -1663,71 +1724,81 @@ msgstr "" "B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strcat.3:30 +#: build/C/man3/strcat.3:32 #, no-wrap msgid "STRCAT" msgstr "STRCAT" +#. type: TH +#: build/C/man3/strcat.3:32 build/C/man3/strcpy.3:35 +#, no-wrap +msgid "2012-07-19" +msgstr "2012-07-19" + #. type: Plain text -#: build/C/man3/strcat.3:33 +#: build/C/man3/strcat.3:35 msgid "strcat, strncat - concatenate two strings" msgstr "strcat, strncat - 二つの文字列を連結する" #. type: Plain text -#: build/C/man3/strcat.3:38 build/C/man3/string.3:51 +#: build/C/man3/strcat.3:40 build/C/man3/string.3:53 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/strcat.3:40 build/C/man3/string.3:69 +#: build/C/man3/strcat.3:42 build/C/man3/string.3:71 #, no-wrap msgid "BIB<, const char *>IB<, size_t >IB<);>\n" msgstr "BIB<, const char *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/strcat.3:50 +#: build/C/man3/strcat.3:62 msgid "" "The B() function appends the I string to the I string, " "overwriting the terminating null byte (\\(aq\\e0\\(aq) at the end of " "I, and then adds a terminating null byte. The strings may not " -"overlap, and the I string must have enough space for the result." +"overlap, and the I string must have enough space for the result. If " +"I is not large enough, program behavior is unpredictable; I." msgstr "" "B() 関数は、I 文字列の後に I 文字列を付け加える。 その際" "に、I の最後にある終端の NULL バイト (\\(aq\\e0\\(aq) は上書きされ、新" "たに生成された文字列の末尾に終端の NULL バイトが付与される。 二つの文字列 " "I と I は重なってはならない。 また、文字列 I は、連結後の結" -"果を格納するのに 十分な大きさでなければならない。" +"果を格納するのに 十分な大きさでなければならない。 I が十分な大きさでな" +"い場合、プログラムがどのような動作をするか分からない。 バッファオーバーランは" +"セキュアなプログラムを攻撃する際に好んで使われる方法である。" #. type: Plain text -#: build/C/man3/strcat.3:54 +#: build/C/man3/strcat.3:66 msgid "The B() function is similar, except that" msgstr "B() も同様だが、以下の点が異なる。" #. type: IP -#: build/C/man3/strcat.3:54 build/C/man3/strcat.3:56 build/C/man3/strsep.3:80 -#: build/C/man3/strsep.3:82 build/C/man3/strsep.3:84 build/C/man3/strtok.3:121 -#: build/C/man3/strtok.3:123 build/C/man3/strtok.3:125 -#: build/C/man3/strtok.3:127 +#: build/C/man3/strcat.3:66 build/C/man3/strcat.3:72 build/C/man3/strsep.3:94 +#: build/C/man3/strsep.3:96 build/C/man3/strsep.3:98 build/C/man3/strtok.3:188 +#: build/C/man3/strtok.3:190 build/C/man3/strtok.3:192 +#: build/C/man3/strtok.3:194 #, no-wrap msgid "*" msgstr "*" #. type: Plain text -#: build/C/man3/strcat.3:56 -msgid "it will use at most I characters from I; and" -msgstr "I のうち最大 I 文字が使用される。" +#: build/C/man3/strcat.3:72 +msgid "it will use at most I bytes from I; and" +msgstr "I のうち最大 I バイトが使用される。" #. type: Plain text -#: build/C/man3/strcat.3:59 +#: build/C/man3/strcat.3:77 msgid "" -"I does not need to be null-terminated if it contains I or more " -"characters." +"I does not need to be null-terminated if it contains I or more bytes." msgstr "" -"I が I 文字以上の場合、 I は NULL 終端されている必要はない。" +"I が I バイト以上の場合、 \n" +"I は NULL 終端されている必要はない。" #. type: Plain text -#: build/C/man3/strcat.3:63 +#: build/C/man3/strcat.3:83 msgid "" "As with B(), the resulting string in I is always null-" "terminated." @@ -1736,23 +1807,24 @@ msgstr "" "る。" #. type: Plain text -#: build/C/man3/strcat.3:70 +#: build/C/man3/strcat.3:102 msgid "" -"If I contains I or more characters, B() writes I " -"characters to I (I from I plus the terminating null byte). " -"Therefore, the size of I must be at least I." +"If I contains I or more bytes, B() writes I bytes to " +"I (I from I plus the terminating null byte). Therefore, the " +"size of I must be at least I." msgstr "" -"I が I 文字以上の場合、 B() は I に I 文字を書き" -"込む (I からの I 文字と終端の NULL バイトである)。 したがって、" -"I の大きさは最低でも I でなければならない。" +"I が I バイト以上の場合、 B() は I に I \n" +"バイトを書き込む (I からの I バイトと終端の NULL バイトである)。\n" +"したがって、I の大きさは最低でも I でなければ\n" +"ならない。" #. type: Plain text -#: build/C/man3/strcat.3:74 +#: build/C/man3/strcat.3:106 msgid "A simple implementation of B() might be:" msgstr "B() の簡単な実装は以下のような感じであろう:" #. type: Plain text -#: build/C/man3/strcat.3:82 +#: build/C/man3/strcat.3:114 #, no-wrap msgid "" "char*\n" @@ -1768,7 +1840,7 @@ msgstr "" " size_t i;\n" #. type: Plain text -#: build/C/man3/strcat.3:86 +#: build/C/man3/strcat.3:118 #, no-wrap msgid "" " for (i = 0 ; i E n && src[i] != \\(aq\\e0\\(aq ; i++)\n" @@ -1780,7 +1852,7 @@ msgstr "" " dest[dest_len + i] = \\(aq\\e0\\(aq;\n" #. type: Plain text -#: build/C/man3/strcat.3:89 build/C/man3/strcpy.3:89 +#: build/C/man3/strcat.3:121 build/C/man3/strcpy.3:106 #, no-wrap msgid "" " return dest;\n" @@ -1790,7 +1862,7 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/strcat.3:97 +#: build/C/man3/strcat.3:130 msgid "" "The B() and B() functions return a pointer to the " "resulting string I." @@ -1799,15 +1871,56 @@ msgstr "" "ポインタを返す。" #. type: Plain text -#: build/C/man3/strcat.3:99 build/C/man3/strcmp.3:65 build/C/man3/strcoll.3:58 -#: build/C/man3/strcpy.3:100 build/C/man3/strlen.3:48 -#: build/C/man3/strpbrk.3:50 build/C/man3/strspn.3:65 -#: build/C/man3/strxfrm.3:64 +#: build/C/man3/strcat.3:132 build/C/man3/strcmp.3:81 +#: build/C/man3/strcoll.3:71 build/C/man3/strcpy.3:118 +#: build/C/man3/strlen.3:52 build/C/man3/strpbrk.3:58 build/C/man3/strspn.3:76 +#: build/C/man3/strxfrm.3:78 msgid "SVr4, 4.3BSD, C89, C99." msgstr "SVr4, 4.3BSD, C89, C99." #. type: Plain text -#: build/C/man3/strcat.3:107 +#: build/C/man3/strcat.3:134 build/C/man3/strcpy.3:165 +msgid "" +"Some systems (the BSDs, Solaris, and others) provide the following function:" +msgstr "" +"いくつかのシステム (BSD、Solaris など) では以下の関数が提供されている。" + +#. type: Plain text +#: build/C/man3/strcat.3:136 +#, no-wrap +msgid " size_t strlcat(char *dest, const char *src, size_t size);\n" +msgstr " size_t strlcat(char *dest, const char *src, size_t size);\n" + +#. https://lwn.net/Articles/506530/ +#. type: Plain text +#: build/C/man3/strcat.3:169 +msgid "" +"This function appends the null-terminated string I to the string " +"I, copying at most I from I, and adds a null " +"terminator to the result, I I is less than I. " +"This function fixes the buffer overrun problem of B(), but the " +"caller must still handle the possibility of data loss if I is too " +"small. The function returns the length of the string B() tried to " +"create; if the return value is greater than or equal to I, data loss " +"occurred. If data loss matters, the caller I either check the " +"arguments before the call, or test the function return value. B() " +"is not present in glibc and is not standardized by POSIX, but is available " +"on Linux via the I library." +msgstr "" +"この関数は、 NULL 終端された文字列 I を文字列 I に追加する。 具体" +"例には、 I が I より大きい場合には最大で I バイトを I からコピーし、 結果の末尾に終端の NULL バイトを追加" +"する。 この関数では B() のバッファオーバーランが発生するという問題が" +"修正されているが、 I が小さすぎた場合にはデータが失われる問題には、 依" +"然として呼び出し側で対処する必要がある。 この関数は B() が作成しよう" +"とした文字列の長さを返す。 返り値が I 以上の場合、 データロスが発生して" +"いる。 データロスが問題となる場合は、 呼び出し側で、 呼び出し前に引き数を" +"チェックするか、 この関数の返り値を検査するかのいずれかをしなければならな" +"い。 B() は glibc には存在せず、 POSIX による標準化もされていない" +"が、 Linux では I ライブラリ経由で利用できる。" + +#. type: Plain text +#: build/C/man3/strcat.3:178 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3)" @@ -1816,36 +1929,42 @@ msgstr "" "B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strchr.3:31 +#: build/C/man3/strchr.3:33 #, no-wrap msgid "STRCHR" msgstr "STRCHR" +#. type: TH +#: build/C/man3/strchr.3:33 +#, no-wrap +msgid "2012-04-24" +msgstr "2012-04-24" + #. type: Plain text -#: build/C/man3/strchr.3:34 +#: build/C/man3/strchr.3:36 msgid "strchr, strrchr, strchrnul - locate character in string" msgstr "strchr, strrchr, strchrnul - 文字列中の文字の位置を特定する" #. type: Plain text -#: build/C/man3/strchr.3:39 build/C/man3/string.3:53 +#: build/C/man3/strchr.3:41 build/C/man3/string.3:55 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/strchr.3:41 build/C/man3/string.3:77 +#: build/C/man3/strchr.3:43 build/C/man3/string.3:79 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/strchr.3:46 +#: build/C/man3/strchr.3:48 #, no-wrap msgid "BIB<, int >IB<);>\n" msgstr "BIB<, int >IB<);>\n" #. type: Plain text -#: build/C/man3/strchr.3:52 +#: build/C/man3/strchr.3:57 msgid "" "The B() function returns a pointer to the first occurrence of the " "character I in the string I." @@ -1854,7 +1973,7 @@ msgstr "" "を返す。" #. type: Plain text -#: build/C/man3/strchr.3:57 +#: build/C/man3/strchr.3:65 msgid "" "The B() function returns a pointer to the last occurrence of the " "character I in the string I." @@ -1863,7 +1982,7 @@ msgstr "" "タを返す。" #. type: Plain text -#: build/C/man3/strchr.3:65 +#: build/C/man3/strchr.3:78 msgid "" "The B() function is like B() except that if I is not " "found in I, then it returns a pointer to the null byte at the end of " @@ -1874,7 +1993,7 @@ msgstr "" "返す点が異なる。" #. type: Plain text -#: build/C/man3/strchr.3:68 +#: build/C/man3/strchr.3:81 msgid "" "Here \"character\" means \"byte\"; these functions do not work with wide or " "multibyte characters." @@ -1883,16 +2002,20 @@ msgstr "" "バイト文字では動作しない。" #. type: Plain text -#: build/C/man3/strchr.3:75 +#: build/C/man3/strchr.3:93 msgid "" "The B() and B() functions return a pointer to the matched " -"character or NULL if the character is not found." +"character or NULL if the character is not found. The terminating null byte " +"is considered part of the string, so that if I is specified as \\(aq" +"\\e0\\(aq, these functions return a pointer to the terminator." msgstr "" -"B() と B() 関数は一致した文字へのポインタを 返し、もし文字" -"が見つからない場合は NULL を返す。" +"B() と B() 関数は一致した文字へのポインタを返し、もし\n" +"文字が見つからない場合は NULL を返す。終端の NULL バイトは文字列の一部と\n" +"みなされ、I に \\(aq\\e0\\(aq が指定された場合には、これらの関数は\n" +"終端の NULL バイトへのポインタを返す。" #. type: Plain text -#: build/C/man3/strchr.3:83 +#: build/C/man3/strchr.3:104 msgid "" "The B() function returns a pointer to the matched character, or " "a pointer to the null byte at the end of I (i.e., I) if the " @@ -1902,12 +2025,12 @@ msgstr "" "は、I の末尾のヌルバイトへの ポインタ (つまり I) を返す。" #. type: Plain text -#: build/C/man3/strchr.3:86 +#: build/C/man3/strchr.3:107 msgid "B() first appeared in glibc in version 2.1.1." msgstr "B() は glibc バージョン 2.1.1 で初めて登場した。" #. type: Plain text -#: build/C/man3/strchr.3:93 +#: build/C/man3/strchr.3:114 msgid "" "B() and B() are in SVr4, 4.3BSD, C89, C99. B" "() is a GNU extension." @@ -1916,7 +2039,7 @@ msgstr "" "B() は GNU 拡張である。" #. type: Plain text -#: build/C/man3/strchr.3:105 +#: build/C/man3/strchr.3:127 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(3), " @@ -1927,30 +2050,30 @@ msgstr "" "B(3), B(3)" #. type: TH -#: build/C/man3/strcmp.3:30 +#: build/C/man3/strcmp.3:32 #, no-wrap msgid "STRCMP" msgstr "STRCMP" #. type: Plain text -#: build/C/man3/strcmp.3:33 +#: build/C/man3/strcmp.3:35 msgid "strcmp, strncmp - compare two strings" msgstr "strcmp, strncmp - 二つの文字列を比べる" #. type: Plain text -#: build/C/man3/strcmp.3:38 build/C/man3/string.3:55 +#: build/C/man3/strcmp.3:40 build/C/man3/string.3:57 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/strcmp.3:40 build/C/man3/string.3:71 +#: build/C/man3/strcmp.3:42 build/C/man3/string.3:73 #, no-wrap msgid "BIB<, const char *>IB<, size_t >IB<);>\n" msgstr "BIB<, const char *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/strcmp.3:49 +#: build/C/man3/strcmp.3:56 msgid "" "The B() function compares the two strings I and I. It " "returns an integer less than, equal to, or greater than zero if I is " @@ -1961,16 +2084,16 @@ msgstr "" "2)等しい、3)大きい整数を返す。" #. type: Plain text -#: build/C/man3/strcmp.3:54 +#: build/C/man3/strcmp.3:66 msgid "" -"The B() function is similar, except it only compares the first (at " -"most) I characters of I and I." +"The B() function is similar, except it compares the only first (at " +"most) I bytes of I and I." msgstr "" -"B() 関数は、I と I の最初の I 文字だけを比較することを除" -"けば、strcmp()と同様である。" +"B() 関数は、I と I の最初の I バイトだけを比較する\n" +"ことを除けば、strcmp()と同様である。" #. type: Plain text -#: build/C/man3/strcmp.3:63 +#: build/C/man3/strcmp.3:79 msgid "" "The B() and B() functions return an integer less than, " "equal to, or greater than zero if I (or the first I bytes thereof) is " @@ -1982,7 +2105,7 @@ msgstr "" "対応している。" #. type: Plain text -#: build/C/man3/strcmp.3:74 +#: build/C/man3/strcmp.3:91 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3)" @@ -1991,24 +2114,24 @@ msgstr "" "B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strcoll.3:28 +#: build/C/man3/strcoll.3:30 #, no-wrap msgid "STRCOLL" msgstr "STRCOLL" #. type: Plain text -#: build/C/man3/strcoll.3:31 +#: build/C/man3/strcoll.3:33 msgid "strcoll - compare two strings using the current locale" msgstr "strcoll - 現在のロケールを使用して二つの文字列を比較する" #. type: Plain text -#: build/C/man3/strcoll.3:36 build/C/man3/string.3:57 +#: build/C/man3/strcoll.3:38 build/C/man3/string.3:59 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/strcoll.3:49 +#: build/C/man3/strcoll.3:58 msgid "" "The B() function compares the two strings I and I. It " "returns an integer less than, equal to, or greater than zero if I is " @@ -2022,7 +2145,7 @@ msgstr "" "リに応じて 解釈された文字列に基づいて行われる (B(3) 参照)。" #. type: Plain text -#: build/C/man3/strcoll.3:56 +#: build/C/man3/strcoll.3:69 msgid "" "The B() function returns an integer less than, equal to, or " "greater than zero if I is found, respectively, to be less than, to " @@ -2034,16 +2157,19 @@ msgstr "" "に応じて解釈されたものが使用される。" #. type: Plain text -#: build/C/man3/strcoll.3:63 +#: build/C/man3/strcoll.3:80 +#, fuzzy +#| msgid "" +#| "In the I or I<\\&\\& C\"> locales B() is equivalent to " +#| "B(3)." msgid "" -"In the I<\"POSIX\"> or I<\"C\"> locales B() is equivalent to " -"B(3)." +"In the I or I locales B() is equivalent to B(3)." msgstr "" -"I<\"POSIX\"> および I<\"C\"> ロケールにおいては、 B() は B" +"I および I<\\&\\& C\"> ロケールにおいては、 B() は B" "(3) と等価である。" #. type: Plain text -#: build/C/man3/strcoll.3:70 +#: build/C/man3/strcoll.3:88 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3)" @@ -2052,43 +2178,44 @@ msgstr "" "B(3), B(3)" #. type: TH -#: build/C/man3/strcpy.3:33 +#: build/C/man3/strcpy.3:35 #, no-wrap msgid "STRCPY" msgstr "STRCPY" #. type: Plain text -#: build/C/man3/strcpy.3:36 +#: build/C/man3/strcpy.3:38 msgid "strcpy, strncpy - copy a string" msgstr "strcpy, strncpy - 文字列をコピーする" #. type: Plain text -#: build/C/man3/strcpy.3:41 build/C/man3/string.3:59 +#: build/C/man3/strcpy.3:43 build/C/man3/string.3:61 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/strcpy.3:43 build/C/man3/string.3:73 +#: build/C/man3/strcpy.3:45 build/C/man3/string.3:75 #, no-wrap msgid "BIB<, const char *>IB<, size_t >IB<);>\n" msgstr "BIB<, const char *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/strcpy.3:52 +#: build/C/man3/strcpy.3:59 msgid "" "The B() function copies the string pointed to by I, including " "the terminating null byte (\\(aq\\e0\\(aq), to the buffer pointed to by " "I. The strings may not overlap, and the destination string I " -"must be large enough to receive the copy." +"must be large enough to receive the copy. I " +"(See BUGS.)" msgstr "" "B() 関数は I が指す文字列を末尾のヌルバイト (\\(aq\\e0\\(aq) も" "含めて I が指すバッファにコピーする。 二つの文字列は重なってはならな" "い。受け側の文字列 I は コピーを受け取るのに十分な大きさでなければなら" -"ない。" +"ない。 I<バッファオーバーランに気を付けること!> (「バグ」の節を参照)" #. type: Plain text -#: build/C/man3/strcpy.3:61 +#: build/C/man3/strcpy.3:76 msgid "" "The B() function is similar, except that at most I bytes of " "I are copied. B: If there is no null byte among the first " @@ -2100,21 +2227,21 @@ msgstr "" "場合、 I に格納される文字列はヌルで終端されないことになる。" #. type: Plain text -#: build/C/man3/strcpy.3:70 +#: build/C/man3/strcpy.3:87 msgid "" -"If the length of I is less than I, B() pads the remainder " -"of I with null bytes." +"If the length of I is less than I, B() writes additional " +"null bytes to I to ensure that a total of I bytes are written." msgstr "" -"I の長さが I よりも短い場合、 B() は I の残りをヌルバ" -"イトで埋める。" +"I の長さが I よりも短い場合、 B() は I に追加のヌルバ" +"イトを書き込み、全部で I バイトが書き込まれるようにする。" #. type: Plain text -#: build/C/man3/strcpy.3:74 +#: build/C/man3/strcpy.3:91 msgid "A simple implementation of B() might be:" msgstr "B() の簡単な実装は以下のような感じであろう:" #. type: Plain text -#: build/C/man3/strcpy.3:81 +#: build/C/man3/strcpy.3:98 #, no-wrap msgid "" "char *\n" @@ -2128,7 +2255,7 @@ msgstr "" " size_t i;\n" #. type: Plain text -#: build/C/man3/strcpy.3:86 +#: build/C/man3/strcpy.3:103 #, no-wrap msgid "" " for (i = 0; i E n && src[i] != \\(aq\\e0\\(aq; i++)\n" @@ -2142,7 +2269,7 @@ msgstr "" " dest[i] = \\(aq\\e0\\(aq;\n" #. type: Plain text -#: build/C/man3/strcpy.3:98 +#: build/C/man3/strcpy.3:116 msgid "" "The B() and B() functions return a pointer to the " "destination string I." @@ -2151,7 +2278,7 @@ msgstr "" "返す。" #. type: Plain text -#: build/C/man3/strcpy.3:109 +#: build/C/man3/strcpy.3:131 msgid "" "Some programmers consider B() to be inefficient and error prone. " "If the programmer knows (i.e., includes code to test!) that the size of " @@ -2163,18 +2290,33 @@ msgstr "" "を使うことができる。" #. type: Plain text -#: build/C/man3/strcpy.3:116 +#: build/C/man3/strcpy.3:140 msgid "" -"If there is no terminating null byte in the first I characters of I, " -"B() produces an unterminated string in I. Programmers often " -"prevent this mistake by forcing termination as follows:" +"One valid (and intended) use of B() is to copy a C string to a " +"fixed-length buffer while ensuring both that the buffer is not overflowed " +"and that unused bytes in the target buffer are zeroed out (perhaps to " +"prevent information leaks if the buffer is to be written to media or " +"transmitted to another process via an interprocess communication technique)." msgstr "" -"I の最初の I 文字に終端のヌルバイトがない場合、 B() は " -"I に終端されていない文字列を生成する。 プログラマは間違いを防止するため" -"に、 以下のように強制的に終端を行うことがよくある。" +"B() の正しい (かつ意図された) 用途は、 C 文字列の固定長バッファへの" +"コピーを、 バッファがオーバーフローしないことと、 宛先バッファの未使用バイト" +"が 0 で埋められることの両方を保証しつつ行うことである。 (宛先バッファを 0 で" +"埋めるのは、 たいていの場合、 バッファを媒体に書き込んだり、別のプロセスにプ" +"ロセス間通信を用いて送信したりした場合に情報洩れを防ぐためである)。" #. type: Plain text -#: build/C/man3/strcpy.3:122 +#: build/C/man3/strcpy.3:149 +msgid "" +"If there is no terminating null byte in the first I bytes of I, " +"B() produces an unterminated string in I. You can force " +"termination using something like the following:" +msgstr "" +"I の最初の I バイトに終端のヌルバイトがない場合、 B()\n" +"は I に終端されていない文字列を生成する。以下のようにして\n" +"強制的に終端することができる。" + +#. type: Plain text +#: build/C/man3/strcpy.3:155 #, no-wrap msgid "" "strncpy(buf, str, n);\n" @@ -2186,7 +2328,53 @@ msgstr "" " buf[n - 1]= \\(aq\\e0\\(aq;\n" #. type: Plain text -#: build/C/man3/strcpy.3:135 +#: build/C/man3/strcpy.3:163 +msgid "" +"(Of course, the above technique ignores the fact that information contained " +"in I is lost in the copying to I.)" +msgstr "" +"(もちろん、上記の方法では、 I に入っている情報が I へのコピー時に" +"失われるという事実は無視している。)" + +#. type: Plain text +#: build/C/man3/strcpy.3:167 +#, no-wrap +msgid " size_t strlcpy(char *dest, const char *src, size_t size);\n" +msgstr " size_t strlcpy(char *dest, const char *src, size_t size);\n" + +#. http://static.usenix.org/event/usenix99/full_papers/millert/millert_html/index.html +#. "strlcpy and strlcat - consistent, safe, string copy and concatenation" +#. 1999 USENIX Annual Technical Conference +#. https://lwn.net/Articles/506530/ +#. type: Plain text +#: build/C/man3/strcpy.3:202 +msgid "" +"This function is similar to B(), but it copies at most I " +"bytes to I, always adds a terminating null byte, and does not pad the " +"target with (further) null bytes. This function fixes some of the problems " +"of B() and B(), but the caller must still handle the " +"possibility of data loss if I is too small. The return value of the " +"function is the length of I, which allows truncation to be easily " +"detected: if the return value is greater than or equal to I, " +"truncation occurred. If loss of data matters, the caller I either " +"check the arguments before the call, or test the function return value. " +"B() is not present in glibc and is not standardized by POSIX, but " +"is available on Linux via the I library." +msgstr "" +"この関数は B() と同様だが、 最大でも I バイトしか I に" +"コピーをせず、 末尾への終端の NULL バイトの追加が必ず行われ、 宛先バッファ " +"(の未使用部分) への NULL バイトの書き込みが行われない。 この関数では " +"B() や B() の持つ問題のいくつかが修正されているが、 I " +"が小さすぎた場合にはデータが失われる問題には、 依然として呼び出し側で対処する" +"必要がある。 この関数の返り値は I の長さである。 これにより、 末尾の切り" +"詰めが行われたかを簡単に検出することができる。 返り値が I 以上の場合に" +"は、 末尾の切り詰めが発生している。 データロスが問題となる場合は、 呼び出し側" +"で、 呼び出し前に引き数をチェックするか、 この関数の返り値を検査するかのいず" +"れかをしなければならない。 B() は glibc には存在せず、 POSIX による" +"標準化もされていないが、 Linux では I ライブラリ経由で利用できる。" + +#. type: Plain text +#: build/C/man3/strcpy.3:213 msgid "" "If the destination string of a B() is not large enough, then " "anything might happen. Overflowing fixed-length string buffers is a " @@ -2205,7 +2393,7 @@ msgstr "" "が可能になるような方法でプログラムが 変更されることもあるからだ。" #. type: Plain text -#: build/C/man3/strcpy.3:145 +#: build/C/man3/strcpy.3:224 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(3)" @@ -2214,53 +2402,53 @@ msgstr "" "B(3), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strdup.3:29 +#: build/C/man3/strdup.3:31 #, no-wrap msgid "STRDUP" msgstr "STRDUP" #. type: TH -#: build/C/man3/strdup.3:29 +#: build/C/man3/strdup.3:31 #, no-wrap -msgid "2011-10-01" -msgstr "2011-10-01" +msgid "2013-04-19" +msgstr "2013-04-19" #. type: Plain text -#: build/C/man3/strdup.3:32 +#: build/C/man3/strdup.3:34 msgid "strdup, strndup, strdupa, strndupa - duplicate a string" msgstr "strdup, strndup, strdupa, strndupa - 文字列を複製する" #. type: Plain text -#: build/C/man3/strdup.3:37 build/C/man3/string.3:63 +#: build/C/man3/strdup.3:39 build/C/man3/string.3:65 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/strdup.3:39 +#: build/C/man3/strdup.3:41 #, no-wrap msgid "BIB<, size_t >IB<);>\n" msgstr "BIB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/strdup.3:41 +#: build/C/man3/strdup.3:43 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/strdup.3:43 +#: build/C/man3/strdup.3:45 #, no-wrap msgid "BIB<, size_t >IB<);>\n" msgstr "BIB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/strdup.3:53 +#: build/C/man3/strdup.3:55 msgid "B():" msgstr "B():" #. type: Plain text -#: build/C/man3/strdup.3:56 +#: build/C/man3/strdup.3:58 msgid "" "_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\\ E=\\ 500 || _XOPEN_SOURCE" "\\ &&\\ _XOPEN_SOURCE_EXTENDED" @@ -2269,27 +2457,27 @@ msgstr "" "\\ &&\\ _XOPEN_SOURCE_EXTENDED" #. type: Plain text -#: build/C/man3/strdup.3:58 +#: build/C/man3/strdup.3:60 msgid "|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\\ E=\\ 200809L" msgstr "|| /* Since glibc 2.12: */ _POSIX_C_SOURCE\\ E=\\ 200809L" #. type: Plain text -#: build/C/man3/strdup.3:61 +#: build/C/man3/strdup.3:63 msgid "B():" msgstr "B():" #. type: Plain text -#: build/C/man3/strdup.3:65 +#: build/C/man3/strdup.3:67 msgid "POSIX_C_SOURCE\\ E=\\ 200809L || _XOPEN_SOURCE\\ E=\\ 700" msgstr "POSIX_C_SOURCE\\ E=\\ 200809L || _XOPEN_SOURCE\\ E=\\ 700" #. type: Plain text -#: build/C/man3/strdup.3:73 +#: build/C/man3/strdup.3:75 msgid "B(), B(): _GNU_SOURCE" msgstr "B(), B(): _GNU_SOURCE" #. type: Plain text -#: build/C/man3/strdup.3:85 +#: build/C/man3/strdup.3:88 msgid "" "The B() function returns a pointer to a new string which is a " "duplicate of the string I. Memory for the new string is obtained with " @@ -2300,56 +2488,59 @@ msgstr "" "(3) で解放することができる。" #. type: Plain text -#: build/C/man3/strdup.3:92 +#: build/C/man3/strdup.3:101 msgid "" -"The B() function is similar, but only copies at most I " -"characters. If I is longer than I, only I characters are copied, " -"and a terminating null byte (\\(aq\\e0\\(aq) is added." +"The B() function is similar, but copies at most I bytes. If " +"I is longer than I, only I bytes are copied, and a terminating null " +"byte (\\(aq\\e0\\(aq) is added." msgstr "" -"B() 関数は同様であるが、最大で I 文字だけを複製する。 I が " -"I よりも長い場合、I 文字だけが複製され、 終端の NULL バイト (\\(aq" -"\\e0\\(aq)) が追加される。" +"B() 関数は同様であるが、最大で I バイトを複製する。\n" +"I が I よりも長い場合、I バイトだけが複製され、\n" +"終端の NULL バイト (\\(aq\\e0\\(aq)) が追加される。" #. type: Plain text -#: build/C/man3/strdup.3:102 +#: build/C/man3/strdup.3:111 msgid "" "B() and B() are similar, but use B(3) to " -"allocate the buffer. They are only available when using the GNU GCC suite, " +"allocate the buffer. They are available only when using the GNU GCC suite, " "and suffer from the same limitations described in B(3)." msgstr "" -"B() と B() 関数は同様であるが、 バッファを割り当てるの" -"に B を用いる。 これらの関数は GNU GCC を用いた場合にのみ有効で、 " -"B で記述されているのと同様の制限を受ける。" +"B() と B() も同様だが、バッファの確保に\n" +"B(3) を使用する点が異なる。\n" +"これらが使用できるのは GNU GCC ツール群を使う場合だけであり、\n" +"B(3) で説明されているのと同じ制限がある。" #. type: Plain text -#: build/C/man3/strdup.3:107 +#: build/C/man3/strdup.3:119 msgid "" -"The B() function returns a pointer to the duplicated string, or " -"NULL if insufficient memory was available." +"On success, the B() function returns a pointer to the duplicated " +"string. It returns NULL if insufficient memory was available, with I " +"set to indicate the cause of the error." msgstr "" -"B() 関数は複製された文字列へのポインタ、または 十分なメモリが確保で" -"きなかった場合にはNULLを返す。" +"成功すると、 B() 関数は複製された文字列へのポインタを返す。 十分なメ" +"モリが確保できなかった場合には、 NULL を返し、 I にエラーの原因を示す" +"値を設定する。" #. type: SH -#: build/C/man3/strdup.3:107 build/C/man3/strerror.3:139 +#: build/C/man3/strdup.3:119 build/C/man3/strerror.3:166 #, no-wrap msgid "ERRORS" msgstr "エラー" #. type: TP -#: build/C/man3/strdup.3:108 +#: build/C/man3/strdup.3:120 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/strdup.3:111 +#: build/C/man3/strdup.3:123 msgid "Insufficient memory available to allocate duplicate string." msgstr "複製された文字列を割り当てる十分なメモリが確保できなかった。" #. 4.3BSD-Reno, not (first) 4.3BSD. #. type: Plain text -#: build/C/man3/strdup.3:121 +#: build/C/man3/strdup.3:133 msgid "" "B() conforms to SVr4, 4.3BSD, POSIX.1-2001. B() conforms " "to POSIX.1-2008. B() and B() are GNU extensions." @@ -2358,7 +2549,7 @@ msgstr "" "POSIX.1-2008 準拠である。 B(), B() は GNU 拡張である。" #. type: Plain text -#: build/C/man3/strdup.3:128 +#: build/C/man3/strdup.3:141 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3)" @@ -2367,30 +2558,30 @@ msgstr "" "B(3), B(3)" #. type: TH -#: build/C/man3/strerror.3:37 +#: build/C/man3/strerror.3:39 #, no-wrap msgid "STRERROR" msgstr "STRERROR" #. type: TH -#: build/C/man3/strerror.3:37 +#: build/C/man3/strerror.3:39 #, no-wrap -msgid "2009-03-30" -msgstr "2009-03-30" +msgid "2013-06-21" +msgstr "2013-06-21" #. type: Plain text -#: build/C/man3/strerror.3:40 +#: build/C/man3/strerror.3:42 msgid "strerror, strerror_r - return string describing error number" msgstr "strerror, strerror_r - エラー番号を説明する文字列を返す。" #. type: Plain text -#: build/C/man3/strerror.3:45 +#: build/C/man3/strerror.3:47 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/strerror.3:48 +#: build/C/man3/strerror.3:50 #, no-wrap msgid "" "BIB<, char *>IB<, size_t >IB<);>\n" @@ -2400,7 +2591,7 @@ msgstr "" " /* XSI-compliant */\n" #. type: Plain text -#: build/C/man3/strerror.3:51 +#: build/C/man3/strerror.3:53 #, no-wrap msgid "" "BIB<, char *>IB<, size_t >IB<);>\n" @@ -2410,12 +2601,12 @@ msgstr "" " /* GNU-specific */\n" #. type: Plain text -#: build/C/man3/strerror.3:61 +#: build/C/man3/strerror.3:63 msgid "The XSI-compliant version of B() is provided if:" msgstr "次の場合には XSI 準拠のバージョンの B() が提供される:" #. type: Plain text -#: build/C/man3/strerror.3:63 +#: build/C/man3/strerror.3:65 msgid "" "(_POSIX_C_SOURCE\\ E=\\ 200112L || _XOPEN_SOURCE\\ E=\\ 600) && !\\ " "_GNU_SOURCE" @@ -2424,50 +2615,54 @@ msgstr "" "_GNU_SOURCE" #. type: Plain text -#: build/C/man3/strerror.3:65 +#: build/C/man3/strerror.3:67 msgid "Otherwise, the GNU-specific version is provided." msgstr "それ以外の場合、GNU バージョンが提供される。" #. type: Plain text -#: build/C/man3/strerror.3:78 +#: build/C/man3/strerror.3:87 msgid "" "The B() function returns a pointer to a string that describes the " "error code passed in the argument I, possibly using the " "B part of the current locale to select the appropriate " -"language. This string must not be modified by the application, but may be " -"modified by a subsequent call to B(3) or B(). No library " -"function will modify this string." +"language. (For example, if I is B, the returned description " +"will \"Invalid argument\".) This string must not be modified by the " +"application, but may be modified by a subsequent call to B(). No " +"library function, including B(3), will modify this string." msgstr "" -"B() 関数は、引き数 I で渡されたエラーコードについての 説明" -"が入った文字列へのポインタを返す。 可能であるならば、適切な言語を選択するため" -"に、 現在のロケールの B を使う。 この文字列は、アプリケーション" -"で変更してはならないが、 その後に起こる B(3) や B() の呼" -"び出しで 変更されても構わない。 この文字列を変更するライブラリ関数はない。" +"B() 関数は、引き数 I で渡されたエラーコードについての\n" +"説明が入った文字列へのポインタを返す。 可能であるならば、適切な言語を選\n" +"択するために、 現在のロケールの B を使う。(例えば、\n" +"I が B の場合、説明として\"Invalid argument\" が返され\n" +"る。) この文字列は、アプリケーションで変更してはならないが、 これ以降に\n" +"行われる B() の呼び出しで 変更されても構わない。この文字列を\n" +"変更するライブラリ関数はない (B(3) も含まれる)。" #. type: Plain text -#: build/C/man3/strerror.3:99 +#: build/C/man3/strerror.3:108 msgid "" "The B() function is similar to B(), but is thread " "safe. This function is available in two versions: an XSI-compliant version " -"specified in POSIX.1-2001 (available since glibc 2.3.4), and a GNU-specific " -"version (available since glibc 2.0). The XSI-compliant version is provided " -"with the feature test macros settings shown in the SYNOPSIS; otherwise the " -"GNU-specific version is provided. If no feature test macros are explicitly " -"defined, then (since glibc 2.4) B<_POSIX_SOURCE> is defined by default with " -"the value 200112L, so that the XSI-compliant version of B() is " -"provided by default." -msgstr "" -"B() 関数は B() と似ているが、 スレッドセーフである。 " -"この関数には二種類のバージョンが存在し、 POSIX.1-2001 で規定された XSI 準拠の" -"バージョン (glibc 2.3.4 以降で利用可能) と、 GNU 仕様のバージョン (glibc 2.0 " -"以降で利用可能) である。 「書式」の節に記載された機能検査マクロの場合には、 " -"XSI 準拠のバージョンが提供される。 それ以外の場合には GNU 仕様のバージョンが" -"提供される。 機能検査マクロが一つも明示的に定義されない場合、 (glibc 2.4 以降" -"では) デフォルトで B<_POSIX_SOURCE> は値 200112l で定義され、その結果 XSI 準" -"拠のバージョンの B() がデフォルトで提供される。" - -#. type: Plain text -#: build/C/man3/strerror.3:107 +"specified in POSIX.1-2001 (available since glibc 2.3.4, but not POSIX-" +"compliant until glibc 2.13), and a GNU-specific version (available since " +"glibc 2.0). The XSI-compliant version is provided with the feature test " +"macros settings shown in the SYNOPSIS; otherwise the GNU-specific version is " +"provided. If no feature test macros are explicitly defined, then (since " +"glibc 2.4) B<_POSIX_SOURCE> is defined by default with the value 200112L, " +"so that the XSI-compliant version of B() is provided by default." +msgstr "" +"B() 関数は B() と似ているが、スレッドセーフである。\n" +"この関数には二種類のバージョンが存在し、 POSIX.1-2001 で規定された XSI\n" +"準拠のバージョン (glibc 2.3.4 以降で利用可能だが、glibc 2.13 までは\n" +"POSIX 準拠ではない) と、 GNU 仕様のバージョン (glibc 2.0 以降で利用可能)\n" +"である。 「書式」の節に記載された機能検査マクロの場合には、 XSI 準拠の\n" +"バージョンが提供される。それ以外の場合には GNU 仕様のバージョンが提供さ\n" +"れる。機能検査マクロが一つも明示的に定義されない場合、 (glibc 2.4 以降\n" +"では) デフォルトで B<_POSIX_SOURCE> は値 200112l で定義され、その結果\n" +"XSI 準拠のバージョンの B() がデフォルトで提供される。" + +#. type: Plain text +#: build/C/man3/strerror.3:116 msgid "" "The XSI-compliant B() is preferred for portable applications. " "It returns the error string in the user-supplied buffer I of length " @@ -2478,25 +2673,25 @@ msgstr "" "ラー文字列を返す。" #. type: Plain text -#: build/C/man3/strerror.3:124 +#: build/C/man3/strerror.3:136 msgid "" "The GNU-specific B() returns a pointer to a string containing " "the error message. This may be either a pointer to a string that the " "function stores in I, or a pointer to some (immutable) static string " "(in which case I is unused). If the function stores a string in " "I, then at most I bytes are stored (the string may be truncated " -"if I is too small) and the string always includes a terminating null " -"byte." +"if I is too small and I is unknown). The string always " +"includes a terminating null byte (\\(aq\\e0\\(aq)." msgstr "" -"GNU 仕様の B() は、エラーメッセージを格納した文字列へのポインタ" -"を返す。 返り値は、この関数が I に格納した文字列へのポインタか、 何らか" -"の (不変な) 静的な文字列へのポインタ、のいずれかとなる (後者の場合は I " +"GNU 仕様の B() は、 エラーメッセージを格納した文字列へのポインタ" +"を返す。 返り値は、 この関数が I に格納した文字列へのポインタか、 何らか" +"の (不変な) 静的な文字列へのポインタ、 のいずれかとなる (後者の場合は I " "は使用されない)。 I に文字列が格納される場合は、 最大で I バイト" -"が格納され (I が小さ過ぎたときには文字列は切り詰められる)、 文字列に" -"は必ず終端ヌル文字が含まれる。" +"が格納される (I が小さ過ぎたときには文字列は切り詰められ、 I " +"は不定である)。 文字列には必ず終端ヌル文字 (\\(aq\\e0\\(aq) が含まれる。" #. type: Plain text -#: build/C/man3/strerror.3:132 +#: build/C/man3/strerror.3:144 msgid "" "The B() and the GNU-specific B() functions return " "the appropriate error description string, or an \"Unknown error nnn\" " @@ -2506,39 +2701,78 @@ msgstr "" "ラー番号が未知の場合は \"Unknown error nnn\" という メッセージを返す。" #. type: Plain text -#: build/C/man3/strerror.3:139 +#: build/C/man3/strerror.3:157 msgid "" -"The XSI-compliant B() function returns 0 on success; on error, " -"-1 is returned and I is set to indicate the error." +"POSIX.1-2001 and POSIX.1-2008 require that a successful call to B" +"() shall leave I unchanged, and note that, since no function return " +"value is reserved to indicate an error, an application that wishes to check " +"for errors should initialize I to zero before the call, and then " +"check I after the call." msgstr "" -"XSI 準拠の B() 関数は成功すると 0 を返す。 エラーの場合には、 " -"-1 を返し、 I にエラー内容を示す値をセットする。" +"POSIX.1-2001 と POSIX.1-2008 では、 B() が成功した場合は\n" +"I を変更せずに元のままにしなければならないとされている。関数のど\n" +"の返り値もエラーを示すために予約されていないので、エラーをチェックした\n" +"いアプリケーションは呼び出しを行う前に I を 0 に初期化し、呼び出\n" +"しの後で I をチェックすべき点に注意すること。" + +#. type: Plain text +#: build/C/man3/strerror.3:166 +msgid "" +"The XSI-compliant B() function returns 0 on success. On error, " +"a (positive) error number is returned (since glibc 2.13), or -1 is returned " +"and I is set to indicate the error (glibc versions before 2.13)." +msgstr "" +"XSI 準拠の B() 関数は成功すると 0 を返す。エラーの場合には、\n" +"(glibc 2.13 以降では) (正の) エラー番号が返され、(バージョン 2.13 より前\n" +"の glibc では) -1 が返され、 I にエラーを示す値がセットされる。" #. type: TP -#: build/C/man3/strerror.3:140 +#: build/C/man3/strerror.3:167 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/strerror.3:145 +#: build/C/man3/strerror.3:172 msgid "The value of I is not a valid error number." msgstr "I の値が有効なエラー番号ではない。" #. type: TP -#: build/C/man3/strerror.3:145 +#: build/C/man3/strerror.3:172 #, no-wrap msgid "B" msgstr "B" #. type: Plain text -#: build/C/man3/strerror.3:148 +#: build/C/man3/strerror.3:175 msgid "" "Insufficient storage was supplied to contain the error description string." msgstr "エラーコードを説明する文字列のために、充分な領域が確保できなかった。" +#. type: SH +#: build/C/man3/strerror.3:175 build/C/man3/strtok.3:169 +#, no-wrap +msgid "ATTRIBUTES" +msgstr "属性" + +#. type: SS +#: build/C/man3/strerror.3:176 build/C/man3/strtok.3:170 +#, no-wrap +msgid "Multithreading (see pthreads(7))" +msgstr "マルチスレッディング (pthreads(7) 参照)" + +#. type: Plain text +#: build/C/man3/strerror.3:180 +msgid "The B() function is not thread-safe." +msgstr "B() 関数はスレッドセーフではない。" + +#. type: Plain text +#: build/C/man3/strerror.3:184 +msgid "The B() function is thread-safe." +msgstr "B() 関数はスレッドセーフである。" + #. type: Plain text -#: build/C/man3/strerror.3:153 +#: build/C/man3/strerror.3:189 msgid "" "B() is specified by POSIX.1-2001, C89, C99. B() is " "specified by POSIX.1-2001." @@ -2547,53 +2781,55 @@ msgstr "" "は POSIX.1-2001 で規定されている。" #. type: Plain text -#: build/C/man3/strerror.3:157 +#: build/C/man3/strerror.3:193 msgid "The GNU-specific B() function is a nonstandard extension." msgstr "GNU 仕様の B() 関数は非標準の拡張である。" #. e.g., Solaris 8, HP-UX 11 #. e.g., FreeBSD 5.4, Tru64 5.1B #. type: Plain text -#: build/C/man3/strerror.3:176 +#: build/C/man3/strerror.3:213 msgid "" "POSIX.1-2001 permits B() to set I if the call encounters " "an error, but does not specify what value should be returned as the function " "result in the event of an error. On some systems, B() returns " "NULL if the error number is unknown. On other systems, B() " "returns a string something like \"Error nnn occurred\" and sets I to " -"B if the error number is unknown." +"B if the error number is unknown. C99 and POSIX.1-2008 require the " +"return value to be non-NULL." msgstr "" -"POSIX.1-2001 は、 B() がエラーに遭遇した場合に I をセットす" -"ることを認めているが、エラー発生時に関数の結果として どんな値を返すべきかを規" -"定してない。 あるシステムでは、 エラー番号が未知の場合、 B() は " -"NULL を返す。 他のシステムでは、 エラー番号が未知の場合、 B() は " -"\"Error nnn occurred\" といった文字列を返し、 I に B をセット" -"する。" +"POSIX.1-2001 は、 B() がエラーに遭遇した場合に I をセッ\n" +"トすることを認めているが、エラー発生時に関数の結果として どんな値を返す\n" +"べきかを規定してない。 あるシステムでは、 エラー番号が未知の場合、\n" +"B() は NULL を返す。 他のシステムでは、 エラー番号が未知の場\n" +"合、 B() は \"Error nnn occurred\" といった文字列を返し、\n" +"I に B をセットする。 C99 と POSIX.1-2008 では、返り値が\n" +"NULL 以外になることが求められている。" #. type: Plain text -#: build/C/man3/strerror.3:181 +#: build/C/man3/strerror.3:219 msgid "B(3), B(3), B(3), B(3), B(3)" msgstr "B(3), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strfry.3:28 +#: build/C/man3/strfry.3:30 #, no-wrap msgid "STRFRY" msgstr "STRFRY" #. type: Plain text -#: build/C/man3/strfry.3:31 +#: build/C/man3/strfry.3:33 msgid "strfry - randomize a string" msgstr "strfry - 文字列をランダムに並べ変える" #. type: Plain text -#: build/C/man3/strfry.3:38 build/C/man3/string.3:65 +#: build/C/man3/strfry.3:40 build/C/man3/string.3:67 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/strfry.3:47 +#: build/C/man3/strfry.3:52 msgid "" "The B() function randomizes the contents of I by using " "B(3) to randomly swap characters in the string. The result is an " @@ -2604,35 +2840,35 @@ msgstr "" "される。結果は、文字列 I のアナグラムである。" #. type: Plain text -#: build/C/man3/strfry.3:52 +#: build/C/man3/strfry.3:57 msgid "The B() functions returns a pointer to the randomized string." msgstr "" "B() 関数は、ランダムに並び換えられた文字列へのポインタを返す。" #. type: Plain text -#: build/C/man3/strfry.3:57 +#: build/C/man3/strfry.3:62 msgid "The B() function is unique to the GNU C Library." msgstr "B() 関数は GNU C ライブラリに特有である。" #. type: Plain text -#: build/C/man3/strfry.3:59 +#: build/C/man3/strfry.3:65 msgid "B(3), B(3)" msgstr "B(3), B(3)" #. type: TH -#: build/C/man3/string.3:28 +#: build/C/man3/string.3:30 #, no-wrap msgid "STRING" msgstr "STRING" #. type: TH -#: build/C/man3/string.3:28 +#: build/C/man3/string.3:30 #, no-wrap msgid "2010-02-25" msgstr "2010-02-25" #. type: Plain text -#: build/C/man3/string.3:34 +#: build/C/man3/string.3:36 msgid "" "stpcpy, strcasecmp, strcat, strchr, strcmp, strcoll, strcpy, strcspn, " "strdup, strfry, strlen, strncat, strncmp, strncpy, strncasecmp, strpbrk, " @@ -2645,55 +2881,55 @@ msgstr "" "作する関数" #. type: Plain text -#: build/C/man3/string.3:61 build/C/man3/strspn.3:38 +#: build/C/man3/string.3:63 build/C/man3/strspn.3:40 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/string.3:67 build/C/man3/strlen.3:36 +#: build/C/man3/string.3:69 build/C/man3/strlen.3:38 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/string.3:75 build/C/man3/strpbrk.3:36 +#: build/C/man3/string.3:77 build/C/man3/strpbrk.3:38 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/string.3:79 build/C/man3/strsep.3:39 +#: build/C/man3/string.3:81 build/C/man3/strsep.3:41 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/string.3:81 build/C/man3/strspn.3:36 +#: build/C/man3/string.3:83 build/C/man3/strspn.3:38 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/string.3:83 build/C/man3/strstr.3:39 +#: build/C/man3/string.3:85 build/C/man3/strstr.3:41 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/string.3:85 +#: build/C/man3/string.3:87 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/string.3:87 build/C/man3/strxfrm.3:36 +#: build/C/man3/string.3:89 build/C/man3/strxfrm.3:38 #, no-wrap msgid "BIB<, const char *>IB<, size_t >IB<);>\n" msgstr "BIB<, const char *>IB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/string.3:92 +#: build/C/man3/string.3:94 msgid "" "The string functions perform string operations on null-terminated strings. " "See the individual man pages for descriptions of each function." @@ -2702,7 +2938,7 @@ msgstr "" "の関数の説明については個々のmanページを見よ。" #. type: Plain text -#: build/C/man3/string.3:116 +#: build/C/man3/string.3:119 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(3), " @@ -2717,18 +2953,24 @@ msgstr "" "B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strlen.3:28 +#: build/C/man3/strlen.3:30 #, no-wrap msgid "STRLEN" msgstr "STRLEN" +#. type: TH +#: build/C/man3/strlen.3:30 +#, no-wrap +msgid "2012-05-04" +msgstr "2012-05-04" + #. type: Plain text -#: build/C/man3/strlen.3:31 +#: build/C/man3/strlen.3:33 msgid "strlen - calculate the length of a string" msgstr "strlen - 文字列の長さを計算する" #. type: Plain text -#: build/C/man3/strlen.3:42 +#: build/C/man3/strlen.3:45 msgid "" "The B() function calculates the length of the string I, " "excluding the terminating null byte (\\(aq\\e0\\(aq)." @@ -2737,104 +2979,104 @@ msgstr "" "(\\(aq\\e0\\(aq) は計算に含まれない。" #. type: Plain text -#: build/C/man3/strlen.3:46 -msgid "The B() function returns the number of characters in I." -msgstr "B() 関数は I の中の文字数を返す。" +#: build/C/man3/strlen.3:50 +msgid "" +"The B() function returns the number of bytes in the string I." +msgstr "B() 関数は文字列 I のバイト数を返す。" #. type: Plain text -#: build/C/man3/strlen.3:52 +#: build/C/man3/strlen.3:57 msgid "B(3), B(3), B(3), B(3)" msgstr "B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strnlen.3:11 +#: build/C/man3/strnlen.3:13 #, no-wrap msgid "STRNLEN" msgstr "STRNLEN" #. type: Plain text -#: build/C/man3/strnlen.3:14 +#: build/C/man3/strnlen.3:16 msgid "strnlen - determine the length of a fixed-size string" msgstr "strnlen - 固定長の文字列の長さを調べる" #. type: Plain text -#: build/C/man3/strnlen.3:19 +#: build/C/man3/strnlen.3:21 #, no-wrap msgid "BIB<, size_t >IB<);>\n" msgstr "BIB<, size_t >IB<);>\n" #. type: Plain text -#: build/C/man3/strnlen.3:27 +#: build/C/man3/strnlen.3:29 msgid "B():" msgstr "B():" #. type: Plain text -#: build/C/man3/strnlen.3:49 +#: build/C/man3/strnlen.3:58 msgid "" -"The B() function returns the number of characters in the string " -"pointed to by I, excluding the terminating null bye (\\(aq\\e0\\(aq), but " -"at most I. In doing this, B() looks only at the first " -"I characters at I and never beyond I." +"The B() function returns the number of bytes in the string pointed " +"to by I, excluding the terminating null byte (\\(aq\\e0\\(aq), but at " +"most I. In doing this, B() looks only at the first " +"I bytes at I and never beyond I." msgstr "" -"B() 関数は I が指す文字列の長さをバイト数で返す。 長さには終端" -"の NULL バイト (\\(aq\\e0\\(aq) は含まない。 また長さは最大で I まで" -"であり、 B() は I の最初の I バイトのみを検査し I より先を検査することはない。" +"B() 関数は I が指す文字列の長さをバイト数で返す。 長さには\n" +"終端の NULL バイト (\\(aq\\e0\\(aq) は含まない。 また長さは最大で\n" +"I までであり、 B() は I の最初の I バイト\n" +"のみを検査し I より先を検査することはない。" #. type: Plain text -#: build/C/man3/strnlen.3:56 +#: build/C/man3/strnlen.3:71 msgid "" "The B() function returns I, if that is less than " "I, or I if there is no null byte (\\(aq\\e0\\(aq) among the " -"first I characters pointed to by I." +"first I bytes pointed to by I." msgstr "" -"B() 関数は I 以下ならば I と同じ 値を返す。I " -"の指す文字列が最大 I バイトまでに NULL バイト (\\(aq\\e0\\(aq) 文字を" -"含まない場合には I を返す。" +"B() 関数は I 以下ならば I と同じ値を返す。\n" +"I の指す文字列が最大 I バイトまでに NULL バイト\n" +"(\\(aq\\e0\\(aq) 文字を含まない場合には I を返す。" #. type: Plain text -#: build/C/man3/strnlen.3:58 +#: build/C/man3/strnlen.3:73 msgid "POSIX.1-2008." msgstr "POSIX.1-2008." #. type: Plain text -#: build/C/man3/strnlen.3:59 +#: build/C/man3/strnlen.3:75 msgid "B(3)" msgstr "B(3)" #. type: TH -#: build/C/man3/strpbrk.3:28 +#: build/C/man3/strpbrk.3:30 #, no-wrap msgid "STRPBRK" msgstr "STRPBRK" #. type: Plain text -#: build/C/man3/strpbrk.3:31 -msgid "strpbrk - search a string for any of a set of characters" -msgstr "strpbrk - 文字セット中の文字を文字列から検出する" +#: build/C/man3/strpbrk.3:33 +msgid "strpbrk - search a string for any of a set of bytes" +msgstr "strpbrk - 文字列からバイト集合に含まれるバイトを探す" #. type: Plain text -#: build/C/man3/strpbrk.3:42 +#: build/C/man3/strpbrk.3:47 msgid "" "The B() function locates the first occurrence in the string I " -"of any of the characters in the string I." +"of any of the bytes in the string I." msgstr "" -"B() 関数は文字列 I に含まれる文字が文字列 I に おいて最" -"初に現れる位置を捜し出す。" +"B() 関数は、文字列 I に含まれるバイトのいずれかが、\n" +"文字列 I 内で最初に現れる位置を特定する。" #. type: Plain text -#: build/C/man3/strpbrk.3:48 +#: build/C/man3/strpbrk.3:56 msgid "" -"The B() function returns a pointer to the character in I that " -"matches one of the characters in I, or NULL if no such character is " -"found." +"The B() function returns a pointer to the byte in I that " +"matches one of the bytes in I, or NULL if no such byte is found." msgstr "" -"B() 関数は、 I に含まれる文字のうち、 I に含まれる文字の" -"どれかに一致したものへの ポインタを返す。 そのような文字が見つからなかった場" -"合は NULL を返す。" +"B() 関数は、I 内のバイトで、I に含まれる\n" +"バイトのいずれかに一致したバイトへのポインタを返す。\n" +"I に含まれるバイトが見つからなかった場合は NULL を返す。" #. type: Plain text -#: build/C/man3/strpbrk.3:60 +#: build/C/man3/strpbrk.3:69 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(3)" @@ -2843,23 +3085,23 @@ msgstr "" "B(3), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strsep.3:31 +#: build/C/man3/strsep.3:33 #, no-wrap msgid "STRSEP" msgstr "STRSEP" #. type: Plain text -#: build/C/man3/strsep.3:34 +#: build/C/man3/strsep.3:36 msgid "strsep - extract token from string" msgstr "strsep - 文字列からトークンを取り出す" #. type: Plain text -#: build/C/man3/strsep.3:48 +#: build/C/man3/strsep.3:50 msgid "B(): _BSD_SOURCE" msgstr "B(): _BSD_SOURCE" #. type: Plain text -#: build/C/man3/strsep.3:61 +#: build/C/man3/strsep.3:74 msgid "" "If I<*stringp> is NULL, the B() function returns NULL and does " "nothing else. Otherwise, this function finds the first token in the string " @@ -2877,7 +3119,7 @@ msgstr "" "トークンとして 扱われ、I<*stringp> は NULL となる。" #. type: Plain text -#: build/C/man3/strsep.3:66 +#: build/C/man3/strsep.3:80 msgid "" "The B() function returns a pointer to the token, that is, it " "returns the original value of I<*stringp>." @@ -2886,12 +3128,12 @@ msgstr "" "値を返す。" #. type: Plain text -#: build/C/man3/strsep.3:68 +#: build/C/man3/strsep.3:82 msgid "4.4BSD." msgstr "4.4BSD." #. type: Plain text -#: build/C/man3/strsep.3:77 +#: build/C/man3/strsep.3:91 msgid "" "The B() function was introduced as a replacement for B(3), " "since the latter cannot handle empty fields. However, B(3) " @@ -2902,28 +3144,28 @@ msgstr "" "しており、より移植性がある。" #. type: Plain text -#: build/C/man3/strsep.3:80 +#: build/C/man3/strsep.3:94 msgid "Be cautious when using this function. If you do use it, note that:" msgstr "" "この関数を使う時は注意すること。 もし使うなら、以下のことに注意すること。" #. type: Plain text -#: build/C/man3/strsep.3:82 +#: build/C/man3/strsep.3:96 msgid "This function modifies its first argument." msgstr "この関数は最初の引数を変更する。" #. type: Plain text -#: build/C/man3/strsep.3:84 +#: build/C/man3/strsep.3:98 msgid "This function cannot be used on constant strings." msgstr "この関数は定数文字列には使えない。" #. type: Plain text -#: build/C/man3/strsep.3:86 build/C/man3/strtok.3:127 +#: build/C/man3/strsep.3:100 msgid "The identity of the delimiting character is lost." msgstr "区切り文字自体は失われてしまう。" #. type: Plain text -#: build/C/man3/strsep.3:95 +#: build/C/man3/strsep.3:110 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3)" @@ -2932,51 +3174,51 @@ msgstr "" "B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strsignal.3:28 +#: build/C/man3/strsignal.3:30 #, no-wrap msgid "STRSIGNAL" msgstr "STRSIGNAL" #. type: TH -#: build/C/man3/strsignal.3:28 +#: build/C/man3/strsignal.3:30 #, no-wrap msgid "2010-09-15" msgstr "2010-09-15" #. type: Plain text -#: build/C/man3/strsignal.3:31 +#: build/C/man3/strsignal.3:33 msgid "strsignal - return string describing signal" msgstr "strsignal - シグナルを説明する文字列を返す" #. type: Plain text -#: build/C/man3/strsignal.3:36 +#: build/C/man3/strsignal.3:38 #, no-wrap msgid "BIB<);>\n" msgstr "BIB<);>\n" #. type: Plain text -#: build/C/man3/strsignal.3:38 +#: build/C/man3/strsignal.3:40 #, no-wrap msgid "BIB<[];>\n" msgstr "BIB<[];>\n" #. type: Plain text -#: build/C/man3/strsignal.3:46 +#: build/C/man3/strsignal.3:48 msgid "B():" msgstr "B():" #. type: Plain text -#: build/C/man3/strsignal.3:66 +#: build/C/man3/strsignal.3:68 msgid "" "The B() function returns a string describing the signal number " -"passed in the argument I. The string can only be used until the next " +"passed in the argument I. The string can be used only until the next " "call to B()." msgstr "" "B() 関数は、引数 I で渡されたシグナル番号を 説明する文字列を" "返す。 文字列は、次の B() が呼ばれるまでの間だけ使用できる。" #. type: Plain text -#: build/C/man3/strsignal.3:73 +#: build/C/man3/strsignal.3:77 msgid "" "The array I holds the signal description strings indexed by " "signal number. The B() function should be used if possible " @@ -2987,7 +3229,7 @@ msgstr "" "に B() 関数を 使うべきである。" #. type: Plain text -#: build/C/man3/strsignal.3:80 +#: build/C/man3/strsignal.3:84 msgid "" "The B() function returns the appropriate description string, or " "an unknown signal message if the signal number is invalid. On some systems " @@ -2999,64 +3241,66 @@ msgstr "" "ではないが)不正なシグナル番号に対して、 NULL ポインタを 返すシステムもある。" #. type: Plain text -#: build/C/man3/strsignal.3:83 +#: build/C/man3/strsignal.3:87 msgid "POSIX.1-2008. Present on Solaris and the BSDs." msgstr "POSIX.1-2008. Solaris と BSD 系にも存在する。" #. type: Plain text -#: build/C/man3/strsignal.3:85 +#: build/C/man3/strsignal.3:90 msgid "B(3), B(3)" msgstr "B(3), B(3)" #. type: TH -#: build/C/man3/strspn.3:28 +#: build/C/man3/strspn.3:30 #, no-wrap msgid "STRSPN" msgstr "STRSPN" #. type: Plain text -#: build/C/man3/strspn.3:31 -msgid "strspn, strcspn - search a string for a set of characters" -msgstr "strspn, strcspn - 文字列から文字のセットを探す" +#: build/C/man3/strspn.3:33 +msgid "strspn, strcspn - search a string for a set of bytes" +msgstr "strspn, strcspn - バイト集合で構成される文字列を探す" #. type: Plain text -#: build/C/man3/strspn.3:45 +#: build/C/man3/strspn.3:49 msgid "" -"The B() function calculates the length of the initial segment of " -"I which consists entirely of characters in I." +"The B() function calculates the length (in bytes) of the initial " +"segment of I which consists entirely of bytes in I." msgstr "" -"B() 関数は、I に含まれる文字だけで構成される文字列 を I " -"から探し、その最初の部分の長さを計算する。" +"B() 関数は、 I から、I に含まれる文字だけで\n" +"構成される最初の部分文字列を探し、\n" +"その部分の (バイト単位の) 長さを計算する。" #. type: Plain text -#: build/C/man3/strspn.3:51 +#: build/C/man3/strspn.3:57 msgid "" "The B() function calculates the length of the initial segment of " -"I which consists entirely of characters not in I." +"I which consists entirely of bytes not in I." msgstr "" -"B() 関数は、I に含まれない文字だけで構成される文字列 を " -"I から探し、その最初の部分の長さを計算する。" +"B() 関数は、 I から、I に含まれない文字だけで\n" +"構成される最初の部分文字列を探し、\n" +"その部分の (バイト単位の) 長さを計算する。" #. type: Plain text -#: build/C/man3/strspn.3:57 +#: build/C/man3/strspn.3:66 msgid "" -"The B() function returns the number of characters in the initial " -"segment of I which consist only of characters from I." +"The B() function returns the number of bytes in the initial segment " +"of I which consist only of bytes from I." msgstr "" -"B() 関数は、I からの文字だけで構成される I の 最初の部分" -"の文字の数を返す。" +"B() 関数は、 I 内の、I からの文字だけで\n" +"構成される最初の部分文字列のバイト数を返す。" #. type: Plain text -#: build/C/man3/strspn.3:63 +#: build/C/man3/strspn.3:74 msgid "" -"The B() function returns the number of characters in the initial " +"The B() function returns the number of bytes in the initial " "segment of I which are not in the string I." msgstr "" -"B() 関数は、I の最初の部分で、文字列 I に 含まれない文字" -"の数を返す。" +"B() 関数は、I 内の、文字列 I に含まれない\n" +"文字だけで構成される最初の部分文字列のバイト数を返す。" #. type: Plain text -#: build/C/man3/strspn.3:76 +#: build/C/man3/strspn.3:88 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(3), " @@ -3067,24 +3311,24 @@ msgstr "" "B(3)" #. type: TH -#: build/C/man3/strstr.3:31 +#: build/C/man3/strstr.3:33 #, no-wrap msgid "STRSTR" msgstr "STRSTR" #. type: Plain text -#: build/C/man3/strstr.3:34 +#: build/C/man3/strstr.3:36 msgid "strstr, strcasestr - locate a substring" msgstr "strstr, strcasestr - 部分文字列の位置を示す" #. type: Plain text -#: build/C/man3/strstr.3:45 +#: build/C/man3/strstr.3:47 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/strstr.3:52 +#: build/C/man3/strstr.3:56 msgid "" "The B() function finds the first occurrence of the substring " "I in the string I. The terminating null bytes (\\(aq" @@ -3095,7 +3339,7 @@ msgstr "" "い。" #. type: Plain text -#: build/C/man3/strstr.3:58 +#: build/C/man3/strstr.3:62 msgid "" "The B() function is like B(), but ignores the case of " "both arguments." @@ -3104,7 +3348,7 @@ msgstr "" "字小文字を無視する。" #. type: Plain text -#: build/C/man3/strstr.3:61 +#: build/C/man3/strstr.3:65 msgid "" "These functions return a pointer to the beginning of the substring, or NULL " "if the substring is not found." @@ -3113,7 +3357,7 @@ msgstr "" "らない場合は NULL を返す。" #. type: Plain text -#: build/C/man3/strstr.3:68 +#: build/C/man3/strstr.3:72 msgid "" "The B() function conforms to C89 and C99. The B() " "function is a nonstandard extension." @@ -3122,7 +3366,7 @@ msgstr "" "拡張である。" #. type: Plain text -#: build/C/man3/strstr.3:74 +#: build/C/man3/strstr.3:84 msgid "" "Early versions of Linux libc (like 4.5.26) would not allow an empty " "I argument for B(). Later versions (like 4.6.27) work " @@ -3133,7 +3377,7 @@ msgstr "" "I が空の時は I を返す。" #. type: Plain text -#: build/C/man3/strstr.3:85 +#: build/C/man3/strstr.3:96 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(3), " @@ -3144,36 +3388,36 @@ msgstr "" "B(3)" #. type: TH -#: build/C/man3/strtok.3:28 +#: build/C/man3/strtok.3:32 #, no-wrap msgid "STRTOK" msgstr "STRTOK" #. type: TH -#: build/C/man3/strtok.3:28 +#: build/C/man3/strtok.3:32 #, no-wrap -msgid "2010-09-27" -msgstr "2010-09-27" +msgid "2013-05-19" +msgstr "2013-05-19" #. type: Plain text -#: build/C/man3/strtok.3:31 +#: build/C/man3/strtok.3:35 msgid "strtok, strtok_r - extract tokens from strings" msgstr "strtok, strtok_r - 文字列からトークンを取り出す" #. type: Plain text -#: build/C/man3/strtok.3:36 +#: build/C/man3/strtok.3:40 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. type: Plain text -#: build/C/man3/strtok.3:38 +#: build/C/man3/strtok.3:42 #, no-wrap msgid "BIB<, const char *>IB<, char **>IB<);>\n" msgstr "BIB<, const char *>IB<, char **>IB<);>\n" #. type: Plain text -#: build/C/man3/strtok.3:49 +#: build/C/man3/strtok.3:53 msgid "" "B(): _SVID_SOURCE || _BSD_SOURCE || _POSIX_C_SOURCE\\ E=\\ 1 " "|| _XOPEN_SOURCE || _POSIX_SOURCE" @@ -3182,65 +3426,112 @@ msgstr "" "|| _XOPEN_SOURCE || _POSIX_SOURCE" #. type: Plain text -#: build/C/man3/strtok.3:60 +#: build/C/man3/strtok.3:66 msgid "" -"The B() function parses a string into a sequence of tokens. On the " -"first call to B() the string to be parsed should be specified in " -"I. In each subsequent call that should parse the same string, I " -"should be NULL." +"The B() function breaks a string into a sequence of zero or more " +"nonempty tokens. On the first call to B() the string to be parsed " +"should be specified in I. In each subsequent call that should parse " +"the same string, I must be NULL." msgstr "" -"B() 関数は文字列を解析してトークンに分割する。 B() を最初に" -"呼び出す際には、解析対象の文字列を I に 指定する。同じ文字列の解析を行う" -"その後の呼び出しでは、 I には NULL を指定する。" +"B() 関数は文字列を 0 個以上の空でないトークンの列に分割する。 " +"B() を最初に呼び出す際には、解析対象の文字列を I に 指定する。" +"同じ文字列の解析を行うその後の呼び出しでは、 I は NULL にしなければなら" +"ない。" #. type: Plain text -#: build/C/man3/strtok.3:65 +#: build/C/man3/strtok.3:75 msgid "" -"The I argument specifies a set of characters that delimit the tokens " -"in the parsed string. The caller may specify different strings in I " -"in successive calls that parse the same string." +"The I argument specifies a set of bytes that delimit the tokens in " +"the parsed string. The caller may specify different strings in I in " +"successive calls that parse the same string." msgstr "" -"I 引き数には、解析する文字列をトークンに区切る文字集合を 指定する。同" -"じ文字列を解析する一連の呼び出しにおいて、 I に違う文字列を指定しても" -"よい。" +"I 引き数には、解析対象の文字列をトークンに区切るのに使用する\n" +"バイト集合を指定する。同じ文字列を解析する一連の呼び出しにおいて、\n" +"I に違う文字列を指定してもよい。" #. type: Plain text -#: build/C/man3/strtok.3:74 +#: build/C/man3/strtok.3:84 msgid "" "Each call to B() returns a pointer to a null-terminated string " "containing the next token. This string does not include the delimiting " -"character. If no more tokens are found, B() returns NULL." +"byte. If no more tokens are found, B() returns NULL." msgstr "" -"B() のそれぞれの呼び出しでは、次のトークンを 格納した NULL 終端され" -"た文字列へのポインタが返される。 この文字列には区切り文字は含まれない。 これ" -"以上トークンが見つからなかった場合には、NULL が返される。" +"B() のそれぞれの呼び出しでは、次のトークンを格納した NULL 終端\n" +"された文字列へのポインタが返される。この文字列には区切りバイトは含まれ\n" +"ない。これ以上トークンが見つからなかった場合には、NULL が返される。" #. type: Plain text -#: build/C/man3/strtok.3:81 +#: build/C/man3/strtok.3:104 msgid "" -"A sequence of two or more contiguous delimiter characters in the parsed " -"string is considered to be a single delimiter. Delimiter characters at the " -"start or end of the string are ignored. Put another way: the tokens " -"returned by B() are always nonempty strings." -msgstr "" -"解析対象の文字列に2つ以上の区切り文字が連続している場合には、 一つの区切り文" -"字とみなされる。 文字列の先頭や末尾にある区切り文字は無視される。言い換える" -"と、 B() が返すトークンは常に空でない文字列となる。" - -#. type: Plain text -#: build/C/man3/strtok.3:91 +"A sequence of calls to B() that operate on the same string " +"maintains a pointer that determines the point from which to start searching " +"for the next token. The first call to B() sets this pointer to " +"point to the first byte of the string. The start of the next token is " +"determined by scanning forward for the next nondelimiter byte in I. If " +"such a byte is found, it is taken as the start of the next token. If no " +"such byte is found, then there are no more tokens, and B() returns " +"NULL. (A string that is empty or that contains only delimiters will thus " +"cause B() to return NULL on the first call.)" +msgstr "" +"同じ文字列に対して操作を行う B() を連続して呼び出す場合、 次のトーク" +"ンを探し始める位置を決めるためのポインタが保持される。 最初の B の呼" +"び出しでは、 このポインタは対象の文字列の最初のバイトにセットされる。 次の" +"トークンの先頭は、 I 内で次の区切りバイト以外のバイトを前方に検索して決" +"定される。 区切りバイト以外のバイトが見つからなかった場合は、 トークンはこれ" +"以上なく、 B() は NULL を返す (したがって、 空の文字列や区切りバイト" +"だけを含む文字列の場合には、 最初の B() の呼び出しで NULL が返ること" +"になる)。" + +#. type: Plain text +#: build/C/man3/strtok.3:117 +msgid "" +"The end of each token is found by scanning forward until either the next " +"delimiter byte is found or until the terminating null byte (\\(aq\\e0\\(aq) " +"is encountered. If a delimiter byte is found, it is overwritten with a null " +"byte to terminate the current token, and B() saves a pointer to the " +"following byte; that pointer will be used as the starting point when " +"searching for the next token. In this case, B() returns a pointer " +"to the start of the found token." +msgstr "" +"各トークンの末尾は、次の区切りバイトが見つかるか、終端の NULL バイト (\\(aq" +"\\e0\\(aq) に達するまで文字列を前方に検索することで見つかる。 区切りバイトが" +"見つかった場合には、 現在のトークンの終わりを示すために、 見つかった区切りバ" +"イトが NULL バイトで上書きされ、 B() はポインタを次のバイトに設定す" +"る。 このポインタは、次のトークンを検索する際の開始点として使用される。 この" +"場合、 B() は見つかったトークンの先頭へのポインタを返す。" + +#. type: Plain text +#: build/C/man3/strtok.3:131 +msgid "" +"From the above description, it follows that a sequence of two or more " +"contiguous delimiter bytes in the parsed string is considered to be a single " +"delimiter, and that delimiter bytes at the start or end of the string are " +"ignored. Put another way: the tokens returned by B() are always " +"nonempty strings. Thus, for example, given the string \"I\", " +"successive calls to B() that specify the delimiter string \"I<;,>\" " +"would return the strings \"I\" and \"I\", and then a NULL pointer." +msgstr "" +"上記の説明の通り、 解析対象の文字列に 2 つ以上の区切りバイトが連続している場" +"合には、 一つの区切りバイトとみなされ、 文字列の先頭や末尾にある区切りバイト" +"は無視される。 言い換えると、 B() が返すトークンは必ず空でない文字列" +"となる。 したがって、例えば \"I\" という文字列が与えられたとする" +"と、 区切り文字列 \"I<;,>\" を指定した一連の B() の呼び出しでは、 " +"\"I\" と I\" が返り、その次に NULL ポインタが返る。" + +#. type: Plain text +#: build/C/man3/strtok.3:144 msgid "" "The B() function is a reentrant version B(). The " -"I argument is a pointer to a I variable that is used " +"I argument is a pointer to a I variable that is used " "internally by B() in order to maintain context between successive " "calls that parse the same string." msgstr "" "B() 関数は B() のリエントラント版である。 I 引き" -"数は I 変数へのポインタであり、 同じ文字列の解析を行う B" +"数は I 変数へのポインタであり、 同じ文字列の解析を行う B" "() の呼び出し間で処理状況を保存するために B() 内部で使用される。" #. type: Plain text -#: build/C/man3/strtok.3:100 +#: build/C/man3/strtok.3:156 msgid "" "On the first call to B(), I should point to the string to be " "parsed, and the value of I is ignored. In subsequent calls, I " @@ -3252,7 +3543,7 @@ msgstr "" "ない。" #. type: Plain text -#: build/C/man3/strtok.3:104 +#: build/C/man3/strtok.3:162 msgid "" "Different strings may be parsed concurrently using sequences of calls to " "B() that specify different I arguments." @@ -3261,7 +3552,7 @@ msgstr "" "る文字列の解析を同時に行うことができる。" #. type: Plain text -#: build/C/man3/strtok.3:111 +#: build/C/man3/strtok.3:169 msgid "" "The B() and B() functions return a pointer to the next " "token, or NULL if there are no more tokens." @@ -3269,47 +3560,62 @@ msgstr "" "B() と B() は次のトークンへのポインタか、 トークンがなけ" "れば NULL を返す。" +#. type: Plain text +#: build/C/man3/strtok.3:174 +msgid "The B() function is not thread-safe." +msgstr "The B() 関数はスレッドセーフではない。" + +#. type: Plain text +#: build/C/man3/strtok.3:178 +msgid "The B() function is thread-safe." +msgstr "B() 関数はスレッドセーフである。" + #. type: TP -#: build/C/man3/strtok.3:112 +#: build/C/man3/strtok.3:179 #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text -#: build/C/man3/strtok.3:115 +#: build/C/man3/strtok.3:182 msgid "SVr4, POSIX.1-2001, 4.3BSD, C89, C99." msgstr "SVr4, POSIX.1-2001, 4.3BSD, C89, C99." #. type: TP -#: build/C/man3/strtok.3:115 +#: build/C/man3/strtok.3:182 #, no-wrap msgid "B()" msgstr "B()" #. type: Plain text -#: build/C/man3/strtok.3:118 +#: build/C/man3/strtok.3:185 msgid "POSIX.1-2001." msgstr "POSIX.1-2001." #. type: Plain text -#: build/C/man3/strtok.3:121 +#: build/C/man3/strtok.3:188 msgid "Be cautious when using these functions. If you do use them, note that:" msgstr "" "これらの関数を使うのは慎重に吟味すること。 使用する場合は、以下の点に注意が必" "要である。" #. type: Plain text -#: build/C/man3/strtok.3:123 +#: build/C/man3/strtok.3:190 msgid "These functions modify their first argument." msgstr "これらの関数はその最初の引数を変更する。" #. type: Plain text -#: build/C/man3/strtok.3:125 +#: build/C/man3/strtok.3:192 msgid "These functions cannot be used on constant strings." msgstr "これらの関数は const な文字列では使えない。" #. type: Plain text -#: build/C/man3/strtok.3:134 +#: build/C/man3/strtok.3:194 +msgid "The identity of the delimiting byte is lost." +msgstr "区切りバイト自体は失われてしまう。" + +#. type: Plain text +#: build/C/man3/strtok.3:201 msgid "" "The B() function uses a static buffer while parsing, so it's not " "thread safe. Use B() if this matters to you." @@ -3318,28 +3624,29 @@ msgstr "" "い。 これが問題になる場合は B() を用いること。" #. type: Plain text -#: build/C/man3/strtok.3:143 +#: build/C/man3/strtok.3:210 msgid "" "The program below uses nested loops that employ B() to break a " "string into a two-level hierarchy of tokens. The first command-line " "argument specifies the string to be parsed. The second argument specifies " -"the delimiter character(s) to be used to separate that string into \"major" -"\" tokens. The third argument specifies the delimiter character(s) to be " -"used to separate the \"major\" tokens into subtokens." +"the delimiter byte(s) to be used to separate that string into \"major\" " +"tokens. The third argument specifies the delimiter byte(s) to be used to " +"separate the \"major\" tokens into subtokens." msgstr "" -"以下のプログラムは、 B() を利用するループを入れ子にして使用し、 文" -"字列を2階層のトークンに分割するものである。 1番目のコマンドライン引き数には、" -"解析対象の文字列を指定する。 2番目の引き数には、文字列を「大きな」トークンに" -"分割するために 使用する区切り文字を指定する。 3番目の引き数には、「大きな」" -"トークンを細かく分割するために 使用する区切り文字を指定する。" +"以下のプログラムは、 B() を利用するループを入れ子にして使用し、\n" +"文字列を 2 階層のトークンに分割するものである。 1番目のコマンドライン\n" +"引き数には、解析対象の文字列を指定する。 2 番目の引き数には、文字列を\n" +"「大きな」トークンに分割するために 使用する区切りバイトを指定する。\n" +"3 番目の引き数には、「大きな」トークンを細かく分割するために使用する\n" +"区切りバイトを指定する。" #. type: Plain text -#: build/C/man3/strtok.3:145 +#: build/C/man3/strtok.3:212 msgid "An example of the output produced by this program is the following:" msgstr "このプログラムの出力例を以下に示す。" #. type: Plain text -#: build/C/man3/strtok.3:157 +#: build/C/man3/strtok.3:224 #, no-wrap msgid "" "$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n" @@ -3363,13 +3670,13 @@ msgstr "" " --E yyy\n" #. type: SS -#: build/C/man3/strtok.3:159 +#: build/C/man3/strtok.3:226 #, no-wrap msgid "Program source" msgstr "プログラムのソース" #. type: Plain text -#: build/C/man3/strtok.3:165 +#: build/C/man3/strtok.3:232 #, no-wrap msgid "" "#include Estdio.hE\n" @@ -3381,7 +3688,7 @@ msgstr "" "#include Estring.hE\n" #. type: Plain text -#: build/C/man3/strtok.3:172 +#: build/C/man3/strtok.3:239 #, no-wrap msgid "" "int\n" @@ -3399,7 +3706,7 @@ msgstr "" " int j;\n" #. type: Plain text -#: build/C/man3/strtok.3:178 +#: build/C/man3/strtok.3:245 #, no-wrap msgid "" " if (argc != 4) {\n" @@ -3415,7 +3722,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/strtok.3:184 +#: build/C/man3/strtok.3:251 #, no-wrap msgid "" " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n" @@ -3431,7 +3738,7 @@ msgstr "" " printf(\"%d: %s\\en\", j, token);\n" #. type: Plain text -#: build/C/man3/strtok.3:192 +#: build/C/man3/strtok.3:259 #, no-wrap msgid "" " for (str2 = token; ; str2 = NULL) {\n" @@ -3451,7 +3758,7 @@ msgstr "" " }\n" #. type: Plain text -#: build/C/man3/strtok.3:195 +#: build/C/man3/strtok.3:262 #, no-wrap msgid "" " exit(EXIT_SUCCESS);\n" @@ -3461,14 +3768,14 @@ msgstr "" "}\n" #. type: Plain text -#: build/C/man3/strtok.3:201 +#: build/C/man3/strtok.3:268 msgid "" "Another example program using B() can be found in B" "(3)." msgstr "B() を使った別のプログラム例が B(3) にある。" #. type: Plain text -#: build/C/man3/strtok.3:211 +#: build/C/man3/strtok.3:279 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3), B(3), B(3), B(3)" @@ -3477,31 +3784,31 @@ msgstr "" "B(3), B(3), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strverscmp.3:23 +#: build/C/man3/strverscmp.3:25 #, no-wrap msgid "STRVERSCMP" msgstr "STRVERSCMP" #. type: TH -#: build/C/man3/strverscmp.3:23 +#: build/C/man3/strverscmp.3:25 #, no-wrap msgid "2001-12-19" msgstr "2001-12-19" #. type: Plain text -#: build/C/man3/strverscmp.3:26 +#: build/C/man3/strverscmp.3:28 msgid "strverscmp - compare two version strings" msgstr "strverscmp - 2つのバージョン文字列を比較する" #. type: Plain text -#: build/C/man3/strverscmp.3:33 +#: build/C/man3/strverscmp.3:35 #, no-wrap msgid "BIB<, const char *>IB<);>\n" msgstr "BIB<, const char *>IB<);>\n" #. classical solution: "rename jan jan0 jan?" #. type: Plain text -#: build/C/man3/strverscmp.3:50 +#: build/C/man3/strverscmp.3:52 msgid "" "Often one has files I, I, ..., I, I, ... and it " "feels wrong when B(1) orders them I, I, ..., I, ..., " @@ -3517,21 +3824,21 @@ msgstr "" "されている。" #. type: Plain text -#: build/C/man3/strverscmp.3:61 +#: build/C/man3/strverscmp.3:63 msgid "" "Thus, the task of B() is to compare two strings and find the " -"\"right\" order, while B(3) only finds the lexicographic order. " +"\"right\" order, while B(3) finds only the lexicographic order. " "This function does not use the locale category B, so is meant " "mostly for situations where the strings are expected to be in ASCII." msgstr "" "このように B() の役目は2つの文字列を比較して「正しい」順序を探す" -"ことである。 これに対して B(3) は辞書順で比較した結果を返すだけであ" -"る。 関数 B() はロケールのカテゴリである B を使用し" -"ない。 このことから、この関数が主にアスキー文字から成る文字列を 想定している" -"ことが分かる。" +"ことである。 これに対して B(3) は辞書順だけで比較した結果を返す。 関" +"数 B() はロケールのカテゴリである B を使用しない。 " +"このことから、この関数が主にアスキー文字から成る文字列を 想定していることが分" +"かる。" #. type: Plain text -#: build/C/man3/strverscmp.3:79 +#: build/C/man3/strverscmp.3:81 msgid "" "What this function does is the following. If both strings are equal, return " "0. Otherwise find the position between two bytes with the property that " @@ -3558,7 +3865,7 @@ msgstr "" "I<1>, I<9>, I<10>" #. type: Plain text -#: build/C/man3/strverscmp.3:86 +#: build/C/man3/strverscmp.3:90 msgid "" "The B() function returns an integer less than, equal to, or " "greater than zero if I is found, respectively, to be earlier than, equal " @@ -3569,41 +3876,42 @@ msgstr "" "い ことを示す。" #. type: Plain text -#: build/C/man3/strverscmp.3:92 +#: build/C/man3/strverscmp.3:97 msgid "B(1), B(3), B(3), B(3)" msgstr "B(1), B(3), B(3), B(3)" #. type: TH -#: build/C/man3/strxfrm.3:28 +#: build/C/man3/strxfrm.3:30 #, no-wrap msgid "STRXFRM" msgstr "STRXFRM" #. type: Plain text -#: build/C/man3/strxfrm.3:31 +#: build/C/man3/strxfrm.3:33 msgid "strxfrm - string transformation" msgstr "strxfrm - 文字列の変換" #. type: Plain text -#: build/C/man3/strxfrm.3:54 +#: build/C/man3/strxfrm.3:62 msgid "" "The B() function transforms the I string into a form such " "that the result of B(3) on two strings that have been transformed " "with B() is the same as the result of B(3) on the two " -"strings before their transformation. The first I characters of the " +"strings before their transformation. The first I bytes of the " "transformed string are placed in I. The transformation is based on " "the program's current locale for category B. (See B" "(3))." msgstr "" -"B() 関数は文字列 I に対して、次の条件を満たすよう な変換をす" -"る: 「ある二つの文字列に対して、それぞれを B() で変換してから " -"B(3) した結果と、 B() による変換 を行わずに B" -"(3) した結果と同じ」 変換した文字列の先頭から I 文字分が I に代入さ" -"れる。 変換は、カテゴリ B に対する、プログラムの現在のロケール に" -"基づいて行われる (B(3) を参照のこと)。" +"B() 関数は、文字列 I に対して、次のような変換を行う。\n" +"変換は、ある二つの文字列に対して、それぞれを B() で変換\n" +"した文字列に対して B(3) を行った結果が、 \n" +"変換を行わずにB(3) を行った結果と同じとなるように行う。\n" +"変換された文字列の先頭から I バイト分が I に代入される。\n" +"変換は、プログラムの現在のロケールのカテゴリ B に\n" +"基づいて行われる (B(3) を参照)。" #. type: Plain text -#: build/C/man3/strxfrm.3:62 +#: build/C/man3/strxfrm.3:76 msgid "" "The B() function returns the number of bytes required to store the " "transformed string in I excluding the terminating null byte (\\(aq" @@ -3615,16 +3923,16 @@ msgstr "" "り値が I 以上の場合、 I の内容は不定となる。" #. type: Plain text -#: build/C/man3/strxfrm.3:70 +#: build/C/man3/strxfrm.3:88 msgid "" -"In the I<\"POSIX\"> or I<\"C\"> locales B() is equivalent to " -"copying the string with B(3)." +"In the I or I locales B() is equivalent to copying the " +"string with B(3)." msgstr "" -"I<\"POSIX\"> または I<\"C\"> ロケールでは、関数 B() は、 関数 " -"B(3) を使って文字列をコピーするのと同じである。" +"I または I ロケールでは、関数 B() は、 関数 B" +"(3) を使って文字列をコピーするのと同じである。" #. type: Plain text -#: build/C/man3/strxfrm.3:77 +#: build/C/man3/strxfrm.3:96 msgid "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3)" @@ -3632,18 +3940,5 @@ msgstr "" "B(3), B(3), B(3), B(3), B(3), " "B(3), B(3)" -#~ msgid "COLOPHON" -#~ msgstr "この文書について" - -#~ msgid "" -#~ "This page is part of release 3.38 of the Linux I project. A " -#~ "description of the project, and information about reporting bugs, can be " -#~ "found at http://www.kernel.org/doc/man-pages/." -#~ msgstr "" -#~ "この man ページは Linux I プロジェクトのリリース 3.38 の一部で" -#~ "ある。\n" -#~ "プロジェクトの説明とバグ報告に関する情報は\n" -#~ "http://www.kernel.org/doc/man-pages/ に書かれている。" - -#~ msgid "2009-12-04" -#~ msgstr "2009-12-04" +#~ msgid "2012-04-22" +#~ msgstr "2012-04-22"