77 #endif /* defined(__EXTENSIONS__) || ((!defined(_STRICT_STDC) ... */
78
79 #if !defined(__lint)
80
81 #if defined(__EXTENSIONS__) || \
82 ((!defined(_STRICT_STDC) && !defined(_POSIX_C_SOURCE)) || \
83 defined(_XOPEN_SOURCE)) || defined(__XPG4_CHAR_CLASS__)
84 #define isascii(c) (!(((int)(c)) & ~0177))
85 #define toascii(c) (((int)(c)) & 0177)
86 #define _toupper(c) (toupper(c))
87 #define _tolower(c) (tolower(c))
88
89 #endif /* defined(__EXTENSIONS__) || ((!defined(_STRICT_STDC) ... */
90
91 #endif /* !defined(__lint) */
92
93 #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
94
95 #ifndef _LOCALE_T
96 #define _LOCALE_T
97 typedef struct locale *locale_t;
98 #endif
99
100 extern int isalnum_l(int, locale_t);
101 extern int isalpha_l(int, locale_t);
102 extern int isblank_l(int, locale_t);
103 extern int iscntrl_l(int, locale_t);
104 extern int isdigit_l(int, locale_t);
105 extern int isgraph_l(int, locale_t);
106 extern int islower_l(int, locale_t);
107 extern int isprint_l(int, locale_t);
108 extern int ispunct_l(int, locale_t);
109 extern int isspace_l(int, locale_t);
110 extern int isupper_l(int, locale_t);
111 extern int isxdigit_l(int, locale_t);
112
113 #endif /* defined(_XPG7) || !defined(_STRICT_SYMBOLS) */
114
115 #else /* defined(__STDC__) */
116
117 #if !defined(__lint)
|
77 #endif /* defined(__EXTENSIONS__) || ((!defined(_STRICT_STDC) ... */
78
79 #if !defined(__lint)
80
81 #if defined(__EXTENSIONS__) || \
82 ((!defined(_STRICT_STDC) && !defined(_POSIX_C_SOURCE)) || \
83 defined(_XOPEN_SOURCE)) || defined(__XPG4_CHAR_CLASS__)
84 #define isascii(c) (!(((int)(c)) & ~0177))
85 #define toascii(c) (((int)(c)) & 0177)
86 #define _toupper(c) (toupper(c))
87 #define _tolower(c) (tolower(c))
88
89 #endif /* defined(__EXTENSIONS__) || ((!defined(_STRICT_STDC) ... */
90
91 #endif /* !defined(__lint) */
92
93 #if defined(_XPG7) || !defined(_STRICT_SYMBOLS)
94
95 #ifndef _LOCALE_T
96 #define _LOCALE_T
97 typedef struct _locale *locale_t;
98 #endif
99
100 extern int isalnum_l(int, locale_t);
101 extern int isalpha_l(int, locale_t);
102 extern int isblank_l(int, locale_t);
103 extern int iscntrl_l(int, locale_t);
104 extern int isdigit_l(int, locale_t);
105 extern int isgraph_l(int, locale_t);
106 extern int islower_l(int, locale_t);
107 extern int isprint_l(int, locale_t);
108 extern int ispunct_l(int, locale_t);
109 extern int isspace_l(int, locale_t);
110 extern int isupper_l(int, locale_t);
111 extern int isxdigit_l(int, locale_t);
112
113 #endif /* defined(_XPG7) || !defined(_STRICT_SYMBOLS) */
114
115 #else /* defined(__STDC__) */
116
117 #if !defined(__lint)
|