diff options
Diffstat (limited to 'src/lib/libc/string/strcasecmp.3')
-rw-r--r-- | src/lib/libc/string/strcasecmp.3 | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/libc/string/strcasecmp.3 b/src/lib/libc/string/strcasecmp.3 index 46e9010e4f..3cfc76e36f 100644 --- a/src/lib/libc/string/strcasecmp.3 +++ b/src/lib/libc/string/strcasecmp.3 | |||
@@ -1,5 +1,7 @@ | |||
1 | .\" Copyright (c) 1990, 1991 The Regents of the University of California. | 1 | .\" $OpenBSD: strcasecmp.3,v 1.6 2000/04/21 15:24:19 aaron Exp $ |
2 | .\" All rights reserved. | 2 | .\" |
3 | .\" Copyright (c) 1990, 1991, 1993 | ||
4 | .\" The Regents of the University of California. All rights reserved. | ||
3 | .\" | 5 | .\" |
4 | .\" This code is derived from software contributed to Berkeley by | 6 | .\" This code is derived from software contributed to Berkeley by |
5 | .\" Chris Torek. | 7 | .\" Chris Torek. |
@@ -31,14 +33,14 @@ | |||
31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 33 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
32 | .\" SUCH DAMAGE. | 34 | .\" SUCH DAMAGE. |
33 | .\" | 35 | .\" |
34 | .\" from: @(#)strcasecmp.3 5.4 (Berkeley) 4/19/91 | 36 | .\" @(#)strcasecmp.3 8.1 (Berkeley) 6/9/93 |
35 | .\" $Id: strcasecmp.3,v 1.1.1.1 1995/10/18 08:42:21 deraadt Exp $ | ||
36 | .\" | 37 | .\" |
37 | .Dd April 19, 1991 | 38 | .Dd June 9, 1993 |
38 | .Dt STRCASECMP 3 | 39 | .Dt STRCASECMP 3 |
39 | .Os | 40 | .Os |
40 | .Sh NAME | 41 | .Sh NAME |
41 | .Nm strcasecmp | 42 | .Nm strcasecmp , |
43 | .Nm strncasecmp | ||
42 | .Nd compare strings, ignoring case | 44 | .Nd compare strings, ignoring case |
43 | .Sh SYNOPSIS | 45 | .Sh SYNOPSIS |
44 | .Fd #include <string.h> | 46 | .Fd #include <string.h> |
@@ -51,8 +53,7 @@ The | |||
51 | .Fn strcasecmp | 53 | .Fn strcasecmp |
52 | and | 54 | and |
53 | .Fn strncasecmp | 55 | .Fn strncasecmp |
54 | functions | 56 | functions compare the null-terminated strings |
55 | compare the null-terminated strings | ||
56 | .Fa s1 | 57 | .Fa s1 |
57 | and | 58 | and |
58 | .Fa s2 | 59 | .Fa s2 |
@@ -68,7 +69,6 @@ The comparison is done using unsigned characters, so that | |||
68 | is greater than | 69 | is greater than |
69 | .Ql \e0 . | 70 | .Ql \e0 . |
70 | .Pp | 71 | .Pp |
71 | The | ||
72 | .Fn strncasecmp | 72 | .Fn strncasecmp |
73 | compares at most | 73 | compares at most |
74 | .Fa len | 74 | .Fa len |
@@ -84,5 +84,5 @@ The | |||
84 | .Fn strcasecmp | 84 | .Fn strcasecmp |
85 | and | 85 | and |
86 | .Fn strncasecmp | 86 | .Fn strncasecmp |
87 | functions are | 87 | functions first appeared in |
88 | .Ud . | 88 | .Bx 4.4 . |