summaryrefslogtreecommitdiffstats
path: root/lib/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/wcscoll.32
-rw-r--r--lib/libc/string/wcswidth.35
-rw-r--r--lib/libc/string/wcsxfrm.312
3 files changed, 11 insertions, 8 deletions
diff --git a/lib/libc/string/wcscoll.3 b/lib/libc/string/wcscoll.3
index fb6a36b..3270952 100644
--- a/lib/libc/string/wcscoll.3
+++ b/lib/libc/string/wcscoll.3
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)strcoll.3 8.1 (Berkeley) 6/4/93
-.\" FreeBSD: src/lib/libc/string/strcoll.3,v 1.11 2001/10/01 16:09:00 ru Exp
+.\" FreeBSD: src/lib/libc/string/strcoll.3,v 1.11 2001/10/01 16:09:00 ru Exp
.\" $FreeBSD$
.\"
.Dd October 4, 2002
diff --git a/lib/libc/string/wcswidth.3 b/lib/libc/string/wcswidth.3
index ea63b8c..76d32ad 100644
--- a/lib/libc/string/wcswidth.3
+++ b/lib/libc/string/wcswidth.3
@@ -23,7 +23,8 @@
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD$
-.Dd August 8, 1999
+.\"
+.Dd August 20, 2002
.Dt WCSWIDTH 3
.Os
.Sh NAME
@@ -49,7 +50,7 @@ The
function returns 0 if
.Fa pwcs
is an empty string (L""),
--1 if a non-printing wide character is encountered,
+\-1 if a non-printing wide character is encountered,
otherwise it returns the number of column positions occupied.
.Sh SEE ALSO
.Xr iswprint 3 ,
diff --git a/lib/libc/string/wcsxfrm.3 b/lib/libc/string/wcsxfrm.3
index 55c03f8..9e62647 100644
--- a/lib/libc/string/wcsxfrm.3
+++ b/lib/libc/string/wcsxfrm.3
@@ -34,7 +34,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)strxfrm.3 8.1 (Berkeley) 6/4/93
-.\" FreeBSD: src/lib/libc/string/strxfrm.3,v 1.16 2002/09/06 11:24:06 tjr Exp
+.\" FreeBSD: src/lib/libc/string/strxfrm.3,v 1.16 2002/09/06 11:24:06 tjr Exp
.\" $FreeBSD$
.\"
.Dd October 4, 2002
@@ -69,7 +69,9 @@ is set to 0
(it helps to determine an actual size needed
for transformation),
.Fa dst
-is permitted to be a NULL pointer.
+is permitted to be a
+.Dv NULL
+pointer.
.Pp
Comparing two strings using
.Fn wcscmp
@@ -91,8 +93,8 @@ are indeterminate.
.Sh SEE ALSO
.Xr setlocale 3 ,
.Xr strxfrm 3 ,
-.Xr wcscoll 3 ,
-.Xr wcscmp 3
+.Xr wcscmp 3 ,
+.Xr wcscoll 3
.Sh STANDARDS
The
.Fn wcsxfrm
@@ -117,7 +119,7 @@ is
always equivalent to comparison with
.Fn wcscoll ;
.Fn wcsxfrm
-only stores information about primary collation weights into
+only stores information about primary collation weights into
.Fa dst ,
whereas
.Fn wcscoll
OpenPOWER on IntegriCloud