diff options
Diffstat (limited to 'nuttx/include/ctype.h')
-rw-r--r-- | nuttx/include/ctype.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/nuttx/include/ctype.h b/nuttx/include/ctype.h index ca9235446..70b55e179 100644 --- a/nuttx/include/ctype.h +++ b/nuttx/include/ctype.h @@ -1,7 +1,7 @@ /**************************************************************************** * include/ctype.h * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2009, 2011 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -31,7 +31,7 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ************************************************************/ + ****************************************************************************/ #ifndef __INCLUDE_CTYPE_H #define __INCLUDE_CTYPE_H @@ -44,11 +44,11 @@ /**************************************************************************** * Included Files - ************************************************************/ + ****************************************************************************/ /**************************************************************************** * Pre-processor Definitions - ************************************************************/ + ****************************************************************************/ /**************************************************************************** * Function: isspace @@ -59,7 +59,7 @@ * carriage return ('\r'), horizontal tab ('\t'), and vertical * tab ('\v'). * - ************************************************************/ + ****************************************************************************/ #define isspace(c) \ ((c) == ' ' || (c) == '\t' || (c) == '\n' || \ @@ -72,7 +72,7 @@ * Checks whether c is a 7-bit unsigned char value that * fits into the ASCII character set. * - ************************************************************/ + ****************************************************************************/ #define isascii(c) ((c) >= 0 && (c) <= 0x7f); @@ -82,7 +82,7 @@ * Description: * Checks for a printable character (including space) * - ************************************************************/ + ****************************************************************************/ #define isprint(c) ((c) >= 0x20 && (c) < 0x7f) @@ -92,7 +92,7 @@ * Description: * Checks for a printable character (excluding space) * - ************************************************************/ + ****************************************************************************/ #define isgraph(c) ((c) > 0x20 && (c) < 0x7f) @@ -102,7 +102,7 @@ * Description: * Checks for control character. * - ************************************************************/ + ****************************************************************************/ #define iscontrol(c) (!isprint(c)) @@ -112,7 +112,7 @@ * Description: * Checks for an lowercase letter. * - ************************************************************/ + ****************************************************************************/ #define islower(c) ((c) >= 'a' && (c) <= 'z') @@ -122,7 +122,7 @@ * Description: * Checks for an uppercase letter. * - ************************************************************/ + ****************************************************************************/ #define isupper(c) ((c) >= 'A' && (c) <= 'Z') @@ -132,7 +132,7 @@ * Description: * Checks for an alphabetic character * - ************************************************************/ + ****************************************************************************/ #define isalpha(c) (islower(c) || isupper(c)) @@ -142,7 +142,7 @@ * Description: * ANSI standard isdigit implementation. * - ************************************************************/ + ****************************************************************************/ #define isdigit(c) ((c) >= '0' && (c) <= '9') @@ -152,7 +152,7 @@ * Description: * Checks for an alphanumeric character * - ************************************************************/ + ****************************************************************************/ #define isalnum(c) (isalpha(c) || isdigit(c)) @@ -163,7 +163,7 @@ * Checks for a printable character which is not a space * or an alphanumeric character * - ************************************************************/ + ****************************************************************************/ #define ispunct(c) (isgraph(c) && !isalnum(c)) @@ -174,7 +174,7 @@ * isxdigit() checks for a hexadecimal digits, i.e. one of * {0-9,a-f,A-F} * - ************************************************************/ + ****************************************************************************/ #define isxdigit(c) \ (((c) >= '0' && (c) <= '9') || \ @@ -187,7 +187,7 @@ * Description: * toupper() converts the letter c to upper case, if possible. * - ************************************************************/ + ****************************************************************************/ #define toupper(c) \ (((c) >= 'a' && (c) <= 'z') ? ((c) - 'a' + 'A') : (c)) @@ -198,18 +198,18 @@ * Description: * tolower() converts the letter c to lower case, if possible. * - ************************************************************/ + ****************************************************************************/ #define tolower(c) \ (((c) >= 'A' && (c) <= 'Z') ? ((c) - 'A' + 'a') : (c)) /**************************************************************************** * Public Type Definitions - ************************************************************/ + ****************************************************************************/ /**************************************************************************** * Public Functions - ************************************************************/ + ****************************************************************************/ #ifdef __cplusplus #define EXTERN extern "C" |