X-Git-Url: https://pd.if.org/git/?p=pdclib.old;a=blobdiff_plain;f=functions%2Fctype%2Fiscntrl.c;h=ebb1f47be7f65208098097a0755e299e108c1221;hp=8c0a4f3164ef6a536d86802b6fae841e9b567e62;hb=ed01ab8d9fcc47f6a4089ef72a73ef7a084d1ed3;hpb=fd89f130aedf49fbdb3e4f5a24c9cedb56eea22e diff --git a/functions/ctype/iscntrl.c b/functions/ctype/iscntrl.c index 8c0a4f3..ebb1f47 100644 --- a/functions/ctype/iscntrl.c +++ b/functions/ctype/iscntrl.c @@ -9,12 +9,11 @@ #include #ifndef REGTEST - -#include +#include <_PDCLIB_locale.h> int iscntrl( int c ) { - return ( _PDCLIB_lconv.ctype[c].flags & _PDCLIB_CTYPE_CNTRL ); + return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_CNTRL ); } #endif