Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/locale setlocale.3: minor updates to reflect the cu...



details:   https://anonhg.NetBSD.org/src/rev/c02391d2929d
branches:  trunk
changeset: 990038:c02391d2929d
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Sun Oct 24 17:30:19 2021 +0000

description:
setlocale.3: minor updates to reflect the current implementation

Reflect a couple of amendments noted by John Marino on tech-userlevel:
http://mail-index.netbsd.org/tech-userlevel/2021/10/19/msg013091.html

diffstat:

 lib/libc/locale/setlocale.3 |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (39 lines):

diff -r 913e3f5b59ab -r c02391d2929d lib/libc/locale/setlocale.3
--- a/lib/libc/locale/setlocale.3       Sun Oct 24 17:19:48 2021 +0000
+++ b/lib/libc/locale/setlocale.3       Sun Oct 24 17:30:19 2021 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: setlocale.3,v 1.21 2004/01/24 16:58:54 wiz Exp $
+.\"    $NetBSD: setlocale.3,v 1.22 2021/10/24 17:30:19 gutteridge Exp $
 .\"
 .\" Copyright (c) 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -32,7 +32,7 @@
 .\"
 .\"    @(#)setlocale.3 8.1 (Berkeley) 6/9/93
 .\"
-.Dd May 30, 2003
+.Dd October 24, 2021
 .Dt SETLOCALE 3
 .Os
 .Sh NAME
@@ -81,9 +81,6 @@
 This controls recognition of upper and lower case,
 alphabetic or non-alphabetic characters,
 and so on.
-The real work is done by the
-.Fn setrunelocale
-function.
 .It Dv LC_MESSAGES
 Set a locale for message catalogs.
 This controls the selection of message catalogs by the
@@ -336,7 +333,9 @@
 .Bd -literal
        setlocale(LC_ALL, "");
 .Ed
-.\" .Sh FILES                                                  XXX
+.Sh FILES
+The use of multibyte locales requires shared libraries located in
+.Pa /usr/lib/i18n .
 .\" .Bl -tag -width /usr/share/locale/locale/category -compact XXX
 .\" .It Pa $PATH_LOCALE/\fIlocale\fP/\fIcategory\fP            XXX
 .\" .It Pa /usr/share/locale/\fIlocale\fP/\fIcategory\fP       XXX



Home | Main Index | Thread Index | Old Index