diff options
author | salad <fmoenne-@student.le-101.fr> | 2020-08-31 14:52:48 +0200 |
---|---|---|
committer | salad <fmoenne-@student.le-101.fr> | 2020-08-31 14:52:48 +0200 |
commit | 7cad49bd96a1798b5e742ff85084ddc188f7362b (patch) | |
tree | dd66f7b8300674264605f1db7248cfa8d258a262 /src/p_lcom_vars.h | |
parent | no more SEGV on e_externs_pipes if prog member is nonsense (diff) | |
download | 42-minishell-7cad49bd96a1798b5e742ff85084ddc188f7362b.tar.gz 42-minishell-7cad49bd96a1798b5e742ff85084ddc188f7362b.tar.bz2 42-minishell-7cad49bd96a1798b5e742ff85084ddc188f7362b.tar.xz 42-minishell-7cad49bd96a1798b5e742ff85084ddc188f7362b.tar.zst 42-minishell-7cad49bd96a1798b5e742ff85084ddc188f7362b.zip |
start normng
Diffstat (limited to '')
-rw-r--r-- | src/p_lcom_vars.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/p_lcom_vars.h b/src/p_lcom_vars.h new file mode 100644 index 0000000..d0732ef --- /dev/null +++ b/src/p_lcom_vars.h @@ -0,0 +1,24 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* p_lcom_vars.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:19:27 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:19:29 by rbousset ### ########lyon.fr */ +/* */ +/* ************************************************************************** */ + +#ifndef P_LCOM_VARS_H +#define P_LCOM_VARS_H + +#include <stdint.h> + +#include "s_struct.h" + +void p_add_to_env_fork(int64_t i, char *words[], t_msh *msh); +char **p_subst_args(const char word[], int8_t redir); +char **p_subst_home(char *word[], t_msh *msh); + +#endif |