]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StdLib/Include/ctype.h
StdLib: The formatting for double float values, within the gdtoa library, is improper.
[mirror_edk2.git] / StdLib / Include / ctype.h
index 64bccd5f669470e82826a0748402427f0b859d32..d35367f52055b57eb8d5d04cb5242617029e0493 100644 (file)
@@ -55,6 +55,17 @@ int isalnum(int c);
 **/\r
 int isalpha(int c);\r
 \r
+/** The isblank function tests that a character is a white-space character that results\r
+    in a number of space (' ') characters being sent to the output device.  In the C locale\r
+    this is either ' ' or '\t'.\r
+\r
+    @param[in]    c   The character to be tested.\r
+\r
+    @return   Returns nonzero (true) if and only if the value of the parameter c\r
+              can be classified as specified in the description of the function.\r
+**/\r
+int isblank(int);\r
+\r
 /** The iscntrl function tests for any control character.\r
 \r
     @param[in]    c   The character to be tested.\r
@@ -150,25 +161,29 @@ int isupper(int c);
 **/\r
 int isxdigit(int c);\r
 \r
-/** The isblank function tests that a character is a white-space character that results\r
-    in a number of space (' ') characters being sent to the output device.  In the C locale\r
-    this is either ' ' or '\t'.\r
+/** The isascii function tests that a character is one of the 128 7-bit ASCII characters.\r
+    This function is not part of the C standard, but is commonly used.\r
 \r
     @param[in]    c   The character to be tested.\r
 \r
     @return   Returns nonzero (true) if and only if the value of the parameter c\r
               can be classified as specified in the description of the function.\r
 **/\r
-int isblank(int);\r
+int isascii(int c);\r
 \r
-/** The isascii function tests that a character is one of the 128 7-bit ASCII characters.\r
+/** Test whether a character is one of the characters used as a separator\r
+    between directory elements in a path.\r
+\r
+    Characters are '/', '\\'\r
+\r
+    This non-standard function is unique to this implementation.\r
 \r
     @param[in]    c   The character to be tested.\r
 \r
     @return   Returns nonzero (true) if and only if the value of the parameter c\r
               can be classified as specified in the description of the function.\r
 **/\r
-int isascii(int c);\r
+int isDirSep(int c);\r
 \r
 /** The tolower function converts an uppercase letter to a corresponding\r
     lowercase letter.\r
@@ -217,6 +232,7 @@ __END_DECLS
   #define isspace(c)    (__isCClass( (int)c, (_CW)))\r
   #define isupper(c)    (__isCClass( (int)c, (_CU)))\r
   #define isxdigit(c)   (__isCClass( (int)c, (_CD | _CX)))\r
+  #define isDirSep(c)   (__isCClass( (int)c, (_C0)))\r
   #define tolower(c)    (__toLower((int)c))\r
   #define toupper(c)    (__toUpper((int)c))\r
 #endif  /* NO_CTYPE_MACROS */\r