mirror of
https://github.com/guezoloic/libft.git
synced 2026-01-25 01:34:15 +00:00
feat(libft.h): update ft_atoi description
This commit is contained in:
5
libft.h
5
libft.h
@@ -135,6 +135,11 @@ int ft_memcmp(const void *s1, const void *s2, size_t n);
|
||||
// TODO
|
||||
char *ft_strnstr(const char *haystack, const char *needle, size_t len);
|
||||
|
||||
/*
|
||||
The ft_atoi() function converts the
|
||||
initial portion of the string pointed
|
||||
to by str to int representation.
|
||||
*/
|
||||
int ft_atoi(const char *str);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user