diff options
Diffstat (limited to 'src/lib/libc/string/wcscmp.3')
| -rw-r--r-- | src/lib/libc/string/wcscmp.3 | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/lib/libc/string/wcscmp.3 b/src/lib/libc/string/wcscmp.3 index 15952b9022..b34e5c2168 100644 --- a/src/lib/libc/string/wcscmp.3 +++ b/src/lib/libc/string/wcscmp.3 | |||
| @@ -1,3 +1,5 @@ | |||
| 1 | .\" $OpenBSD: wcscmp.3,v 1.2 2011/07/25 00:38:53 schwarze Exp $ | ||
| 2 | .\" | ||
| 1 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 3 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. |
| 2 | .\" All rights reserved. | 4 | .\" All rights reserved. |
| 3 | .\" | 5 | .\" |
| @@ -29,9 +31,7 @@ | |||
| 29 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 30 | .\" SUCH DAMAGE. | 32 | .\" SUCH DAMAGE. |
| 31 | .\" | 33 | .\" |
| 32 | .\" $OpenBSD: wcscmp.3,v 1.1 2011/07/09 16:32:11 nicm Exp $ | 34 | .Dd $Mdocdate: July 25 2011 $ |
| 33 | .\" | ||
| 34 | .Dd $Mdocdate: July 9 2011 $ | ||
| 35 | .Dt WCSCMP 3 | 35 | .Dt WCSCMP 3 |
| 36 | .Os | 36 | .Os |
| 37 | .Sh NAME | 37 | .Sh NAME |
| @@ -55,7 +55,7 @@ and | |||
| 55 | .Fa s2 . | 55 | .Fa s2 . |
| 56 | The | 56 | The |
| 57 | .Fn wcsncmp | 57 | .Fn wcsncmp |
| 58 | compares at most | 58 | function compares at most |
| 59 | .Fa len | 59 | .Fa len |
| 60 | wide characters. | 60 | wide characters. |
| 61 | .Sh RETURN VALUES | 61 | .Sh RETURN VALUES |
| @@ -69,6 +69,7 @@ to whether the wide string | |||
| 69 | is greater than, equal to, or less than the wide string | 69 | is greater than, equal to, or less than the wide string |
| 70 | .Fa s2 . | 70 | .Fa s2 . |
| 71 | .Sh SEE ALSO | 71 | .Sh SEE ALSO |
| 72 | .Xr strcmp 3 , | ||
| 72 | .Xr wcscasecmp 3 , | 73 | .Xr wcscasecmp 3 , |
| 73 | .Xr wmemcmp 3 | 74 | .Xr wmemcmp 3 |
| 74 | .Sh STANDARDS | 75 | .Sh STANDARDS |
| @@ -80,3 +81,12 @@ functions conform to | |||
| 80 | .St -isoC-99 | 81 | .St -isoC-99 |
| 81 | and were first introduced in | 82 | and were first introduced in |
| 82 | .St -isoC-amd1 . | 83 | .St -isoC-amd1 . |
| 84 | .Sh HISTORY | ||
| 85 | The | ||
| 86 | .Fn wcscmp | ||
| 87 | and | ||
| 88 | .Fn wcsncmp | ||
| 89 | functions were ported from | ||
| 90 | .Nx | ||
| 91 | and first appeared in | ||
| 92 | .Ox 3.8 . | ||
