diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-17 17:22:24 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-17 17:22:24 +0200 |
commit | cfaf9947227065ce40661544dff9b3554ff5aca2 (patch) | |
tree | e0d5da338e8df09c71c47405f5558cb67aac1cf8 /libft/include/libft.h | |
parent | Updated TODO list (diff) | |
download | 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.gz 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.bz2 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.xz 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.tar.zst 42-minishell-cfaf9947227065ce40661544dff9b3554ff5aca2.zip |
Set libft/ft_is* to type t_bool
Diffstat (limited to 'libft/include/libft.h')
-rw-r--r-- | libft/include/libft.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/libft/include/libft.h b/libft/include/libft.h index 0cd5ed1..7019d6b 100644 --- a/libft/include/libft.h +++ b/libft/include/libft.h @@ -121,18 +121,20 @@ char **ft_split(const char *s, char c); ** INT */ -uint8_t ft_isspace(int c); -uint8_t ft_ischarset(const char *charset, int c); uint8_t ft_intlen(long n); uint8_t ft_intlen_base(long n, char *base); uint8_t ft_uintlen(unsigned long n); uint8_t ft_uintlen_base(unsigned long n, char *base); int ft_memcmp(const void *s1, const void *s2, size_t n); -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); +t_bool ft_isspace(int c); +t_bool ft_ischarset(const char *charset, int c); +t_bool ft_isupper(int c); +t_bool ft_islower(int c); +t_bool ft_isalpha(int c); +t_bool ft_isdigit(int c); +t_bool ft_isalnum(int c); +t_bool ft_isascii(int c); +t_bool ft_isprint(int c); int ft_toupper(int c); int ft_tolower(int c); int ft_strncmp(const char *s1, const char *s2, size_t n); |