summaryrefslogtreecommitdiffstats
path: root/src/ft_e_externs_next.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 19:02:13 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-23 19:02:13 +0200
commit0d4d084859348ecc41ac2b3997ddc2be984636bd (patch)
treeb023549dec6eed6552f423bb821950de36274973 /src/ft_e_externs_next.h
parentok (diff)
download42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.tar.gz
42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.tar.bz2
42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.tar.xz
42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.tar.zst
42-minishell-0d4d084859348ecc41ac2b3997ddc2be984636bd.zip
Parsed bin path in $PATH, now time to execve(2)
Diffstat (limited to 'src/ft_e_externs_next.h')
-rw-r--r--src/ft_e_externs_next.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ft_e_externs_next.h b/src/ft_e_externs_next.h
new file mode 100644
index 0000000..e59e10b
--- /dev/null
+++ b/src/ft_e_externs_next.h
@@ -0,0 +1,23 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* ft_e_externs_next.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 FT_E_EXTERN_NEXT_H
+#define FT_E_EXTERN_NEXT_H
+
+#include "ft_s_struct.h"
+
+char **ft_get_env_path(t_msh *msh);
+char *ft_search_in_path(const char *com,
+ char **envpath,
+ t_msh *msh);
+
+#endif