update for HEAD-2003091401
[reactos.git] / lib / ntdll / string / ctype.c
index 21d58cd..9e55962 100644 (file)
@@ -286,82 +286,130 @@ int _isctype (int c, int ctypeFlags)
   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));
@@ -372,6 +420,11 @@ int iswdigit(wint_t c)
    return (iswctype (c, _DIGIT));
 }
 
+int iswspace(wint_t c)
+{
+   return (iswctype (c, _SPACE));
+}
+
 int iswlower(wint_t c)
 {
    return (iswctype (c, _LOWER));
@@ -383,11 +436,17 @@ int iswxdigit(wint_t c)
 }
 
 
+/*
+ * @implemented
+ */
 int __toascii(int c)
 {
    return((unsigned)(c) & 0x7f);
 }
 
+/*
+ * @implemented
+ */
 int _tolower(int c)
 {
    if (_isctype (c, _UPPER))
@@ -395,6 +454,9 @@ int _tolower(int c)
    return(c);
 }
 
+/*
+ * @implemented
+ */
 int _toupper(int c)
 {
    if (_isctype (c, _LOWER))
@@ -402,6 +464,9 @@ int _toupper(int c)
    return(c);
 }
 
+/*
+ * @implemented
+ */
 int tolower(int c)
 {
    if (_isctype (c, _UPPER))
@@ -409,6 +474,9 @@ int tolower(int c)
    return(c);
 }
 
+/*
+ * @implemented
+ */
 int toupper(int c)
 {
    if (_isctype (c, _LOWER))
@@ -416,6 +484,9 @@ int toupper(int c)
    return(c);
 }
 
+/*
+ * @implemented
+ */
 wchar_t towlower(wchar_t c)
 {
    if (iswctype (c, _UPPER))
@@ -423,6 +494,9 @@ wchar_t towlower(wchar_t c)
    return(c);
 }
 
+/*
+ * @implemented
+ */
 wchar_t towupper(wchar_t c)
 {
    if (iswctype (c, _LOWER))