mirror of https://github.com/adtools/clib2.git
Implement some more of the iswXXX() functions.
This commit is contained in:
parent
ef18bf5f3e
commit
345995000a
|
@ -35,11 +35,12 @@
|
|||
#include <wctype.h>
|
||||
#endif /* _WCTYPE_HEADERS_H */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
iswcntrl(wint_t c)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(0);
|
||||
return iscntrl(c);
|
||||
}
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
#include <wctype.h>
|
||||
#endif /* _WCTYPE_HEADERS_H */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
iswgraph(wint_t c)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(0);
|
||||
return isgraph(c);
|
||||
}
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
#include <wctype.h>
|
||||
#endif /* _WCTYPE_HEADERS_H */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
iswlower(wint_t c)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(0);
|
||||
return islower(c);
|
||||
}
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
#include <wctype.h>
|
||||
#endif /* _WCTYPE_HEADERS_H */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
iswpunc(wint_t c)
|
||||
iswpunct(wint_t c)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(0);
|
||||
return ispunct(c);
|
||||
}
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
#include <wctype.h>
|
||||
#endif /* _WCTYPE_HEADERS_H */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
iswspace(wint_t c)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(0);
|
||||
return isspace(c);
|
||||
}
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
#include <wctype.h>
|
||||
#endif /* _WCTYPE_HEADERS_H */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
iswupper(wint_t c)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(0);
|
||||
return isupper(c);
|
||||
}
|
||||
|
|
|
@ -35,11 +35,12 @@
|
|||
#include <wctype.h>
|
||||
#endif /* _WCTYPE_HEADERS_H */
|
||||
|
||||
#include <ctype.h>
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
int
|
||||
iswxdigit(wint_t c)
|
||||
{
|
||||
/* ZZZ unimplemented */
|
||||
return(0);
|
||||
return isxdigit(c);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue