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:
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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);
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user