summaryrefslogtreecommitdiffstats
path: root/src/b_exit.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-05 16:11:54 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-05 16:11:54 +0200
commitffd4838e8fbaafa80945bcbd74c0dea3ae53105b (patch)
treef2e35e4a7a6c219d584ed54b2d0580a9e3f7c934 /src/b_exit.c
parentTODO update (diff)
download42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.tar.gz
42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.tar.bz2
42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.tar.xz
42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.tar.zst
42-minishell-ffd4838e8fbaafa80945bcbd74c0dea3ae53105b.zip
Fix
Diffstat (limited to 'src/b_exit.c')
-rw-r--r--src/b_exit.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/b_exit.c b/src/b_exit.c
index 3aef1c1..113313d 100644
--- a/src/b_exit.c
+++ b/src/b_exit.c
@@ -21,6 +21,10 @@
#include "s_struct.h"
#include "u_utils.h"
+/*
+** TODO: handle non-numeric args[0]
+*/
+
uint8_t b_exit(char *args[], t_msh *msh)
{
uint8_t ret;