locale.7: Clarify that LOCPATH is used by setlocale(3) and newlocale(3)

Reported-by: Marko Myllynen <myllynen@redhat.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-05-26 10:13:27 +02:00
parent 859476f7a9
commit b331e0d0b7
1 changed files with 5 additions and 1 deletions

View File

@ -326,7 +326,11 @@ that extend the traditional locale-dependent APIs (e.g.,
to allow the specification of a locale object that should apply when
executing the function.
.SH ENVIRONMENT
The following environment variable affects all localized programs:
The following environment variable is used by
.BR newlocale (3)
and
.BR setlocale (3),
and thus affects all localized programs:
.TP
.B LOCPATH
A list of pathnames, separated by colons (\(aq:\(aq),