diff options
Diffstat (limited to 'include/libft_ctype.h')
| -rw-r--r-- | include/libft_ctype.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/include/libft_ctype.h b/include/libft_ctype.h new file mode 100644 index 0000000..44e88b8 --- /dev/null +++ b/include/libft_ctype.h @@ -0,0 +1,35 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_ctype.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/01/17 09:59:10 by cacharle #+# #+# */ +/* Updated: 2020/01/17 10:00:13 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef FT_CTYPE_H +# define FT_CTYPE_H + +/* +** assertion +*/ + +int ft_isalpha(int c); +int ft_isdigit(int c); +int ft_isalnum(int c); +int ft_isascii(int c); +int ft_isprint(int c); +int ft_isspace(int c); + +/* +** conversion +*/ + +int ft_toupper(int c); +int ft_tolower(int c); +int ft_todigit(int c); + +#endif |
