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