Home | History | Annotate | Line # | Download | only in include
langinfo.h revision 1.1
      1  1.1  jtc /*
      2  1.1  jtc  * Copyright (c) 1994 Winning Strategies, Inc.
      3  1.1  jtc  * All rights reserved.
      4  1.1  jtc  *
      5  1.1  jtc  * Redistribution and use in source and binary forms, with or without
      6  1.1  jtc  * modification, are permitted provided that the following conditions
      7  1.1  jtc  * are met:
      8  1.1  jtc  * 1. Redistributions of source code must retain the above copyright
      9  1.1  jtc  *    notice, this list of conditions and the following disclaimer.
     10  1.1  jtc  * 2. Redistributions in binary form must reproduce the above copyright
     11  1.1  jtc  *    notice, this list of conditions and the following disclaimer in the
     12  1.1  jtc  *    documentation and/or other materials provided with the distribution.
     13  1.1  jtc  * 3. All advertising materials mentioning features or use of this software
     14  1.1  jtc  *    must display the following acknowledgement:
     15  1.1  jtc  *      This product includes software developed by Winning Strategies, Inc.
     16  1.1  jtc  * 4. The name of the author may not be used to endorse or promote products
     17  1.1  jtc  *    derived from this software without specific prior written permission.
     18  1.1  jtc  *
     19  1.1  jtc  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     20  1.1  jtc  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     21  1.1  jtc  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     22  1.1  jtc  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     23  1.1  jtc  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     24  1.1  jtc  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     25  1.1  jtc  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     26  1.1  jtc  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     27  1.1  jtc  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     28  1.1  jtc  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     29  1.1  jtc  */
     30  1.1  jtc 
     31  1.1  jtc #ifndef _LANGINFO_H_
     32  1.1  jtc #define _LANGINFO_H_
     33  1.1  jtc #include <sys/cdefs.h>
     34  1.1  jtc 
     35  1.1  jtc #define D_T_FMT		0	/* String for formatting date and time */
     36  1.1  jtc #define D_FMT		1	/* Date format string */
     37  1.1  jtc #define	T_FMT		2	/* Time format string */
     38  1.1  jtc #define T_FMT_AMPM	3	/* Time format string with 12 hour clock */
     39  1.1  jtc #define AM_STR		4	/* Ante Meridiem afix */
     40  1.1  jtc #define PM_STR		5	/* Post Meridiem afix */
     41  1.1  jtc 
     42  1.1  jtc #define DAY_1		6	/* Name of the first day of the week */
     43  1.1  jtc #define DAY_2		7
     44  1.1  jtc #define DAY_3		8
     45  1.1  jtc #define DAY_4		9
     46  1.1  jtc #define DAY_5		10
     47  1.1  jtc #define DAY_6		11
     48  1.1  jtc #define DAY_7		12
     49  1.1  jtc 
     50  1.1  jtc #define ABDAY_1		13	/* Abbrev. name of the first day of the week */
     51  1.1  jtc #define ABDAY_2		14
     52  1.1  jtc #define ABDAY_3		15
     53  1.1  jtc #define ABDAY_4		16
     54  1.1  jtc #define ABDAY_5		17
     55  1.1  jtc #define ABDAY_6		18
     56  1.1  jtc #define ABDAY_7		19
     57  1.1  jtc 
     58  1.1  jtc #define MON_1		20	/* Name of the first month */
     59  1.1  jtc #define MON_2		21
     60  1.1  jtc #define MON_3		22
     61  1.1  jtc #define MON_4		23
     62  1.1  jtc #define MON_5		24
     63  1.1  jtc #define MON_6		25
     64  1.1  jtc #define MON_7		26
     65  1.1  jtc #define MON_8		27
     66  1.1  jtc #define MON_9		28
     67  1.1  jtc #define MON_10		29
     68  1.1  jtc #define MON_11		30
     69  1.1  jtc #define MON_12		31
     70  1.1  jtc 
     71  1.1  jtc #define ABMON_1		32	/* Abbrev. name of the first month */
     72  1.1  jtc #define ABMON_2		33
     73  1.1  jtc #define ABMON_3		34
     74  1.1  jtc #define ABMON_4		35
     75  1.1  jtc #define ABMON_5		36
     76  1.1  jtc #define ABMON_6		37
     77  1.1  jtc #define ABMON_7		38
     78  1.1  jtc #define ABMON_8		39
     79  1.1  jtc #define ABMON_9		40
     80  1.1  jtc #define ABMON_10	41
     81  1.1  jtc #define ABMON_11	42
     82  1.1  jtc #define ABMON_12	43
     83  1.1  jtc 
     84  1.1  jtc #define RADIXCHAR	44	/* Radix character */
     85  1.1  jtc #define THOUSEP		45	/* Separator for thousands */
     86  1.1  jtc #define YESSTR		46	/* Affirmitive response for yes/no queries */
     87  1.1  jtc #define YESEXPR		47	/* Affirmitive response for yes/no queries */
     88  1.1  jtc #define NOSTR		48	/* Negative response for yes/no queries */
     89  1.1  jtc #define NOEXPR		49	/* Negative response for yes/no queries */
     90  1.1  jtc #define CRNCYSTR	50	/* Currency symbol */
     91  1.1  jtc 
     92  1.1  jtc __BEGIN_DECLS
     93  1.1  jtc char *nl_langinfo __P((nl_item));
     94  1.1  jtc __END_DECLS
     95  1.1  jtc 
     96  1.1  jtc #endif	/* _LANGINFO_H_ */
     97