diff options
Diffstat (limited to 'c12/ex08/ft_list_reverse.c')
| -rw-r--r-- | c12/ex08/ft_list_reverse.c | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/c12/ex08/ft_list_reverse.c b/c12/ex08/ft_list_reverse.c new file mode 100644 index 0000000..b650329 --- /dev/null +++ b/c12/ex08/ft_list_reverse.c @@ -0,0 +1,22 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* ft_list_reverse.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2019/07/09 18:05:23 by cacharle #+# #+# */ +/* Updated: 2019/07/09 18:10:50 by cacharle ### ########.fr */ +/* */ +/* ************************************************************************** */ + +void ft_list_reverse(t_list **begin_list) +{ + t_list tmp; + while (*begin_list->next) + { + tmp = *begin_list->next; + + + } +} |
