diff options
Diffstat (limited to '')
-rw-r--r-- | src/main.c | 41 |
1 files changed, 0 insertions, 41 deletions
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 <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/29 08:47:37 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/29 08:47:39 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ -/* ************************************************************************** */ - -#include <libft.h> -#include <minishell.h> -#include <stdlib.h> -#include <stddef.h> -#include <stdint.h> -#include <unistd.h> - -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); -} |