locale.5: Document LC_MEASUREMENT

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-03-03 07:23:23 +01:00
parent 54095c2c2d
commit 586370d88b
1 changed files with 24 additions and 1 deletions

View File

@ -56,7 +56,7 @@ the only valid keyword in the definition is
.B copy .B copy
followed by the name of the locale which should be copied. followed by the name of the locale which should be copied.
.\" FIXME glibc 2.2.2 added new nonstandard locale categories: .\" 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. .\" LC_TELEPHONE. These need to be documented.
.SS Locale category sections .SS Locale category sections
The following category sections are defined by POSIX: The following category sections are defined by POSIX:
@ -344,6 +344,29 @@ The
.B LC_MESSAGES .B LC_MESSAGES
definition ends with the string definition ends with the string
.IR "END LC_MESSAGES" . .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 .SS LC_MONETARY
The definition starts with the string The definition starts with the string
.B LC_MONETARY .B LC_MONETARY