From ca56bbbcaefbe1d0455d1cfc0c8d4de869886073 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 3 Mar 2014 06:59:22 +0100 Subject: [PATCH] locale.5: Add intro section that lists all of the LC categories Signed-off-by: Michael Kerrisk --- man5/locale.5 | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/man5/locale.5 b/man5/locale.5 index 5deea9b1d..9acd14d4d 100644 --- a/man5/locale.5 +++ b/man5/locale.5 @@ -1,5 +1,6 @@ .\" Copyright (C) 1994 Jochen Hein (Hein@Student.TU-Clausthal.de) .\" Copyright (C) 2008 Petr Baudis (pasky@suse.cz) +.\" Copyright (C) 2014 Michael Kerrisk .\" .\" %%%LICENSE_START(GPLv2+_SW_3_PARA) .\" This program is free software; you can redistribute it and/or modify @@ -20,7 +21,7 @@ .\" 2008-06-17 Petr Baudis .\" LC_TIME: Describe first_weekday and first_workday .\" -.TH LOCALE 5 2014-01-18 "Linux" "Linux User Manual" +.TH LOCALE 5 2014-03-03 "Linux" "Linux User Manual" .SH NAME locale \- describes a locale definition file .SH DESCRIPTION @@ -57,6 +58,35 @@ 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_PAPER, LC_TELEPHONE. These need to be documented. +.SS Locale category sections +The following category sections are defined by POSIX: +.IP * 3 +.B LC_CTYPE +.IP * +.B LC_COLLATE +.IP * +.B LC_MONETARY +.IP * +.B LC_NUMERIC +.IP * +.B LC_TIME +.IP * +.B LC_MESSAGES +.PP +In addition, since version 2.2, +the GNU C library supports the following nonstandard categories: +.IP * 3 +.B LC_ADDRESS +.IP * +.B LC_IDENTIFICATION +.IP * +.B LC_MEASUREMENT +.IP * +.B LC_NAME +.IP * +.B LC_PAPER +.IP * +.B LC_TELEPHONE .SS LC_CTYPE The definition for the .B LC_CTYPE