From 586370d88b631f15743a5d99f97fcfd3299dde82 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 3 Mar 2014 07:23:23 +0100 Subject: [PATCH] locale.5: Document LC_MEASUREMENT Signed-off-by: Michael Kerrisk --- man5/locale.5 | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/man5/locale.5 b/man5/locale.5 index c34ee872d..1dd65bf81 100644 --- a/man5/locale.5 +++ b/man5/locale.5 @@ -56,7 +56,7 @@ the only valid keyword in the definition is .B copy followed by the name of the locale which should be copied. .\" FIXME glibc 2.2.2 added new nonstandard locale categories: -.\" LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_NAME, +.\" LC_ADDRESS, LC_IDENTIFICATION, LC_NAME, .\" LC_TELEPHONE. These need to be documented. .SS Locale category sections The following category sections are defined by POSIX: @@ -344,6 +344,29 @@ The .B LC_MESSAGES definition ends with the string .IR "END LC_MESSAGES" . +.SS LC_MEASUREMENT +The definition starts with the string +.B LC_MEASUREMENT +in the first column. + +The following keywords are allowed: +.TP +.I measurement +folowed by number identifying the standard used for measurement. +The following values are recognized: +.RS +.TP +.B 1 +Metric. +.TP +.B 2 +US customary measurements. +.RE +.PP +The +.B LC_MEASUREMENT +definition ends with the string +.IR "END LC_MEASUREMENT" . .SS LC_MONETARY The definition starts with the string .B LC_MONETARY