summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-09-05 19:14:34 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-09-05 19:14:34 +0000
commit89817a41223f447b322be88bca9afa62582785cf (patch)
tree7e8a89cf88217c8dab57ccd6a7dcb7ab5c87efce /lib/libc
parent96b8882a9648e5008cd1bc4d3bc6ce5df72b2953 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/nls/catopen.342
1 files changed, 41 insertions, 1 deletions
diff --git a/lib/libc/nls/catopen.3 b/lib/libc/nls/catopen.3
index 4e1f98a1db51..272fe7e0d319 100644
--- a/lib/libc/nls/catopen.3
+++ b/lib/libc/nls/catopen.3
@@ -55,8 +55,48 @@ specifies the full pathname for the message catalog, otherwise the value
of the environment variable
.Ev NLSPATH
is used with
+the following substitutions:
+.Bl -tag -width XXX
+.It \&%N
+The value of the
.Fa name
-substituted for %N.
+argument.
+.It \&%L
+The value of the
+.Ev LANG
+environment variable or the
+.Dv LC_MESSAGES
+category (see below).
+.It \&%l
+The language element from the
+.Ev LANG
+environment variable or from the
+.Dv LC_MESSAGES
+category.
+.It \&%t
+The territory element from the
+.Ev LANG
+environment variable or from the
+.Dv LC_MESSAGES
+category.
+.It \&%c
+The codeset element from the
+.Ev LANG
+environment variable or from the
+.Dv LC_MESSAGES
+category.
+.It \&%%
+A single % character.
+.El
+.Pp
+An empty string is substituted for undefined values.
+.Pp
+Path names templates defined in
+.Ev NLSPATH
+are separated by colons
+.No ( Sq \&: ) .
+A leading or two adjacent colons
+is equivalent to specifying %N.
.Pp
If the
.Fa oflag