diff options
author | espie <> | 2011-05-28 15:16:46 +0000 |
---|---|---|
committer | espie <> | 2011-05-28 15:16:46 +0000 |
commit | 4f95c6d97693bb8ecaa538419856ab37e88f1612 (patch) | |
tree | ab656b594c1b784500e488a856da2be9fb492783 /src/lib/libc/string/wmemchr.3 | |
parent | ad544c844de4aebf9a34b9a0cd785ce2d834b7a3 (diff) | |
download | openbsd-4f95c6d97693bb8ecaa538419856ab37e88f1612.tar.gz openbsd-4f95c6d97693bb8ecaa538419856ab37e88f1612.tar.bz2 openbsd-4f95c6d97693bb8ecaa538419856ab37e88f1612.zip |
wcs(n)casecmp support, manpage comments from jmc@, okay deraadt@
Diffstat (limited to 'src/lib/libc/string/wmemchr.3')
-rw-r--r-- | src/lib/libc/string/wmemchr.3 | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/src/lib/libc/string/wmemchr.3 b/src/lib/libc/string/wmemchr.3 index ff82c7b530..7c0740a03e 100644 --- a/src/lib/libc/string/wmemchr.3 +++ b/src/lib/libc/string/wmemchr.3 | |||
@@ -1,4 +1,4 @@ | |||
1 | .\" $OpenBSD: wmemchr.3,v 1.4 2010/09/10 18:38:20 jmc Exp $ | 1 | .\" $OpenBSD: wmemchr.3,v 1.5 2011/05/28 15:16:46 espie Exp $ |
2 | .\" | 2 | .\" |
3 | .\" $NetBSD: wmemchr.3,v 1.9 2003/09/08 17:54:33 wiz Exp $ | 3 | .\" $NetBSD: wmemchr.3,v 1.9 2003/09/08 17:54:33 wiz Exp $ |
4 | .\" | 4 | .\" |
@@ -35,7 +35,7 @@ | |||
35 | .\" | 35 | .\" |
36 | .\" from: @(#)strcpy.3 8.1 (Berkeley) 6/4/93 | 36 | .\" from: @(#)strcpy.3 8.1 (Berkeley) 6/4/93 |
37 | .\" | 37 | .\" |
38 | .Dd $Mdocdate: September 10 2010 $ | 38 | .Dd $Mdocdate: May 28 2011 $ |
39 | .Dt WMEMCHR 3 | 39 | .Dt WMEMCHR 3 |
40 | .Os | 40 | .Os |
41 | .Sh NAME | 41 | .Sh NAME |
@@ -47,6 +47,7 @@ | |||
47 | .Nm wcscat , | 47 | .Nm wcscat , |
48 | .Nm wcschr , | 48 | .Nm wcschr , |
49 | .Nm wcscmp , | 49 | .Nm wcscmp , |
50 | .Nm wcscasecmp , | ||
50 | .Nm wcscpy , | 51 | .Nm wcscpy , |
51 | .Nm wcscspn , | 52 | .Nm wcscspn , |
52 | .Nm wcslcat , | 53 | .Nm wcslcat , |
@@ -54,6 +55,7 @@ | |||
54 | .Nm wcslen , | 55 | .Nm wcslen , |
55 | .Nm wcsncat , | 56 | .Nm wcsncat , |
56 | .Nm wcsncmp , | 57 | .Nm wcsncmp , |
58 | .Nm wcsncasecmp , | ||
57 | .Nm wcsncpy , | 59 | .Nm wcsncpy , |
58 | .Nm wcspbrk , | 60 | .Nm wcspbrk , |
59 | .Nm wcsrchr , | 61 | .Nm wcsrchr , |
@@ -78,6 +80,8 @@ | |||
78 | .Fn wcschr "const wchar_t *s" "wchar_t c" | 80 | .Fn wcschr "const wchar_t *s" "wchar_t c" |
79 | .Ft int | 81 | .Ft int |
80 | .Fn wcscmp "const wchar_t *s1" "const wchar_t *s2" | 82 | .Fn wcscmp "const wchar_t *s1" "const wchar_t *s2" |
83 | .Ft int | ||
84 | .Fn wcscasecmp "const wchar_t *s1" "const wchar_t *s2" | ||
81 | .Ft wchar_t * | 85 | .Ft wchar_t * |
82 | .Fn wcscpy "wchar_t * restrict s1" "const wchar_t * restrict s2" | 86 | .Fn wcscpy "wchar_t * restrict s1" "const wchar_t * restrict s2" |
83 | .Ft size_t | 87 | .Ft size_t |
@@ -92,6 +96,8 @@ | |||
92 | .Fn wcsncat "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" | 96 | .Fn wcsncat "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" |
93 | .Ft int | 97 | .Ft int |
94 | .Fn wcsncmp "const wchar_t *s1" "const wchar_t * s2" "size_t n" | 98 | .Fn wcsncmp "const wchar_t *s1" "const wchar_t * s2" "size_t n" |
99 | .Ft int | ||
100 | .Fn wcsncasecmp "const wchar_t *s1" "const wchar_t * s2" "size_t n" | ||
95 | .Ft wchar_t * | 101 | .Ft wchar_t * |
96 | .Fn wcsncpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" | 102 | .Fn wcsncpy "wchar_t * restrict s1" "const wchar_t * restrict s2" "size_t n" |
97 | .Ft wchar_t * | 103 | .Ft wchar_t * |
@@ -117,6 +123,7 @@ counterpart, such as | |||
117 | .Xr strcat 3 , | 123 | .Xr strcat 3 , |
118 | .Xr strchr 3 , | 124 | .Xr strchr 3 , |
119 | .Xr strcmp 3 , | 125 | .Xr strcmp 3 , |
126 | .Xr strcasecmp 3 , | ||
120 | .Xr strcpy 3 , | 127 | .Xr strcpy 3 , |
121 | .Xr strcspn 3 , | 128 | .Xr strcspn 3 , |
122 | .Xr strlcat 3 , | 129 | .Xr strlcat 3 , |
@@ -124,6 +131,7 @@ counterpart, such as | |||
124 | .Xr strlen 3 , | 131 | .Xr strlen 3 , |
125 | .Xr strncat 3 , | 132 | .Xr strncat 3 , |
126 | .Xr strncmp 3 , | 133 | .Xr strncmp 3 , |
134 | .Xr strncasecmp 3 , | ||
127 | .Xr strncpy 3 , | 135 | .Xr strncpy 3 , |
128 | .Xr strpbrk 3 , | 136 | .Xr strpbrk 3 , |
129 | .Xr strrchr 3 , | 137 | .Xr strrchr 3 , |
@@ -134,7 +142,13 @@ These functions conform to | |||
134 | .St -isoC-99 | 142 | .St -isoC-99 |
135 | and were first introduced in | 143 | and were first introduced in |
136 | .St -isoC-amd1 , | 144 | .St -isoC-amd1 , |
137 | with the exception of | 145 | except for |
146 | .Fn wcscasecmp | ||
147 | and | ||
148 | .Fn wcsncasecmp , | ||
149 | which conform to | ||
150 | .St -p1003.1-2008 , | ||
151 | and for | ||
138 | .Fn wcslcat | 152 | .Fn wcslcat |
139 | and | 153 | and |
140 | .Fn wcslcpy , | 154 | .Fn wcslcpy , |