msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-04-25 05:37+0900\n"
+"POT-Creation-Date: 2012-05-01 04:39+0900\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
msgstr ""
#. 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: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:103 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:79 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:134 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
#, no-wrap
msgid "RETURN VALUE"
msgstr ""
msgstr ""
#. 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: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:122 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:102 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:173 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
#, no-wrap
msgid "CONFORMING TO"
msgstr ""
msgstr ""
#. 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: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:134 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:109 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:202 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
#, no-wrap
msgid "SEE ALSO"
msgstr ""
#. type: Plain text
-#: build/C/man3/bcmp.3:72
+#: build/C/man3/bcmp.3:73
msgid ""
"B<memcmp>(3), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3), "
"B<strncasecmp>(3), B<strncmp>(3)"
msgstr ""
+#. type: SH
+#: build/C/man3/bcmp.3:73 build/C/man3/bcopy.3:72 build/C/man3/bstring.3:92 build/C/man3/bzero.3:58 build/C/man3/ffs.3:103 build/C/man3/index.3:81 build/C/man3/memccpy.3:59 build/C/man3/memchr.3:145 build/C/man3/memcmp.3:63 build/C/man3/memcpy.3:60 build/C/man3/memfrob.3:63 build/C/man3/memmem.3:65 build/C/man3/memmove.3:64 build/C/man3/mempcpy.3:72 build/C/man3/memset.3:53 build/C/man3/stpcpy.3:107 build/C/man3/stpncpy.3:69 build/C/man3/strcasecmp.3:72 build/C/man3/strcat.3:108 build/C/man3/strchr.3:122 build/C/man3/strcmp.3:75 build/C/man3/strcoll.3:71 build/C/man3/strcpy.3:146 build/C/man3/strdup.3:129 build/C/man3/strerror.3:208 build/C/man3/strfry.3:60 build/C/man3/string.3:117 build/C/man3/strlen.3:53 build/C/man3/strnlen.3:60 build/C/man3/strpbrk.3:61 build/C/man3/strsep.3:96 build/C/man3/strsignal.3:86 build/C/man3/strspn.3:77 build/C/man3/strstr.3:86 build/C/man3/strtok.3:212 build/C/man3/strverscmp.3:93 build/C/man3/strxfrm.3:78
+#, no-wrap
+msgid "COLOPHON"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/bcmp.3:80 build/C/man3/bcopy.3:79 build/C/man3/bstring.3:99 build/C/man3/bzero.3:65 build/C/man3/ffs.3:110 build/C/man3/index.3:88 build/C/man3/memccpy.3:66 build/C/man3/memchr.3:152 build/C/man3/memcmp.3:70 build/C/man3/memcpy.3:67 build/C/man3/memfrob.3:70 build/C/man3/memmem.3:72 build/C/man3/memmove.3:71 build/C/man3/mempcpy.3:79 build/C/man3/memset.3:60 build/C/man3/stpcpy.3:114 build/C/man3/stpncpy.3:76 build/C/man3/strcasecmp.3:79 build/C/man3/strcat.3:115 build/C/man3/strchr.3:129 build/C/man3/strcmp.3:82 build/C/man3/strcoll.3:78 build/C/man3/strcpy.3:153 build/C/man3/strdup.3:136 build/C/man3/strerror.3:215 build/C/man3/strfry.3:67 build/C/man3/string.3:124 build/C/man3/strlen.3:60 build/C/man3/strnlen.3:67 build/C/man3/strpbrk.3:68 build/C/man3/strsep.3:103 build/C/man3/strsignal.3:93 build/C/man3/strspn.3:84 build/C/man3/strstr.3:93 build/C/man3/strtok.3:219 build/C/man3/strverscmp.3:100 build/C/man3/strxfrm.3:85
+msgid ""
+"This page is part of release 3.40 of the Linux I<man-pages> project. A "
+"description of the project, and information about reporting bugs, can be "
+"found at http://www.kernel.org/doc/man-pages/."
+msgstr ""
+
#. type: TH
#: build/C/man3/bcopy.3:31
#, no-wrap
msgstr ""
#. type: Plain text
-#: build/C/man3/bcopy.3:71
+#: build/C/man3/bcopy.3:72
msgid "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/bstring.3:91
+#: build/C/man3/bstring.3:92
msgid ""
"B<bcmp>(3), B<bcopy>(3), B<bzero>(3), B<memccpy>(3), B<memchr>(3), "
"B<memcmp>(3), B<memcpy>(3), B<memfrob>(3), B<memmem>(3), B<memmove>(3), "
msgstr ""
#. type: Plain text
-#: build/C/man3/bzero.3:57
+#: build/C/man3/bzero.3:58
msgid "B<memset>(3), B<swab>(3)"
msgstr ""
msgstr ""
#. 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:31 build/C/man3/strcasecmp.3:28 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
#, no-wrap
msgid "2010-09-20"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/ffs.3:102
+#: build/C/man3/ffs.3:103
msgid "B<memchr>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/index.3:80
+#: build/C/man3/index.3:81
msgid ""
"B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strrchr>(3), "
"B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/memccpy.3:58
+#: build/C/man3/memccpy.3:59
msgid "B<bcopy>(3), B<memcpy>(3), B<memmove>(3), B<strcpy>(3), B<strncpy>(3)"
msgstr ""
#. type: TH
#: build/C/man3/memchr.3:30
#, no-wrap
-msgid "2012-04-16"
+msgid "2012-04-23"
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:59
+#: build/C/man3/memchr.3:68
msgid ""
-"The B<memchr>() function scans the first I<n> bytes of the memory area "
-"pointed to by I<s> for the character I<c>. The first byte to match I<c> "
-"(interpreted as an unsigned character) stops the operation."
+"The B<memchr>() function scans the initial I<n> bytes of the memory area "
+"pointed to by I<s> for the first instance of I<c>. Both I<c> and the bytes "
+"of the memory area pointed to by I<s> are interpreted as I<unsigned char>."
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:67
+#: build/C/man3/memchr.3:79
msgid ""
"The B<memrchr>() function is like the B<memchr>() function, except that it "
"searches backward from the end of the I<n> bytes pointed to by I<s> instead "
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:91
+#: build/C/man3/memchr.3:97
msgid ""
"The B<rawmemchr>() function is similar to B<memchr>(): it assumes (i.e., "
-"the programmer knows for certain) that the character I<c> lies somewhere in "
-"the string I<s>, and so performs an optimized search for the character I<c> "
-"(i.e., no use of a count argument argument to limit the range of the "
-"search). If the character I<c> is not in the string I<s>, then "
-"B<rawmemchr>() 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<c> lies somewhere "
+"in the memory area starting at the location pointed to by I<s>, and so "
+"performs an optimized search for I<c> (i.e., no use of a count argument "
+"argument to limit the range of the search). If an instance of I<c> is not "
+"found, the results are unpredictable. The following call is a fast means of "
+"locating a string's terminating null byte:"
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:95
+#: build/C/man3/memchr.3:101
#, no-wrap
msgid "char *p = rawmemchr(s,\\ \\(aq\\e0\\(aq);\n"
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:105
+#: build/C/man3/memchr.3:111
msgid ""
"The B<memchr>() and B<memrchr>() functions return a pointer to the "
"matching byte or NULL if the character does not occur in the given memory "
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:110
+#: build/C/man3/memchr.3:116
msgid ""
"The B<rawmemchr>() function returns a pointer to the matching byte, if one "
"is found. If no matching byte is found, the result is unspecified."
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:116 build/C/man3/mempcpy.3:51 build/C/man3/strchr.3:99
#, no-wrap
msgid "VERSIONS"
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:113
+#: build/C/man3/memchr.3:119
msgid "B<rawmemchr>() first appeared in glibc in version 2.1."
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:116
+#: build/C/man3/memchr.3:122
msgid "B<memrchr>() first appeared in glibc in version 2.2."
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:120
+#: build/C/man3/memchr.3:126
msgid "The B<memchr>() function conforms to SVr4, 4.3BSD, C89, C99, POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:124
+#: build/C/man3/memchr.3:130
msgid "The B<memrchr>() function is a GNU extension, available since glibc 2.1.91."
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:128
+#: build/C/man3/memchr.3:134
msgid "The B<rawmemchr>() function is a GNU extension, available since glibc 2.1."
msgstr ""
#. type: Plain text
-#: build/C/man3/memchr.3:138
+#: build/C/man3/memchr.3:145
msgid ""
"B<ffs>(3), B<index>(3), B<rindex>(3), B<strchr>(3), B<strpbrk>(3), "
"B<strrchr>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wmemchr>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/memcmp.3:62
+#: build/C/man3/memcmp.3:63
msgid ""
"B<bcmp>(3), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3), "
"B<strncasecmp>(3), B<strncmp>(3), B<wmemcmp>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/memcpy.3:59
+#: build/C/man3/memcpy.3:60
msgid ""
"B<bcopy>(3), B<memccpy>(3), B<memmove>(3), B<mempcpy>(3), B<strcpy>(3), "
"B<strncpy>(3), B<wmemcpy>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/memfrob.3:62
+#: build/C/man3/memfrob.3:63
msgid "B<strfry>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/memmem.3:64
+#: build/C/man3/memmem.3:65
msgid "B<strstr>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/memmove.3:63
+#: build/C/man3/memmove.3:64
msgid ""
"B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<strncpy>(3), "
"B<wmemmove>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/mempcpy.3:71
+#: build/C/man3/mempcpy.3:72
msgid "B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<wmemcpy>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/memset.3:52
+#: build/C/man3/memset.3:53
msgid "B<bzero>(3), B<swab>(3), B<wmemset>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/stpcpy.3:106
+#: build/C/man3/stpcpy.3:107
msgid ""
"B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<stpncpy>(3), "
"B<strcpy>(3), B<string>(3), B<wcpcpy>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/stpncpy.3:68
+#: build/C/man3/stpncpy.3:69
msgid "B<strncpy>(3), B<wcpncpy>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/strcasecmp.3:71
+#: build/C/man3/strcasecmp.3:72
msgid ""
"B<bcmp>(3), B<memcmp>(3), B<strcmp>(3), B<strcoll>(3), B<string>(3), "
"B<strncmp>(3), B<wcscasecmp>(3), B<wcsncasecmp>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/strcat.3:107
+#: build/C/man3/strcat.3:108
msgid ""
"B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<strcpy>(3), B<string>(3), "
"B<strncpy>(3), B<wcscat>(3), B<wcsncat>(3)"
msgid "STRCHR"
msgstr ""
+#. type: TH
+#: build/C/man3/strchr.3:31
+#, no-wrap
+msgid "2012-04-24"
+msgstr ""
+
#. type: Plain text
#: build/C/man3/strchr.3:34
msgid "strchr, strrchr, strchrnul - locate character in string"
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:52
+#: build/C/man3/strchr.3:55
msgid ""
"The B<strchr>() function returns a pointer to the first occurrence of the "
"character I<c> in the string I<s>."
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:57
+#: build/C/man3/strchr.3:63
msgid ""
"The B<strrchr>() function returns a pointer to the last occurrence of the "
"character I<c> in the string I<s>."
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:65
+#: build/C/man3/strchr.3:76
msgid ""
"The B<strchrnul>() function is like B<strchr>() except that if I<c> is not "
"found in I<s>, then it returns a pointer to the null byte at the end of "
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:68
+#: build/C/man3/strchr.3:79
msgid ""
"Here \"character\" means \"byte\"; these functions do not work with wide or "
"multibyte characters."
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:75
+#: build/C/man3/strchr.3:91
msgid ""
"The B<strchr>() and B<strrchr>() 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<c> is specified as "
+"\\(aq\\e0\\(aq, these functions return a pointer to the terminator."
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:83
+#: build/C/man3/strchr.3:99
msgid ""
"The B<strchrnul>() function returns a pointer to the matched character, or "
"a pointer to the null byte at the end of I<s> (i.e., I<s+strlen(s)>) if the "
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:86
+#: build/C/man3/strchr.3:102
msgid "B<strchrnul>() first appeared in glibc in version 2.1.1."
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:93
+#: build/C/man3/strchr.3:109
msgid ""
"B<strchr>() and B<strrchr>() are in SVr4, 4.3BSD, C89, C99. "
"B<strchrnul>() is a GNU extension."
msgstr ""
#. type: Plain text
-#: build/C/man3/strchr.3:105
+#: build/C/man3/strchr.3:122
msgid ""
"B<index>(3), B<memchr>(3), B<rindex>(3), B<string>(3), B<strlen>(3), "
"B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), "
msgstr ""
#. type: Plain text
-#: build/C/man3/strcmp.3:74
+#: build/C/man3/strcmp.3:75
msgid ""
"B<bcmp>(3), B<memcmp>(3), B<strcasecmp>(3), B<strcoll>(3), B<string>(3), "
"B<strncasecmp>(3), B<strverscmp>(3), B<wcscmp>(3), B<wcsncmp>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/strcoll.3:70
+#: build/C/man3/strcoll.3:71
msgid ""
"B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
"B<string>(3), B<strxfrm>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/strcpy.3:145
+#: build/C/man3/strcpy.3:146
msgid ""
"B<bcopy>(3), B<memccpy>(3), B<memcpy>(3), B<memmove>(3), B<stpcpy>(3), "
"B<stpncpy>(3), B<strdup>(3), B<string>(3), B<wcscpy>(3), B<wcsncpy>(3)"
msgstr ""
#. type: SH
-#: build/C/man3/strdup.3:107 build/C/man3/strerror.3:139
+#: build/C/man3/strdup.3:107 build/C/man3/strerror.3:164
#, no-wrap
msgid "ERRORS"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/strdup.3:128
+#: build/C/man3/strdup.3:129
msgid ""
"B<alloca>(3), B<calloc>(3), B<free>(3), B<malloc>(3), B<realloc>(3), "
"B<string>(3), B<wcsdup>(3)"
#. type: TH
#: build/C/man3/strerror.3:37
#, no-wrap
-msgid "2009-03-30"
+msgid "2012-04-22"
msgstr ""
#. type: Plain text
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:78
+#: build/C/man3/strerror.3:85
msgid ""
"The B<strerror>() function returns a pointer to a string that describes the "
"error code passed in the argument I<errnum>, possibly using the "
"B<LC_MESSAGES> 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<perror>(3) or B<strerror>(). No library "
-"function will modify this string."
+"language. (For example, if I<errnum> is B<EINVAL>, 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<strerror>(). No "
+"library function, including B<perror>(3), will modify this string."
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:99
+#: build/C/man3/strerror.3:106
msgid ""
"The B<strerror_r>() function is similar to B<strerror>(), 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<strerror_r>() is "
-"provided by default."
+"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<strerror_r>() is provided "
+"by default."
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:107
+#: build/C/man3/strerror.3:114
msgid ""
"The XSI-compliant B<strerror_r>() is preferred for portable applications. "
"It returns the error string in the user-supplied buffer I<buf> of length "
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:124
+#: build/C/man3/strerror.3:134
msgid ""
"The GNU-specific B<strerror_r>() 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<buf>, or a pointer to some (immutable) static string "
"(in which case I<buf> is unused). If the function stores a string in "
"I<buf>, then at most I<buflen> bytes are stored (the string may be truncated "
-"if I<buflen> is too small) and the string always includes a terminating null "
-"byte."
+"if I<buflen> is too small and I<errnum> is unknown). The string always "
+"includes a terminating null byte."
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:132
+#: build/C/man3/strerror.3:142
msgid ""
"The B<strerror>() and the GNU-specific B<strerror_r>() functions return "
"the appropriate error description string, or an \"Unknown error nnn\" "
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:139
+#: build/C/man3/strerror.3:155
+msgid ""
+"POSIX.1-2001 and POSIX.1-2008 require that a successful call to "
+"B<strerror>(3) shall leave I<errno> 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<errno> to zero before the "
+"call, and then check I<errno> after the call."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/strerror.3:164
msgid ""
-"The XSI-compliant B<strerror_r>() function returns 0 on success; on error, "
-"-1 is returned and I<errno> is set to indicate the error."
+"The XSI-compliant B<strerror_r>() function returns 0 on success. On error, "
+"a (positive) error number is returned (since glibc 2.13), or -1 is returned "
+"and I<errno> is set to indicate the error (glibc versions before 2.13)."
msgstr ""
#. type: TP
-#: build/C/man3/strerror.3:140
+#: build/C/man3/strerror.3:165
#, no-wrap
msgid "B<EINVAL>"
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:145
+#: build/C/man3/strerror.3:170
msgid "The value of I<errnum> is not a valid error number."
msgstr ""
#. type: TP
-#: build/C/man3/strerror.3:145
+#: build/C/man3/strerror.3:170
#, no-wrap
msgid "B<ERANGE>"
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:148
+#: build/C/man3/strerror.3:173
msgid "Insufficient storage was supplied to contain the error description string."
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:153
+#: build/C/man3/strerror.3:178
msgid ""
"B<strerror>() is specified by POSIX.1-2001, C89, C99. B<strerror_r>() is "
"specified by POSIX.1-2001."
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:157
+#: build/C/man3/strerror.3:182
msgid "The GNU-specific B<strerror_r>() function is a nonstandard extension."
msgstr ""
#. 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:202
msgid ""
"POSIX.1-2001 permits B<strerror>() to set I<errno> 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<strerror>() returns "
"NULL if the error number is unknown. On other systems, B<strerror>() "
"returns a string something like \"Error nnn occurred\" and sets I<errno> to "
-"B<EINVAL> if the error number is unknown."
+"B<EINVAL> if the error number is unknown. C99 and POSIX.1-2008 require the "
+"return value to be non-NULL."
msgstr ""
#. type: Plain text
-#: build/C/man3/strerror.3:181
+#: build/C/man3/strerror.3:208
msgid "B<err>(3), B<errno>(3), B<error>(3), B<perror>(3), B<strsignal>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/strfry.3:59
+#: build/C/man3/strfry.3:60
msgid "B<memfrob>(3), B<string>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/string.3:116
+#: build/C/man3/string.3:117
msgid ""
"B<index>(3), B<rindex>(3), B<stpcpy>(3), B<strcasecmp>(3), B<strcat>(3), "
"B<strchr>(3), B<strcmp>(3), B<strcoll>(3), B<strcpy>(3), B<strcspn>(3), "
msgstr ""
#. type: Plain text
-#: build/C/man3/strlen.3:52
+#: build/C/man3/strlen.3:53
msgid "B<string>(3), B<strnlen>(3), B<wcslen>(3), B<wcsnlen>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/strnlen.3:59
+#: build/C/man3/strnlen.3:60
msgid "B<strlen>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/strpbrk.3:60
+#: build/C/man3/strpbrk.3:61
msgid ""
"B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
"B<strsep>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3), B<wcspbrk>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/strsep.3:95
+#: build/C/man3/strsep.3:96
msgid ""
"B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
"B<strpbrk>(3), B<strspn>(3), B<strstr>(3), B<strtok>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/strsignal.3:85
+#: build/C/man3/strsignal.3:86
msgid "B<psignal>(3), B<strerror>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/strspn.3:76
+#: build/C/man3/strspn.3:77
msgid ""
"B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
"B<strpbrk>(3), B<strsep>(3), B<strstr>(3), B<strtok>(3), B<wcscspn>(3), "
msgstr ""
#. type: Plain text
-#: build/C/man3/strstr.3:85
+#: build/C/man3/strstr.3:86
msgid ""
"B<index>(3), B<memchr>(3), B<rindex>(3), B<strcasecmp>(3), B<strchr>(3), "
"B<string>(3), B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strtok>(3), "
msgstr ""
#. type: Plain text
-#: build/C/man3/strtok.3:211
+#: build/C/man3/strtok.3:212
msgid ""
"B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
"B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
msgstr ""
#. type: Plain text
-#: build/C/man3/strverscmp.3:92
+#: build/C/man3/strverscmp.3:93
msgid "B<rename>(1), B<strcasecmp>(3), B<strcmp>(3), B<strcoll>(3)"
msgstr ""
msgstr ""
#. type: Plain text
-#: build/C/man3/strxfrm.3:77
+#: build/C/man3/strxfrm.3:78
msgid ""
"B<bcmp>(3), B<memcmp>(3), B<setlocale>(3), B<strcasecmp>(3), B<strcmp>(3), "
"B<strcoll>(3), B<string>(3)"