summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2018-04-04 15:04:38 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2018-04-04 15:04:38 +0000
commitddd2c3d65da893df2e14fa6771dcd3bef1942db5 (patch)
tree6644b4671a9f58c35882699945fe6f3d7454660a /lib/libc
parent89e34133b353520fd7b604c000f2c4371665a0b2 (diff)
mention which locale categories this is related to, and add SEE ALSO
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/localeconv.312
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc/locale/localeconv.3 b/lib/libc/locale/localeconv.3
index 31ec14f6eb3..c2b613bff1c 100644
--- a/lib/libc/locale/localeconv.3
+++ b/lib/libc/locale/localeconv.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: localeconv.3,v 1.1 2018/04/04 14:53:02 schwarze Exp $
+.\" $OpenBSD: localeconv.3,v 1.2 2018/04/04 15:04:37 schwarze Exp $
.\" $NetBSD: setlocale.3,v 1.3 1997/07/14 23:19:47 kleink Exp $
.\"
.\" Copyright (c) 1993
@@ -53,6 +53,12 @@ formatting of numbers.
On
.Ox ,
nothing in the returned structure ever changes.
+On other operating systems, the contents of the structure may vary
+according to the
+.Dv LC_NUMERIC
+and
+.Dv LC_MONETARY
+locale categories.
.Pp
It provides the following fields of type
.Vt char * :
@@ -176,6 +182,10 @@ a value that is not in the current locale.
A
.Dv CHAR_MAX
result similarly denotes an unavailable value.
+.Sh SEE ALSO
+.Xr locale 1 ,
+.Xr nl_langinfo 3 ,
+.Xr setlocale 3
.Sh STANDARDS
The
.Fn localeconv