return (_pctype[(unsigned char)(c & 0xFF)] & ctypeFlags);
}
+/*
+ * @implemented
+ */
int iswctype(wint_t wc, wctype_t wctypeFlags)
{
return (_pwctype[(unsigned char)(wc & 0xFF)] & wctypeFlags);
}
+/*
+ * @implemented
+ */
int isalpha(int c)
{
return(_isctype(c, _ALPHA));
}
+/*
+ * @implemented
+ */
int isalnum(int c)
{
return(_isctype(c, _ALPHA | _DIGIT));
}
+/*
+ * @implemented
+ */
int __isascii(int c)
{
return ((unsigned char)c <= 0x7f);
}
+/*
+ * @implemented
+ */
int iscntrl(int c)
{
return(_isctype(c, _CONTROL));
}
+/*
+ * @implemented
+ */
int __iscsym(int c)
{
return(isalnum(c)||(c == '_'));
}
+/*
+ * @implemented
+ */
int __iscsymf(int c)
{
return(isalpha(c)||(c == '_'));
}
+/*
+ * @implemented
+ */
int isdigit(int c)
{
return(_isctype(c, _DIGIT));
}
+/*
+ * @implemented
+ */
int isgraph(int c)
{
return (_isctype (c, _PUNCT | _ALPHA | _DIGIT));
}
+/*
+ * @implemented
+ */
int islower(int c)
{
return (_isctype (c, _LOWER));
}
+/*
+ * @implemented
+ */
int isprint(int c)
{
return (_isctype (c, _BLANK | _PUNCT | _ALPHA | _DIGIT));
}
+/*
+ * @implemented
+ */
int ispunct(int c)
{
return (_isctype (c, _PUNCT));
}
+/*
+ * @implemented
+ */
int isspace(int c)
{
return (_isctype (c, _SPACE));
}
+/*
+ * @implemented
+ */
int isupper(int c)
{
return (_isctype (c, _UPPER));
}
+/*
+ * @implemented
+ */
int isxdigit(int c)
{
return (_isctype (c, _HEX));
}
+/*
+ * @implemented
+ */
int iswalpha(wint_t c)
{
return (iswctype (c, _ALPHA));
return (iswctype (c, _DIGIT));
}
+int iswspace(wint_t c)
+{
+ return (iswctype (c, _SPACE));
+}
+
int iswlower(wint_t c)
{
return (iswctype (c, _LOWER));
}
+/*
+ * @implemented
+ */
int __toascii(int c)
{
return((unsigned)(c) & 0x7f);
}
+/*
+ * @implemented
+ */
int _tolower(int c)
{
if (_isctype (c, _UPPER))
return(c);
}
+/*
+ * @implemented
+ */
int _toupper(int c)
{
if (_isctype (c, _LOWER))
return(c);
}
+/*
+ * @implemented
+ */
int tolower(int c)
{
if (_isctype (c, _UPPER))
return(c);
}
+/*
+ * @implemented
+ */
int toupper(int c)
{
if (_isctype (c, _LOWER))
return(c);
}
+/*
+ * @implemented
+ */
wchar_t towlower(wchar_t c)
{
if (iswctype (c, _UPPER))
return(c);
}
+/*
+ * @implemented
+ */
wchar_t towupper(wchar_t c)
{
if (iswctype (c, _LOWER))