-/* $Id$ */
-
/* ispunct( int )
This file is part of the Public Domain C Library (PDCLib).
#include <ctype.h>
#ifndef REGTEST
+#include <_PDCLIB_locale.h>
int ispunct( int c )
{
- return ( _PDCLIB_locale_info.ctype[c].flags & _PDCLIB_CTYPE_PUNCT );
+ return ( _PDCLIB_threadlocale()->_CType[c].flags & _PDCLIB_CTYPE_PUNCT );
}
#endif