diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-04-04 23:36:19 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-04-04 23:36:19 +0200 |
| commit | 65cf641e9533b190db870d0cc46f2f852239ebf6 (patch) | |
| tree | df2002170b96d189493e54cb484390fb2af2a2d1 /src/str/ft_atoi.c | |
| parent | 42316d8393d32bd88fb8e0cba6825185f78dacd0 (diff) | |
| download | libft-65cf641e9533b190db870d0cc46f2f852239ebf6.tar.gz libft-65cf641e9533b190db870d0cc46f2f852239ebf6.tar.bz2 libft-65cf641e9533b190db870d0cc46f2f852239ebf6.zip | |
Added test for ft_strsjoin, ft_strsjoinf, ft_vecpush_safe, Added doc for algo functions, tested functions
Diffstat (limited to 'src/str/ft_atoi.c')
| -rw-r--r-- | src/str/ft_atoi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/str/ft_atoi.c b/src/str/ft_atoi.c index d6fa5bb..b8f979d 100644 --- a/src/str/ft_atoi.c +++ b/src/str/ft_atoi.c @@ -6,14 +6,17 @@ /* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 09:46:16 by cacharle #+# #+# */ -/* Updated: 2020/01/15 10:56:06 by cacharle ### ########.fr */ +/* Updated: 2020/04/04 22:34:33 by charles ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" /* -** Convert a string to an int +** \brief Extract first int in a string +** (takes as much digits has possible) +** \param str String to convert +** \return Extracted int */ int ft_atoi(const char *str) |
