diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-30 16:38:30 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-30 16:38:30 +0200 |
| commit | 40ed37c023627726a5c9c6928284e9f042dc0fa4 (patch) | |
| tree | 19dd1faac1ee4ea1bab92b519ea150547356fd90 /src/str | |
| parent | 8bba48a8326d9e7a703c3f6f6ab70b8a8a393473 (diff) | |
| download | libft-40ed37c023627726a5c9c6928284e9f042dc0fa4.tar.gz libft-40ed37c023627726a5c9c6928284e9f042dc0fa4.tar.bz2 libft-40ed37c023627726a5c9c6928284e9f042dc0fa4.zip | |
Added Doxygen config file
Diffstat (limited to 'src/str')
| -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)); |
