diff options
author | 2015-08-12 09:38:23 +0000 | |
---|---|---|
committer | 2015-08-12 09:38:23 +0000 | |
commit | 8edbf0bd272fe0c737815ca6b8f8df9bc5fa8b90 (patch) | |
tree | 31eb7ac09e5973c00e94ffb6fa6b60329c3a57e6 | |
parent | Fix adjustment of the offset when string, pstring or search match. (diff) | |
download | wireguard-openbsd-8edbf0bd272fe0c737815ca6b8f8df9bc5fa8b90.tar.xz wireguard-openbsd-8edbf0bd272fe0c737815ca6b8f8df9bc5fa8b90.zip |
Mention LC_MESSAGES.
Input & okay (pre-lock) from jmc@, sobrado@ and stsp@.
-rw-r--r-- | lib/libc/locale/setlocale.3 | 9 | ||||
-rw-r--r-- | usr.bin/locale/locale.1 | 6 |
2 files changed, 11 insertions, 4 deletions
diff --git a/lib/libc/locale/setlocale.3 b/lib/libc/locale/setlocale.3 index 1bb5282188b..415b09aea62 100644 --- a/lib/libc/locale/setlocale.3 +++ b/lib/libc/locale/setlocale.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: setlocale.3,v 1.17 2014/12/11 20:24:05 schwarze Exp $ +.\" $OpenBSD: setlocale.3,v 1.18 2015/08/12 09:38:23 zhuk 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 11 2014 $ +.Dd $Mdocdate: August 12 2015 $ .Dt SETLOCALE 3 .Os .Sh NAME @@ -83,6 +83,11 @@ 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 strings. +Controls the behaviour of +.Xr catopen 3 +and internationalization tools. .It Dv LC_MONETARY Set a locale for formatting monetary values; this affects the diff --git a/usr.bin/locale/locale.1 b/usr.bin/locale/locale.1 index 2522d6a302e..41c5ed3034c 100644 --- a/usr.bin/locale/locale.1 +++ b/usr.bin/locale/locale.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: locale.1,v 1.4 2014/03/24 07:29:22 jmc Exp $ +.\" $OpenBSD: locale.1,v 1.5 2015/08/12 09:38:23 zhuk Exp $ .\" .\" Copyright 2013 Stefan Sperling <stsp@openbsd.org> .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: March 24 2014 $ +.Dd $Mdocdate: August 12 2015 $ .Dt LOCALE 1 .Os .Sh NAME @@ -45,6 +45,8 @@ Overrides all other LC_* variables below. Locale for string collation routines. .It Dv LC_CTYPE Locale for character set. +.It Dv LC_MESSAGES +Locale for message strings. .It Dv LC_MONETARY Locale for formatting monetary values. .It Dv LC_NUMERIC |