From 7c3f538f7508ef549606da63daf006f4159822c4 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Wed, 30 Sep 2020 18:49:30 +0200 Subject: Normed e_builtins --- src/e_builtins.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/e_builtins.c') 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 { -- cgit v1.2.3