diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-19 16:59:38 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-19 16:59:38 +0200 |
commit | 49b6183dc0171ac040bdd2faf6f8efa0448567c5 (patch) | |
tree | eaff08562cedef9bf4267b0d17efce0485d2f51e /src/s_struct.h | |
parent | TODO update (diff) | |
download | 42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.tar.gz 42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.tar.bz2 42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.tar.xz 42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.tar.zst 42-minishell-49b6183dc0171ac040bdd2faf6f8efa0448567c5.zip |
Cleaner variables handling $0 $1 $2 $3
Diffstat (limited to '')
-rw-r--r-- | src/s_struct.h | 3 |
1 files changed, 2 insertions, 1 deletions
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*); |