summaryrefslogtreecommitdiffstats
path: root/src/s_struct.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-27 17:47:04 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-27 17:47:04 +0200
commit8a1352d62c0dd66ecdd5807e83c16a00fb864635 (patch)
tree41d8a9c612e0373f0beed119ccae88e55b6ba8c2 /src/s_struct.h
parentTODO update (diff)
download42-minishell-8a1352d62c0dd66ecdd5807e83c16a00fb864635.tar.gz
42-minishell-8a1352d62c0dd66ecdd5807e83c16a00fb864635.tar.bz2
42-minishell-8a1352d62c0dd66ecdd5807e83c16a00fb864635.tar.xz
42-minishell-8a1352d62c0dd66ecdd5807e83c16a00fb864635.tar.zst
42-minishell-8a1352d62c0dd66ecdd5807e83c16a00fb864635.zip
Histfile is BAV
Diffstat (limited to '')
-rw-r--r--src/s_struct.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/s_struct.h b/src/s_struct.h
index 3f9e84f..01c8f1f 100644
--- a/src/s_struct.h
+++ b/src/s_struct.h
@@ -72,11 +72,12 @@ typedef struct s_msh
char **envp;
char **bu_ref;
char ps[4][1024];
+ char env_fork_tmp[128][1024];
+ char sqb_ref[FT_ID_SQB_COUNT][4];
+ char hist[1037595];
char *shname;
char *cwd;
int32_t fd;
- char env_fork_tmp[128][1024];
- char sqb_ref[FT_ID_SQB_COUNT][4];
uint8_t (*bu_ptr[FT_BUILTINS_COUNT])(char **, struct s_msh*);
uint8_t ret;
} t_msh;