X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=includes%2Fctype.h;h=8f979ef7bb15c2112df8ec4114c78b23e6c93d9a;hb=97dd2fddbdb56005b16a1b0aa19ed15cd77269fc;hp=adf5ce2b657ba09b2df5d5968892d9b544b88348;hpb=be35e77c0d824e5bd545620ca81c812f9e16f0e5;p=pdclib.old diff --git a/includes/ctype.h b/includes/ctype.h index adf5ce2..8f979ef 100644 --- a/includes/ctype.h +++ b/includes/ctype.h @@ -8,6 +8,8 @@ #ifndef _PDCLIB_CTYPE_H #define _PDCLIB_CTYPE_H _PDCLIB_CTYPE_H +#include <_PDCLIB_int.h> +_PDCLIB_BEGIN_EXTERN_C /* Character classification functions */ @@ -29,15 +31,15 @@ int isalnum( int c ); */ int isalpha( int c ); -/* Returns true if the character is a whitespace. In the "C" locale, only ' ' - and '\t' are considered whitespace. +/* Returns true if the character isspace() and used for seperating words within + a line of text. In the "C" locale, only ' ' and '\t' are considered blanks. */ int isblank( int c ); /* Returns true if the character is a control character. */ int iscntrl( int c ); -/* Returns true if the character is a decimal digit. */ +/* Returns true if the character is a decimal digit. Locale-independent. */ int isdigit( int c ); /* Returns true for every printing character except space (' '). */ @@ -75,7 +77,7 @@ int isspace( int c ); */ int isupper( int c ); -/* Returns true for any hexadecimal-digit character. */ +/* Returns true for any hexadecimal-digit character. Locale-independent. */ int isxdigit( int c ); /* Character case mapping functions */ @@ -90,4 +92,5 @@ int tolower( int c ); */ int toupper( int c ); +_PDCLIB_END_EXTERN_C #endif