Norming the header minishell

This commit is contained in:
Raphael 2024-08-03 17:49:07 +02:00
parent 887601bf2b
commit bb6f4da3f4

View file

@ -6,23 +6,23 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/28 14:41:15 by rparodi #+# #+# */ /* Created: 2024/03/28 14:41:15 by rparodi #+# #+# */
/* Updated: 2024/07/10 21:02:59 by maiboyer ### ########.fr */ /* Updated: 2024/08/03 17:48:44 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
#ifndef MINISHELL_H #ifndef MINISHELL_H
#define MINISHELL_H # define MINISHELL_H
#include "app/node.h" # include "app/node.h"
#include "app/state.h" # include "app/state.h"
#include "me/types.h" # include "me/types.h"
#include <fcntl.h> # include <fcntl.h>
#include <sys/types.h> # include <sys/types.h>
#include <sys/wait.h> # include <sys/wait.h>
#include <unistd.h> # include <unistd.h>
#define PATH_FILES "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" # define PATH_FILES "/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games"
t_i32 main(t_i32 argc, t_str argv[], t_str arge[]); t_i32 main(t_i32 argc, t_str argv[], t_str arge[]);
void ft_other_cmd(t_state *shcat, t_usize i, t_usize prev_i); void ft_other_cmd(t_state *shcat, t_usize i, t_usize prev_i);