diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-09 18:29:25 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-09 18:29:25 +0200 |
commit | 42aa32df3f63d4dd1213b0683ab7110d788defef (patch) | |
tree | 80deb6980df13c903d3ed113abca0c33aa73d828 /src/p_split.h | |
parent | Pretty bav (diff) | |
download | 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.tar.gz 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.tar.bz2 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.tar.xz 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.tar.zst 42-minishell-42aa32df3f63d4dd1213b0683ab7110d788defef.zip |
The more memory the better LOL
Diffstat (limited to '')
-rw-r--r-- | src/p_split.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/p_split.h b/src/p_split.h index 648e01c..00da660 100644 --- a/src/p_split.h +++ b/src/p_split.h @@ -13,6 +13,13 @@ #ifndef P_SPLIT_H #define P_SPLIT_H -char **p_split_line(const char line[]); +typedef struct s_split_block +{ + size_t pos[ARG_MAX / 2]; + int8_t nextif[ARG_MAX / 2]; + uint32_t count; +} t_split_block; + +char **p_split_line(char line[]); #endif |