From c9e4fb6e2ad07e13cf41d6ce6afad30b04011765 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 20 Apr 2020 14:51:45 +0200 Subject: Solid base --- src/main.c | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/main.c (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c deleted file mode 100644 index beafbb5..0000000 --- a/src/main.c +++ /dev/null @@ -1,41 +0,0 @@ -/* ************************************************************************** */ -/* LE - / */ -/* / */ -/* main.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/29 08:47:37 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/29 08:47:39 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ -/* ************************************************************************** */ - -#include -#include -#include -#include -#include -#include - -int -main(int argc, - const char *argv[], - const char *envp[]) -{ - char *arg; - int8_t gnlret; - - (void)argc; - (void)argv; - (void)envp; - ft_printf(FT_PS1); - while ((gnlret = get_next_line(STDIN_FILENO, &arg)) > 0) - { - ft_process_arg(arg); - ft_memdel((void*)&arg); - ft_printf(FT_PS1); - } - free(arg); - return (0); -} -- cgit v1.2.3