Hash :
a07c0e4b
Author :
Date :
2023-08-30T02:19:01
wctype: Rely on module iswpunct. * m4/wctype.m4 (gl_FUNC_WCTYPE): Also test whether the "punct" class works. * modules/wctype (Depends-on): Add iswpunct. * tests/test-iswctype.c (main): Add more tests of the "punct" class. * doc/posix-functions/wctype.texi: Mention the Android problem.
Description:
wctype() function: get descriptor for a wide character property.
Files:
lib/wctype.c
lib/wctype-impl.h
m4/wctype.m4
Depends-on:
wctype-h
iswblank [test $HAVE_WCTYPE = 0 || test $REPLACE_WCTYPE = 1]
iswdigit [test $HAVE_WCTYPE = 0 || test $REPLACE_WCTYPE = 1]
iswpunct [test $HAVE_WCTYPE = 0 || test $REPLACE_WCTYPE = 1]
iswxdigit [test $HAVE_WCTYPE = 0 || test $REPLACE_WCTYPE = 1]
# When we override wctype_t, we also need to override iswctype().
iswctype [test $REPLACE_WCTYPE = 1]
configure.ac:
gl_FUNC_WCTYPE
gl_CONDITIONAL([GL_COND_OBJ_WCTYPE], [test $HAVE_WCTYPE = 0 || test $REPLACE_WCTYPE = 1])
gl_WCTYPE_MODULE_INDICATOR([wctype])
Makefile.am:
if GL_COND_OBJ_WCTYPE
lib_SOURCES += wctype.c
endif
Include:
<wctype.h>
License:
LGPLv2+
Maintainer:
all