From 49b6183dc0171ac040bdd2faf6f8efa0448567c5 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sat, 19 Sep 2020 16:59:38 +0200 Subject: Cleaner variables handling $0 $1 $2 $3 --- src/s_struct.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/s_struct.h') diff --git a/src/s_struct.h b/src/s_struct.h index c9f86e1..f47eda0 100644 --- a/src/s_struct.h +++ b/src/s_struct.h @@ -80,13 +80,14 @@ typedef struct s_msh struct s_lpipes *pipes; struct s_lvars *vars; struct s_lalias *alias; + int32_t argc; + char **argv; char **envp; char *prev_hist; char *curr_hist; char ps[4][255]; char env_fork_tmp[128][4096]; char sqb_ref[FT_ID_SQB_COUNT][4]; - char *shname; char *cwd; int32_t fd; uint8_t (*bu_ptr[FT_BUILTINS_COUNT])(char **, struct s_msh*); -- cgit v1.2.3