Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 | --- _SB/Libc/string/FreeBSD/wmemchr.3 2003-05-20 15:23:56.000000000 -0700 +++ _SB/Libc/string/FreeBSD/wmemchr.3.edit 2006-06-28 16:55:53.000000000 -0700 @@ -43,11 +43,6 @@ .Dt WMEMCHR 3 .Os .Sh NAME -.Nm wmemchr , -.Nm wmemcmp , -.Nm wmemcpy , -.Nm wmemmove , -.Nm wmemset , .Nm wcscat , .Nm wcschr , .Nm wcscmp , @@ -62,57 +57,131 @@ .Nm wcspbrk , .Nm wcsrchr , .Nm wcsspn , -.Nm wcsstr +.Nm wcsstr , +.Nm wmemchr , +.Nm wmemcmp , +.Nm wmemcpy , +.Nm wmemmove , +.Nm wmemset .Nd wide character string manipulation operations .Sh LIBRARY .Lb libc .Sh SYNOPSIS .In wchar.h .Ft wchar_t * -.Fn wmemchr "const wchar_t *s" "wchar_t c" "size_t n" +.Fo wcscat +.Fa "wchar_t *restrict ws1" +.Fa "const wchar_t *restrict ws2" +.Fc +.Ft wchar_t * +.Fo wcschr +.Fa "const wchar_t *ws" +.Fa "wchar_t wc" +.Fc .Ft int -.Fn wmemcmp "const wchar_t *s1" "const wchar_t *s2" "size_t n" -.Ft wchar_t * -.Fn wmemcpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" -.Ft wchar_t * -.Fn wmemmove "wchar_t *s1" "const wchar_t *s2" "size_t n" -.Ft wchar_t * -.Fn wmemset "wchar_t *s" "wchar_t c" "size_t n" -.Ft wchar_t * -.Fn wcscat "wchar_t * restrict s1" "const wchar_t * restrict s2" -.Ft wchar_t * -.Fn wcschr "const wchar_t *s" "wchar_t c" -.Ft int -.Fn wcscmp "const wchar_t *s1" "const wchar_t *s2" -.Ft wchar_t * -.Fn wcscpy "wchar_t * restrict s1" "const wchar_t * restrict s2" +.Fo wcscmp +.Fa "const wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fc +.Ft wchar_t * +.Fo wcscpy +.Fa "wchar_t *restrict ws1" +.Fa "const wchar_t *restrict ws2" +.Fc .Ft size_t -.Fn wcscspn "const wchar_t *s1" "const wchar_t *s2" +.Fo wcscspn +.Fa "const wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fc .Ft size_t -.Fn wcslcat "wchar_t *s1" "const wchar_t *s2" "size_t n" +.Fo wcslcat +.Fa "wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fa "size_t n" +.Fc .Ft size_t -.Fn wcslcpy "wchar_t *s1" "const wchar_t *s2" "size_t n" +.Fo wcslcpy +.Fa "wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fa "size_t n" +.Fc .Ft size_t -.Fn wcslen "const wchar_t *s" -.Ft wchar_t * -.Fn wcsncat "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" +.Fo wcslen +.Fa "const wchar_t *ws" +.Fc +.Ft wchar_t * +.Fo wcsncat +.Fa "wchar_t *restrict ws1" +.Fa "const wchar_t *restrict ws2" +.Fa "size_t n" +.Fc .Ft int -.Fn wcsncmp "const wchar_t *s1" "const wchar_t * s2" "size_t n" -.Ft wchar_t * -.Fn wcsncpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" -.Ft wchar_t * -.Fn wcspbrk "const wchar_t *s1" "const wchar_t *s2" -.Ft wchar_t * -.Fn wcsrchr "const wchar_t *s" "wchar_t c" +.Fo wcsncmp +.Fa "const wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fa "size_t n" +.Fc +.Ft wchar_t * +.Fo wcsncpy +.Fa "wchar_t *restrict ws1" +.Fa "const wchar_t *restrict ws2" +.Fa "size_t n" +.Fc +.Ft wchar_t * +.Fo wcspbrk +.Fa "const wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fc +.Ft wchar_t * +.Fo wcsrchr +.Fa "const wchar_t *ws" +.Fa "wchar_t wc" +.Fc .Ft size_t -.Fn wcsspn "const wchar_t *s1" "const wchar_t *s2" -.Ft wchar_t * -.Fn wcsstr "const wchar_t * restrict s1" "const wchar_t * restrict s2" +.Fo wcsspn +.Fa "const wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fc +.Ft wchar_t * +.Fo wcsstr +.Fa "const wchar_t *restrict ws1" +.Fa "const wchar_t *restrict ws2" +.Fc +.Ft wchar_t * +.Fo wmemchr +.Fa "const wchar_t *ws" +.Fa "wchar_t wc" +.Fa "size_t n" +.Fc +.Ft int +.Fo wmemcmp +.Fa "const wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fa "size_t n" +.Fc +.Ft wchar_t * +.Fo wmemcpy +.Fa "wchar_t *restrict ws1" +.Fa "const wchar_t *restrict ws2" +.Fa "size_t n" +.Fc +.Ft wchar_t * +.Fo wmemmove +.Fa "wchar_t *ws1" +.Fa "const wchar_t *ws2" +.Fa "size_t n" +.Fc +.Ft wchar_t * +.Fo wmemset +.Fa "wchar_t *ws" +.Fa "wchar_t wc" +.Fa "size_t n" +.Fc .Sh DESCRIPTION -The functions implement string manipulation operations over wide character -strings. -For a detailed description, refer to documents for the respective single-byte -counterpart, such as +The functions implement string manipulation operations +over wide character strings. +For a detailed description, +refer to documents for the respective single-byte counterpart, such as .Xr memchr 3 . .Sh SEE ALSO .Xr memchr 3 , |