diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:49:30 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:49:30 +0200 |
commit | 7c3f538f7508ef549606da63daf006f4159822c4 (patch) | |
tree | f49103a077bd9f9c3fae92cedf09975951a99290 /src/e_builtins.c | |
parent | Normed e_builtins (diff) | |
download | 42-minishell-7c3f538f7508ef549606da63daf006f4159822c4.tar.gz 42-minishell-7c3f538f7508ef549606da63daf006f4159822c4.tar.bz2 42-minishell-7c3f538f7508ef549606da63daf006f4159822c4.tar.xz 42-minishell-7c3f538f7508ef549606da63daf006f4159822c4.tar.zst 42-minishell-7c3f538f7508ef549606da63daf006f4159822c4.zip |
Normed e_builtins
Diffstat (limited to 'src/e_builtins.c')
-rw-r--r-- | src/e_builtins.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/e_builtins.c b/src/e_builtins.c index bc14ced..123aff3 100644 --- a/src/e_builtins.c +++ b/src/e_builtins.c @@ -89,6 +89,10 @@ static void e_builtin_parent(pid_t pid, } } +/* +** TODO: handle fork() failed +*/ + void e_builtin(const t_com *ptr, uint8_t bu_id, t_msh *msh) { pid_t pid; @@ -99,9 +103,6 @@ void e_builtin(const t_com *ptr, uint8_t bu_id, t_msh *msh) } else if (pid < 0) { - /* - ** TODO: handle fork() failed - */ } else { |