-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.c
27 lines (24 loc) · 1.11 KB
/
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: ilahyani <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/06/07 10:28:26 by ilahyani #+# #+# */
/* Updated: 2022/08/09 22:40:48 by ilahyani ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
int main(int ac, char **av, char **env)
{
t_env *lst_env;
(void) ac;
(void) av;
lst_env = NULL;
env_init(env, &lst_env);
rl_catch_signals = 0;
ft_readline(&lst_env);
free_list(lst_env);
return (g_status);
}