summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2009-10-05 07:11:19 +0000
committeredwin <edwin@FreeBSD.org>2009-10-05 07:11:19 +0000
commit5ecdf4b5b2855eebecc575710a4fa7b821df8de2 (patch)
treec365fe9233d0d6f587e8e6eef859f7dd1f6b7c77 /include
parent148262ed9ab8034b431b125c9748ecbdb3b3f7aa (diff)
downloadFreeBSD-src-5ecdf4b5b2855eebecc575710a4fa7b821df8de2.zip
FreeBSD-src-5ecdf4b5b2855eebecc575710a4fa7b821df8de2.tar.gz
Modified locale(1) to be able to show the altmon_X fields and the [cxX]_fmt's.
Also modify the "-k list" option to display only fields with a certain prefix. MFC after: 1 week
Diffstat (limited to 'include')
-rw-r--r--include/langinfo.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/langinfo.h b/include/langinfo.h
index 59b50f9..6d6b95f 100644
--- a/include/langinfo.h
+++ b/include/langinfo.h
@@ -114,6 +114,20 @@ typedef __nl_item nl_item;
#define D_MD_ORDER 57 /* month/day order (local extension) */
#endif
+/* standalone months forms for %OB */
+#define ALTMON_1 58
+#define ALTMON_2 59
+#define ALTMON_3 60
+#define ALTMON_4 61
+#define ALTMON_5 62
+#define ALTMON_6 63
+#define ALTMON_7 64
+#define ALTMON_8 65
+#define ALTMON_9 66
+#define ALTMON_10 67
+#define ALTMON_11 68
+#define ALTMON_12 69
+
__BEGIN_DECLS
char *nl_langinfo(nl_item);
__END_DECLS
OpenPOWER on IntegriCloud