From a12156f0c4d93e521429a72d3eb0a109655fb219 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Sun, 18 Mar 2001 22:19:32 +0000 Subject: Part of the ctype locale support. --- include/locale.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 include/locale.h (limited to 'include/locale.h') diff --git a/include/locale.h b/include/locale.h new file mode 100644 index 000000000..f0c6f2e63 --- /dev/null +++ b/include/locale.h @@ -0,0 +1,29 @@ +/* locale.h + * Support international type specific characters. + */ +#ifndef _LOCALE_H +#define _LOCALE_H 1 + +#include + +#ifndef NULL +#ifdef __cplusplus +#define NULL 0 +#else +#define NULL ((void *) 0) +#endif +#endif + +/* These are the possibilities for the first argument to setlocale. + The code assumes that LC_ALL is the highest value, and zero the lowest. */ +#define LC_CTYPE 0 +#define LC_NUMERIC 1 +#define LC_TIME 2 +#define LC_COLLATE 3 +#define LC_MONETARY 4 +#define LC_MESSAGES 5 +#define LC_ALL 6 + +extern char *setlocale(int __category, __const char *__locale); + +#endif /* locale.h */ -- cgit v1.2.3