1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

Implement some more of the iswXXX() functions.

This commit is contained in:
Sebastian Bauer
2018-03-28 21:16:14 +02:00
parent ef18bf5f3e
commit 345995000a
7 changed files with 22 additions and 15 deletions

View File

@@ -35,11 +35,12 @@
#include <wctype.h> #include <wctype.h>
#endif /* _WCTYPE_HEADERS_H */ #endif /* _WCTYPE_HEADERS_H */
#include <ctype.h>
/****************************************************************************/ /****************************************************************************/
int int
iswcntrl(wint_t c) iswcntrl(wint_t c)
{ {
/* ZZZ unimplemented */ return iscntrl(c);
return(0);
} }

View File

@@ -35,11 +35,12 @@
#include <wctype.h> #include <wctype.h>
#endif /* _WCTYPE_HEADERS_H */ #endif /* _WCTYPE_HEADERS_H */
#include <ctype.h>
/****************************************************************************/ /****************************************************************************/
int int
iswgraph(wint_t c) iswgraph(wint_t c)
{ {
/* ZZZ unimplemented */ return isgraph(c);
return(0);
} }

View File

@@ -35,11 +35,12 @@
#include <wctype.h> #include <wctype.h>
#endif /* _WCTYPE_HEADERS_H */ #endif /* _WCTYPE_HEADERS_H */
#include <ctype.h>
/****************************************************************************/ /****************************************************************************/
int int
iswlower(wint_t c) iswlower(wint_t c)
{ {
/* ZZZ unimplemented */ return islower(c);
return(0);
} }

View File

@@ -35,11 +35,12 @@
#include <wctype.h> #include <wctype.h>
#endif /* _WCTYPE_HEADERS_H */ #endif /* _WCTYPE_HEADERS_H */
#include <ctype.h>
/****************************************************************************/ /****************************************************************************/
int int
iswpunc(wint_t c) iswpunct(wint_t c)
{ {
/* ZZZ unimplemented */ return ispunct(c);
return(0);
} }

View File

@@ -35,11 +35,12 @@
#include <wctype.h> #include <wctype.h>
#endif /* _WCTYPE_HEADERS_H */ #endif /* _WCTYPE_HEADERS_H */
#include <ctype.h>
/****************************************************************************/ /****************************************************************************/
int int
iswspace(wint_t c) iswspace(wint_t c)
{ {
/* ZZZ unimplemented */ return isspace(c);
return(0);
} }

View File

@@ -35,11 +35,12 @@
#include <wctype.h> #include <wctype.h>
#endif /* _WCTYPE_HEADERS_H */ #endif /* _WCTYPE_HEADERS_H */
#include <ctype.h>
/****************************************************************************/ /****************************************************************************/
int int
iswupper(wint_t c) iswupper(wint_t c)
{ {
/* ZZZ unimplemented */ return isupper(c);
return(0);
} }

View File

@@ -35,11 +35,12 @@
#include <wctype.h> #include <wctype.h>
#endif /* _WCTYPE_HEADERS_H */ #endif /* _WCTYPE_HEADERS_H */
#include <ctype.h>
/****************************************************************************/ /****************************************************************************/
int int
iswxdigit(wint_t c) iswxdigit(wint_t c)
{ {
/* ZZZ unimplemented */ return isxdigit(c);
return(0);
} }