|
nsz |
e19254 |
#include <ctype.h>
|
|
nsz |
e19254 |
#define T(t) (t*)0;
|
|
nsz |
e19254 |
static void f()
|
|
nsz |
e19254 |
{
|
|
nsz |
e19254 |
int(*p_isalnum)(int) = isalnum;
|
|
nsz |
e19254 |
int(*p_isalpha)(int) = isalpha;
|
|
nsz |
e19254 |
int(*p_isascii)(int) = isascii;
|
|
nsz |
e19254 |
int(*p_isblank)(int) = isblank;
|
|
nsz |
e19254 |
int(*p_iscntrl)(int) = iscntrl;
|
|
nsz |
e19254 |
int(*p_isdigit)(int) = isdigit;
|
|
nsz |
e19254 |
int(*p_isgraph)(int) = isgraph;
|
|
nsz |
e19254 |
int(*p_islower)(int) = islower;
|
|
nsz |
e19254 |
int(*p_isprint)(int) = isprint;
|
|
nsz |
e19254 |
int(*p_ispunct)(int) = ispunct;
|
|
nsz |
e19254 |
int(*p_isspace)(int) = isspace;
|
|
nsz |
e19254 |
int(*p_isupper)(int) = isupper;
|
|
nsz |
e19254 |
int(*p_isxdigit)(int) = isxdigit;
|
|
nsz |
e19254 |
int(*p_toascii)(int) = toascii;
|
|
nsz |
e19254 |
int(*p_tolower)(int) = tolower;
|
|
nsz |
e19254 |
int(*p_toupper)(int) = toupper;
|
|
nsz |
e19254 |
|
|
nsz |
e19254 |
#ifdef _POSIX_C_SOURCE
|
|
nsz |
e19254 |
T(locale_t)
|
|
nsz |
e19254 |
int(*p_isalnum_l)(int,locale_t) = isalnum_l;
|
|
nsz |
e19254 |
int(*p_isalpha_l)(int,locale_t) = isalpha_l;
|
|
nsz |
e19254 |
int(*p_isblank_l)(int,locale_t) = isblank_l;
|
|
nsz |
e19254 |
int(*p_iscntrl_l)(int,locale_t) = iscntrl_l;
|
|
nsz |
e19254 |
int(*p_isdigit_l)(int,locale_t) = isdigit_l;
|
|
nsz |
e19254 |
int(*p_isgraph_l)(int,locale_t) = isgraph_l;
|
|
nsz |
e19254 |
int(*p_islower_l)(int,locale_t) = islower_l;
|
|
nsz |
e19254 |
int(*p_isprint_l)(int,locale_t) = isprint_l;
|
|
nsz |
e19254 |
int(*p_ispunct_l)(int,locale_t) = ispunct_l;
|
|
nsz |
e19254 |
int(*p_isspace_l)(int,locale_t) = isspace_l;
|
|
nsz |
e19254 |
int(*p_isupper_l)(int,locale_t) = isupper_l;
|
|
nsz |
e19254 |
int(*p_isxdigit_l)(int,locale_t) = isxdigit_l;
|
|
nsz |
e19254 |
int(*p_tolower_l)(int,locale_t) = tolower_l;
|
|
nsz |
e19254 |
int(*p_toupper_l)(int,locale_t) = toupper_l;
|
|
nsz |
e19254 |
#endif
|
|
nsz |
e19254 |
}
|