Loading...
string/strcasecmp.3 Libc-498 Libc-262.3.2
--- Libc/Libc-498/string/strcasecmp.3
+++ Libc/Libc-262.3.2/string/strcasecmp.3
@@ -32,47 +32,23 @@
 .\" SUCH DAMAGE.
 .\"
 .\"     @(#)strcasecmp.3	8.1 (Berkeley) 6/9/93
-.\" $FreeBSD: src/lib/libc/string/strcasecmp.3,v 1.11 2003/09/08 19:57:15 ru Exp $
+.\" $FreeBSD: src/lib/libc/string/strcasecmp.3,v 1.9 2001/10/01 16:09:00 ru Exp $
 .\"
 .Dd June 9, 1993
 .Dt STRCASECMP 3
 .Os
 .Sh NAME
 .Nm strcasecmp ,
-.Nm strcasecmp_l ,
-.Nm strncasecmp ,
-.Nm strncasecmp_l
+.Nm strncasecmp
 .Nd compare strings, ignoring case
 .Sh LIBRARY
 .Lb libc
 .Sh SYNOPSIS
-.In strings.h
+.In string.h
 .Ft int
-.Fo strcasecmp
-.Fa "const char *s1"
-.Fa "const char *s2"
-.Fc
+.Fn strcasecmp "const char *s1" "const char *s2"
 .Ft int
-.Fo strncasecmp
-.Fa "const char *s1"
-.Fa "const char *s2"
-.Fa "size_t n"
-.Fc
-.In strings.h
-.In xlocale.h
-.Ft int
-.Fo strcasecmp_l
-.Fa "const char *s1"
-.Fa "const char *s2"
-.Fa "locale_t loc"
-.Fc
-.Ft int
-.Fo strncasecmp_l
-.Fa "const char *s1"
-.Fa "const char *s2"
-.Fa "size_t n"
-.Fa "locale_t loc"
-.Fc
+.Fn strncasecmp "const char *s1" "const char *s2" "size_t len"
 .Sh DESCRIPTION
 The
 .Fn strcasecmp
@@ -87,20 +63,8 @@
 The
 .Fn strncasecmp
 compares at most
-.Fa n
+.Fa len
 characters.
-.Pp
-Although the
-.Fn strcasecmp
-and
-.Fn strncasecmp
-functions use the current locale, the
-.Fn strcasecmp_l
-and
-.Fn strncasecmp_l
-functions may be passed locales directly. See
-.Xr xlocale 3
-for more information.
 .Sh RETURN VALUES
 The
 .Fn strcasecmp
@@ -123,8 +87,7 @@
 .Xr strcmp 3 ,
 .Xr strcoll 3 ,
 .Xr strxfrm 3 ,
-.Xr tolower 3 ,
-.Xr xlocale 3
+.Xr tolower 3
 .Sh HISTORY
 The
 .Fn strcasecmp
@@ -132,10 +95,3 @@
 .Fn strncasecmp
 functions first appeared in
 .Bx 4.4 .
-Their prototypes existed previously in
-.In string.h
-before they were moved to
-.In strings.h
-for
-.St -p1003.1-2001
-compliance.