summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/man/man7/environ.712
1 files changed, 11 insertions, 1 deletions
diff --git a/share/man/man7/environ.7 b/share/man/man7/environ.7
index 1d50eb4..0686ab0 100644
--- a/share/man/man7/environ.7
+++ b/share/man/man7/environ.7
@@ -47,7 +47,7 @@ is made available by
when a process begins. By convention these strings have the form
.Dq Ar name=value .
The following names are used by various commands:
-.Bl -tag -width BLOCKSIZE
+.Bl -tag -width ENABLE_STARTUP_LOCALE
.It Ev BLOCKSIZE
The size of the block units used by several commands, most notably
.Xr df 1 ,
@@ -60,6 +60,15 @@ in units of a kilobyte by specifying a number followed by ``K'' or
or ``m'' and in units of a gigabyte by specifying a number followed
by ``G'' or ``g''.
Sizes less than 512 bytes or greater than a gigabyte are ignored.
+.It Ev ENABLE_STARTUP_LOCALE
+If this variable is set (value ignored), call
+.Xr \%setlocale 3
+at program startup automatically (for 8-bits wide locales only), configuring
+program by
+.Ev LANG
+variable or
+.Ev LC_*
+variables at very beginning.
.It Ev EXINIT
A startup list of commands read by
.Xr ex 1 ,
@@ -169,6 +178,7 @@ unless you know what you are doing.
.Xr sh 1 ,
.Xr execve 2 ,
.Xr execle 3 ,
+.Xr setlocale 3 ,
.Xr system 3 ,
.Xr termcap 3 ,
.Xr termcap 5
OpenPOWER on IntegriCloud