diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/str/ft_atoi.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/str/ft_atoi.c b/src/str/ft_atoi.c index fa31407..1b9bfc4 100644 --- a/src/str/ft_atoi.c +++ b/src/str/ft_atoi.c @@ -12,6 +12,10 @@ #include "libft.h" +/** +** Convert a string to an int +*/ + int ft_atoi(const char *str) { return ((int)ft_strtol(str, (char**)NULL, 10)); |
