From 95670611b3636932b6e64c3e485a4e4bf40d8b07 Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Sun, 2 Feb 2020 18:12:45 +0100 Subject: Norme again --- src/ft_get_res.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'src/ft_get_res.c') diff --git a/src/ft_get_res.c b/src/ft_get_res.c index 372ebca..5b48688 100644 --- a/src/ft_get_res.c +++ b/src/ft_get_res.c @@ -1,8 +1,21 @@ +/* ************************************************************************** */ +/* LE - / */ +/* / */ +/* ft_get_res.c .:: .:/ . .:: */ +/* +:+:+ +: +: +:+:+ */ +/* By: rbousset +:+ +: +: +:+ */ +/* #+# #+ #+ #+# */ +/* Created: 2020/02/02 17:19:27 by rbousset #+# ## ## #+# */ +/* Updated: 2020/02/02 17:19:27 by rbousset ### #+. /#+ ###.fr */ +/* / */ +/* / */ +/* ************************************************************************** */ + #include #include static void -ft_checkdigit(const char *word, t_cub *clist) + ft_checkdigit(const char *word, t_cub *clist) { size_t i; @@ -12,9 +25,9 @@ ft_checkdigit(const char *word, t_cub *clist) if (i != ft_strlen(word)) ft_map_error(clist); } - + int -ft_get_res(char **words, t_cub *clist) + ft_get_res(char **words, t_cub *clist) { if (!(*words + 0) || !(*(words + 1)) || !(*(words + 2)) || (*(words + 3))) -- cgit v1.2.3