aboutsummaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/setlocale.3
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-08-04 18:43:01 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-08-04 18:43:01 +0000
commitc28fbb7baac0373cbcdc4b29c393eb0be9c9d859 (patch)
tree8641f513c554873ed1c7b7aaa44b82a99dd1fe16 /lib/libc/locale/setlocale.3
parent84be91cbafa92e6852ef8fb5a143d42a8543432e (diff)
downloadsrc-c28fbb7baac0373cbcdc4b29c393eb0be9c9d859.tar.gz
src-c28fbb7baac0373cbcdc4b29c393eb0be9c9d859.zip
Implement locale-sensitive strftime () from ADO (heavily modified
by me). This probably loses for multibyte characters, but I have no way of telling. I'll let ache decide whether to add this support to startup_setlocale. Note that for this to make any sense at all, the symlinks in /usr/share/locale must go. (For the moment, this doesn't make any difference since there are no locales supplied.) Obtained from: Arthur David Olson <ado@elsie.nci.nih.gov>
Notes
Notes: svn path=/head/; revision=9912
Diffstat (limited to 'lib/libc/locale/setlocale.3')
-rw-r--r--lib/libc/locale/setlocale.37
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3
index e0068f4f8550..f6b75b69fa61 100644
--- a/lib/libc/locale/setlocale.3
+++ b/lib/libc/locale/setlocale.3
@@ -302,7 +302,12 @@ The current implementation supports only the
.Li "\&""C""
and
.Li "\&""POSIX""
-locales for all but the LC_CTYPE and LC_COLLATE locale.
+locales for all but the
+.Dv LC_COLLATE ,
+.Dv LC_CTYPE ,
+and
+.Dv LC_TIME
+categories.
.Pp
In spite of the gnarly currency support in
.Fn localeconv ,