[BACK]Return to langinfo.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / include

File: [cvs.NetBSD.org] / src / include / langinfo.h (download)

Revision 1.9, Thu Feb 3 04:39:32 2005 UTC (14 years, 10 months ago) by perry
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, christos-time_t-nbase, christos-time_t-base, christos-time_t, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pagecache, tls-maxphys
Changes since 1.8: +2 -2 lines

de-__P -- the hack is long since useless. Discussed with christos,
matt, kleink, others. Approved by christos.

/*	$NetBSD: langinfo.h,v 1.9 2005/02/03 04:39:32 perry Exp $	*/

/*
 * Written by J.T. Conklin <jtc@NetBSD.org>
 * Public domain.
 */

#ifndef _LANGINFO_H_
#define _LANGINFO_H_

#include <sys/cdefs.h>
#include <nl_types.h>

#define D_T_FMT		((nl_item)0)	/* String for formatting date and
					   time */
#define D_FMT		((nl_item)1)	/* Date format string */
#define	T_FMT		((nl_item)2)	/* Time format string */
#define T_FMT_AMPM	((nl_item)3)	/* Time format string with 12 hour
					   clock */
#define AM_STR		((nl_item)4)	/* Ante Meridiem afix */
#define PM_STR		((nl_item)5)	/* Post Meridiem afix */

#define DAY_1		((nl_item)6)	/* Name of the first day of the week */
#define DAY_2		((nl_item)7)
#define DAY_3		((nl_item)8)
#define DAY_4		((nl_item)9)
#define DAY_5		((nl_item)10)
#define DAY_6		((nl_item)11)
#define DAY_7		((nl_item)12)

#define ABDAY_1		((nl_item)13)	/* Abbrev. name of the first day of
					   the week */
#define ABDAY_2		((nl_item)14)
#define ABDAY_3		((nl_item)15)
#define ABDAY_4		((nl_item)16)
#define ABDAY_5		((nl_item)17)
#define ABDAY_6		((nl_item)18)
#define ABDAY_7		((nl_item)19)

#define MON_1		((nl_item)20)	/* Name of the first month */
#define MON_2		((nl_item)21)
#define MON_3		((nl_item)22)
#define MON_4		((nl_item)23)
#define MON_5		((nl_item)24)
#define MON_6		((nl_item)25)
#define MON_7		((nl_item)26)
#define MON_8		((nl_item)27)
#define MON_9		((nl_item)28)
#define MON_10		((nl_item)29)
#define MON_11		((nl_item)30)
#define MON_12		((nl_item)31)

#define ABMON_1		((nl_item)32)	/* Abbrev. name of the first month */
#define ABMON_2		((nl_item)33)
#define ABMON_3		((nl_item)34)
#define ABMON_4		((nl_item)35)
#define ABMON_5		((nl_item)36)
#define ABMON_6		((nl_item)37)
#define ABMON_7		((nl_item)38)
#define ABMON_8		((nl_item)39)
#define ABMON_9		((nl_item)40)
#define ABMON_10	((nl_item)41)
#define ABMON_11	((nl_item)42)
#define ABMON_12	((nl_item)43)

#define RADIXCHAR	((nl_item)44)	/* Radix character */
#define THOUSEP		((nl_item)45)	/* Separator for thousands */
#define YESSTR		((nl_item)46)	/* Affirmitive response for yes/no
					   queries */
#define YESEXPR		((nl_item)47)	/* Affirmitive response for yes/no
					   queries */
#define NOSTR		((nl_item)48)	/* Negative response for yes/no
					   queries */
#define NOEXPR		((nl_item)49)	/* Negative response for yes/no
					   queries */
#define CRNCYSTR	((nl_item)50)	/* Currency symbol */

#define CODESET		((nl_item)51)	/* codeset name */

#define ERA		((nl_item)52)	/* Era description segments */
#define ERA_D_FMT	((nl_item)53)	/* Era date format string */
#define ERA_D_T_FMT	((nl_item)54)	/* Era date and time format string */
#define ERA_T_FMT	((nl_item)55)	/* Era time format string */

#define ALT_DIGITS	((nl_item)56)	/* Alternative symbols for digits */

__BEGIN_DECLS
char *nl_langinfo(nl_item);
__END_DECLS

#endif	/* _LANGINFO_H_ */