summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-12-11 20:24:06 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-12-11 20:24:06 +0000
commitb53b1e70cde025b6210708e8f5e7c62d7c5ef2aa (patch)
treecb98a67a51d1e5fd09ffcc7bc11957fdd22e16d0
parent0c1b05640df114e0b8c979b79f49e3ae163174cd (diff)
Fix previous:
As pointed out by stsp@, LC_CTYPE *does* affect the ctype.h functions. Use a wording similar to a suggestion by deraadt@. Feedback and OK jmc@, OK stsp@.
-rw-r--r--lib/libc/locale/setlocale.311
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3
index 4424adcc383..1bb5282188b 100644
--- a/lib/libc/locale/setlocale.3
+++ b/lib/libc/locale/setlocale.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setlocale.3,v 1.16 2014/12/09 15:32:23 schwarze Exp $
+.\" $OpenBSD: setlocale.3,v 1.17 2014/12/11 20:24:05 schwarze Exp $
.\" $NetBSD: setlocale.3,v 1.3 1997/07/14 23:19:47 kleink Exp $
.\"
.\" Copyright (c) 1993
@@ -33,7 +33,7 @@
.\"
.\" @(#)setlocale.3 8.1 (Berkeley) 6/9/93
.\"
-.Dd $Mdocdate: December 9 2014 $
+.Dd $Mdocdate: December 11 2014 $
.Dt SETLOCALE 3
.Os
.Sh NAME
@@ -74,9 +74,10 @@ This controls alphabetic ordering in
and
.Fn strxfrm .
.It Dv LC_CTYPE
-Set a locale for the
-.Xr wctype 3
-functions.
+Set a locale for the functions declared in
+.In ctype.h
+and
+.In wctype.h .
This controls recognition of upper and lower case,
alphabetic or non-alphabetic characters, and so on.
The real work is done by the