summaryrefslogtreecommitdiffstats
path: root/src/ft_d_define.h
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-26 17:18:16 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-26 17:18:16 +0200
commit75492244a377c8d5d61459a162d73d60dd32759e (patch)
treec1d86b502143a97a7fde36db303bdab4a62ae2dd /src/ft_d_define.h
parentTodo update (diff)
download42-minishell-75492244a377c8d5d61459a162d73d60dd32759e.tar.gz
42-minishell-75492244a377c8d5d61459a162d73d60dd32759e.tar.bz2
42-minishell-75492244a377c8d5d61459a162d73d60dd32759e.tar.xz
42-minishell-75492244a377c8d5d61459a162d73d60dd32759e.tar.zst
42-minishell-75492244a377c8d5d61459a162d73d60dd32759e.zip
Tryna subst vars
Diffstat (limited to 'src/ft_d_define.h')
-rw-r--r--src/ft_d_define.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ft_d_define.h b/src/ft_d_define.h
index 89e1106..b1e9a72 100644
--- a/src/ft_d_define.h
+++ b/src/ft_d_define.h
@@ -33,6 +33,13 @@
#define FT_OPT_COMMAND "-c"
/*
+** ====== VARS ======
+*/
+
+#define FT_ZER_VAR "$0"
+#define FT_RET_VAR "$?"
+
+/*
** ====== FAIL MSG ======
*/