Standard ascii character handling function library.  
More...
#include "complier-cfg.h"
#include "stddef.h"
Go to the source code of this file.
Standard ascii character handling function library. 
- Author
- Binary Maker (https://github.com/binarymaker) 
- Date
- 2019-10-10 
◆ __CTYPE_VERSION
      
        
          | #define __CTYPE_VERSION   (0x0001u) | 
      
 
Source file version tag. 
   version info: [15:8] main [7:0] beta
version: 0.1v 
 
 
◆ IsAlpha()
Check a character is an alphabet or not. Ex. (a-z) and (A-Z) 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsAlphaNumeric()
Check a character is an alphabetic and number character or not. Ex. (a-z) (A-Z) (0-9) 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsAscii()
Check a character is an ASCII character or not. 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsControl()
Check a character is a control character or not. Ex. (
 - newline, \t - tab, \r - enter, - backspace) 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsDigit()
Check a character is an number character or not. Ex. (0-9) 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsGraph()
Check a character is a graphical character or not. Ex. ! " # $ % & ' ( ) * + , - . / (0-9) : ; < = > ? @ (A-Z) [ \ ] ^ _ ` (a-z) { | } ~. 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsHexDigit()
Check a character is a hexadecimal character or not. Ex. (0-9) (a-f) (A-F) 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsLower()
Check a character is a lower case character or not. Ex. (a-z) 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsPrintable()
Check a character is a printable character or not. Ex. All graphical character IsGraph include space. 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsPunct()
Check a character is a punctuation character or not. Ex. ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~. 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsSpace()
Check a character is a space character or not. Ex. space. 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ IsUpper()
Check a character is a upper case character or not. Ex. (A-Z) 
- Parameters
- 
  
  
- Returns
- 
 
 
◆ ToLower()
Convert a character to lower case character. Ex. (a-z) (A-Z) to (a-z) 
- Parameters
- 
  
  
- Returns
- Lower case character 
 
 
◆ ToUpper()
Convert a character to upper case character. Ex. (a-z) (A-Z) to (A-Z) 
- Parameters
- 
  
  
- Returns
- Upper case character