calloc and strdup

This commit is contained in:
David Gailleton
2025-11-05 19:37:02 +01:00
parent 697e044d7e
commit 86f9f05889
4 changed files with 60 additions and 2 deletions

View File

@@ -6,7 +6,7 @@
/* By: dgaillet <dgaillet@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2025/11/05 09:49:43 by dgaillet #+# #+# */
/* Updated: 2025/11/05 19:06:38 by dgaillet ### ########lyon.fr */
/* Updated: 2025/11/05 19:36:02 by dgaillet ### ########lyon.fr */
/* */
/* ************************************************************************** */
@@ -34,5 +34,9 @@ char *ft_strrchr(const char *s, int c);
int ft_strncmp(const char *s1, const char *s2, size_t n);
int ft_memcmp(const void *s1, const void *s2, size_t n);
void *ft_memchr(const void *s, int c, size_t n);
char *ft_strnstr(const char *big, const char *little, size_t len);
int ft_atoi(const char *nptr);
void *calloc(size_t nmemb, size_t size);
char *ft_strdup(const char *s);
#endif