X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=includes%2Fctype.h;h=ae951460b042dee3f8f872c2052b7654967f4753;hp=adf5ce2b657ba09b2df5d5968892d9b544b88348;hb=36b77c1eaf2ffddb76ef8ed2e6acd046682875c7;hpb=a441890ee6e346603bf5aeeb8a9694980118319f diff --git a/includes/ctype.h b/includes/ctype.h index adf5ce2..ae95146 100644 --- a/includes/ctype.h +++ b/includes/ctype.h @@ -9,6 +9,11 @@ #ifndef _PDCLIB_CTYPE_H #define _PDCLIB_CTYPE_H _PDCLIB_CTYPE_H +#ifndef _PDCLIB_INT_H +#define _PDCLIB_INT_H _PDCLIB_INT_H +#include <_PDCLIB_int.h> +#endif + /* Character classification functions */ /* Note that there is a difference between "whitespace" (any printing, non- @@ -29,15 +34,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 +80,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 */