Normed the header of exec part

This commit is contained in:
Raphael 2024-08-30 18:22:27 +02:00
parent 7114085b82
commit 658d5bd243
3 changed files with 13 additions and 12 deletions

View file

@ -6,7 +6,7 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */ /* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/14 17:57:57 by rparodi #+# #+# */ /* Created: 2024/08/14 17:57:57 by rparodi #+# #+# */
/* Updated: 2024/08/14 18:16:02 by maiboyer ### ########.fr */ /* Updated: 2024/08/30 18:05:23 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/07/24 15:45:08 by maiboyer #+# #+# */ /* Created: 2024/07/24 15:45:08 by maiboyer #+# #+# */
/* Updated: 2024/08/05 15:13:17 by maiboyer ### ########.fr */ /* Updated: 2024/08/30 18:22:13 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -17,7 +17,8 @@
typedef struct s_expandable_str t_expandable_str; typedef struct s_expandable_str t_expandable_str;
struct s_expandable_str { struct s_expandable_str
{
t_str value; t_str value;
bool do_expand; bool do_expand;
}; };

View file

@ -6,7 +6,7 @@
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */ /* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */ /* +#+#+#+#+#+ +#+ */
/* Created: 2024/08/10 18:43:56 by maiboyer #+# #+# */ /* Created: 2024/08/10 18:43:56 by maiboyer #+# #+# */
/* Updated: 2024/08/14 16:42:10 by rparodi ### ########.fr */ /* Updated: 2024/08/30 18:22:17 by rparodi ### ########.fr */
/* */ /* */
/* ************************************************************************** */ /* ************************************************************************** */
@ -30,8 +30,8 @@ struct s_builtin_spawn_info
t_fd *stderr; t_fd *stderr;
}; };
typedef t_error (*t_builtin_func)(\ typedef t_error (*t_builtin_func)\
t_state *state, t_builtin_spawn_info info, t_i32 *exit_code); (t_state *state, t_builtin_spawn_info info, t_i32 *exit_code);
t_error builtin_cd____(\ t_error builtin_cd____(\
t_state *state, t_builtin_spawn_info info, t_i32 *exit_code); t_state *state, t_builtin_spawn_info info, t_i32 *exit_code);