diff --git a/includes/char.h b/includes/char.h index 394e408..18e78c3 100644 --- a/includes/char.h +++ b/includes/char.h @@ -53,6 +53,14 @@ int ft_isdigit(int c); */ int ft_isprint(int c); +/** + * @brief Check if the character is whitespace + * + * @param c the character + * @return 1 if the char is whitespace otherwise 0 + */ +int ft_isspace(int c); + /** * @brief convert the upper case to lower case *