diff options
| author | Jakob Kaivo <jkk@ung.org> | 2024-01-30 15:45:07 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2024-01-30 15:45:07 -0500 |
| commit | 910a86c095b6d7311d73fa88a632aa9b673243b2 (patch) | |
| tree | a95289a96455cbb5d3bfe83a974583e05faa1ad1 /src/wctype/iswctype.c | |
| parent | efef927455cf3ee7566fbe50d4344e3162e11635 (diff) | |
update standards and safety checks
Diffstat (limited to 'src/wctype/iswctype.c')
| -rw-r--r-- | src/wctype/iswctype.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/wctype/iswctype.c b/src/wctype/iswctype.c index fcf84932..a5c64956 100644 --- a/src/wctype/iswctype.c +++ b/src/wctype/iswctype.c @@ -1,14 +1,13 @@ -#if 0 - #include <wctype.h> #include <wchar.h> -#include "_assert.h" +#include "_safety.h" /** test whether a wide character is part of a character class **/ int iswctype(wint_t wc, wctype_t desc) { + SIGNAL_SAFE(0); ASSERT_REPRESENTABLE(wc, WCHAR_MIN, WCHAR_MAX, "wchar_t", WEOF); - ASSERT_REPRESENTABLE(desc, 1, __libc.wctype.nwctype, "wctype_t", 0); + //ASSERT_REPRESENTABLE(desc, 1, __libc.wctype.nwctype, "wctype_t", 0); /* TODO: actual work */ (void)wc; (void)desc; @@ -32,6 +31,3 @@ returned by fn(wctype), in the current locale. /* STDC(199409) */ - - -#endif |
