ajout des fonctions atol free_tab et isnumber

This commit is contained in:
hugogogo
2021-09-27 16:51:48 +02:00
parent c335eb1f6a
commit d622367cfd
11 changed files with 221 additions and 23 deletions

View File

@@ -27,6 +27,7 @@ int ft_memcmp(const void *s1, const void *s2, size_t n);
size_t ft_strlen(const char *str);
int ft_isalpha(int c);
int ft_isdigit(int c);
int ft_isnumber(char *nb);
int ft_isalnum(int c);
int ft_isascii(int c);
int ft_isprint(int c);
@@ -40,6 +41,7 @@ size_t ft_strlcpy(char *dst, const char *src, size_t size);
size_t ft_strlcat(char *dst, const char *src, size_t size);
char *ft_strnstr(const char *b, const char *l, size_t s);
int ft_atoi(const char *str);
long ft_atol(const char *str);
void *ft_calloc(size_t count, size_t size);
char *ft_strdup(const char *s1);
@@ -109,5 +111,6 @@ int ft_greater(int a, int b);
int ft_smaller(int a, int b);
int ft_sign(int i);
int ft_sqrt(int i);
void ft_free_tab(char **tab);
#endif