]> git.saurik.com Git - apple/libc.git/blame - string/FreeBSD/wmemchr.3.patch
Libc-763.11.tar.gz
[apple/libc.git] / string / FreeBSD / wmemchr.3.patch
CommitLineData
1f2f436a
A
1--- wmemchr.3.orig 2009-12-16 13:19:24.000000000 -0800
2+++ wmemchr.3 2009-12-16 13:30:23.000000000 -0800
3@@ -39,11 +39,6 @@
224c7076
A
4 .Dt WMEMCHR 3
5 .Os
6 .Sh NAME
7-.Nm wmemchr ,
8-.Nm wmemcmp ,
9-.Nm wmemcpy ,
10-.Nm wmemmove ,
11-.Nm wmemset ,
1f2f436a
A
12 .Nm wcpcpy ,
13 .Nm wcpncpy ,
14 .Nm wcscasecmp ,
15@@ -64,23 +59,18 @@
224c7076
A
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"
1f2f436a 33-.Ft int
224c7076
A
34-.Fn wmemcmp "const wchar_t *s1" "const wchar_t *s2" "size_t n"
35-.Ft wchar_t *
36-.Fn wmemcpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n"
37-.Ft wchar_t *
38-.Fn wmemmove "wchar_t *s1" "const wchar_t *s2" "size_t n"
39-.Ft wchar_t *
40-.Fn wmemset "wchar_t *s" "wchar_t c" "size_t n"
41-.Ft wchar_t *
1f2f436a
A
42 .Fn wcpcpy "wchar_t *s1" "wchar_t *s2"
43 .Ft wchar_t *
44 .Fn wcpncpy "wchar_t *s1" "wchar_t *s2" "size_t n"
45@@ -122,6 +112,22 @@
46 .Fn wcsspn "const wchar_t *s1" "const wchar_t *s2"
47 .Ft wchar_t *
48 .Fn wcsstr "const wchar_t * restrict s1" "const wchar_t * restrict s2"
224c7076 49+.Ft wchar_t *
1f2f436a 50+.Fn wmemchr "const wchar_t *s" "wchar_t c" "size_t n"
224c7076 51+.Ft int
1f2f436a 52+.Fn wmemcmp "const wchar_t *s1" "const wchar_t *s2" "size_t n"
224c7076 53+.Ft wchar_t *
1f2f436a 54+.Fn wmemcpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n"
224c7076 55+.Ft wchar_t *
1f2f436a 56+.Fn wmemmove "wchar_t *s1" "const wchar_t *s2" "size_t n"
224c7076 57+.Ft wchar_t *
1f2f436a
A
58+.Fn wmemset "wchar_t *s" "wchar_t c" "size_t n"
59+.In wchar.h
60+.In xlocale.h
61+.Ft int
62+.Fn wcscasecmp_l "const wchar_t *s1" "const wchar_t *s2" "locale_t loc"
63+.Ft int
64+.Fn wcsncasecmp_l "const wchar_t *s1" "const wchar_t *s2" "size_t n" "locale_t loc"
224c7076 65 .Sh DESCRIPTION
1f2f436a
A
66 The functions implement string manipulation operations over wide character
67 strings.
68@@ -137,6 +143,7 @@ counterpart, such as
69 .Xr stpcpy 3 ,
70 .Xr stpncpy 3 ,
71 .Xr strcasecmp 3 ,
72+.Xr strcasecmp_l 3 ,
73 .Xr strcat 3 ,
74 .Xr strchr 3 ,
75 .Xr strcmp 3 ,
76@@ -146,6 +153,8 @@ counterpart, such as
77 .Xr strlcat 3 ,
78 .Xr strlcpy 3 ,
79 .Xr strlen 3 ,
80+.Xr strncasecmp 3 ,
81+.Xr strncasecmp_l 3 ,
82 .Xr strncat 3 ,
83 .Xr strncmp 3 ,
84 .Xr strncpy 3 ,
85@@ -153,7 +162,8 @@ counterpart, such as
86 .Xr strpbrk 3 ,
87 .Xr strrchr 3 ,
88 .Xr strspn 3 ,
89-.Xr strstr 3
90+.Xr strstr 3 ,
91+.Xr xlocale 3
92 .Sh STANDARDS
93 These functions conform to
94 .St -isoC-99 ,
95@@ -161,8 +171,10 @@ with the exception of
96 .Fn wcpcpy ,
97 .Fn wcpncpy ,
98 .Fn wcscasecmp ,
99+.Fn wcscasecmp_l ,
100 .Fn wcsdup ,
101 .Fn wcsncasecmp ,
102+.Fn wcsncasecmp_l ,
103 and
104 .Fn wcsnlen ,
105 which conform to