diff --git a/man7/locale.7 b/man7/locale.7 index c226fa63d..cb766269a 100644 --- a/man7/locale.7 +++ b/man7/locale.7 @@ -1,4 +1,5 @@ .\" Copyright (c) 1993 by Thomas Koenig (ig25@rz.uni-karlsruhe.de) +.\" and Copyright (C) 2014 Michael Kerrisk .\" .\" %%%LICENSE_START(VERBATIM) .\" Permission is granted to make and distribute verbatim copies of this @@ -124,6 +125,16 @@ functions also obey the environment variable if the category is set to a valid locale other than .BR """C""" . .TP +.BR LC_MEASUREMENT " (GNU extension, since glibc 2.2)" +Change the settings relating to the measurement system in the locale +(i.e., metric versus US customary units). +Applications can use +.BR nl_langinfo (3) +to retrieve the nonstandard +.B _NL_MEASUREMENT_MEASUREMENT +element, which returns a pointer to a character +that has the value 1 (metric) or 2 (US customary units). +.TP .BR LC_NAME " (GNU extension, since glibc 2.2)" Change settings that describe the formats used to address persons. Applications that need this information can use @@ -182,9 +193,6 @@ example, most of Europe uses a 24-hour clock versus the .TP .B LC_ALL All of the above. -.\" FIXME glibc 2.2 added new nonstandard locale categories: -.\" LC_IDENTIFICATION, LC_MEASUREMENT, LC_NAME. -.\" These need to be documented. .PP If the second argument to .BR setlocale (3)