aboutsummaryrefslogtreecommitdiff
path: root/src/eval/eval.c
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2020-10-10 11:43:05 +0200
committerCharles Cabergs <me@cacharle.xyz>2020-10-10 11:43:05 +0200
commitcccd4692fab390d0c4fbab3fcae7f4aa55ca9f1a (patch)
tree935f8aa5b19c780bdd7dbd7581dd067bad7b1eeb /src/eval/eval.c
parent5b681182824ae45b5a27d1503de32fa2760c5800 (diff)
downloadminishell-cccd4692fab390d0c4fbab3fcae7f4aa55ca9f1a.tar.gz
minishell-cccd4692fab390d0c4fbab3fcae7f4aa55ca9f1a.tar.bz2
minishell-cccd4692fab390d0c4fbab3fcae7f4aa55ca9f1a.zip
Added comment to preprocess, redir, setup, signal, eval_cmd and utils
Diffstat (limited to 'src/eval/eval.c')
-rw-r--r--src/eval/eval.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/eval/eval.c b/src/eval/eval.c
index 032fc30..f78e8ee 100644
--- a/src/eval/eval.c
+++ b/src/eval/eval.c
@@ -6,7 +6,7 @@
/* By: charles <me@cacharle.xyz> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/09/13 20:38:06 by charles #+# #+# */
-/* Updated: 2020/10/09 16:12:27 by cacharle ### ########.fr */
+/* Updated: 2020/10/10 11:28:12 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
@@ -21,11 +21,9 @@ static int st_replace(int oldfd, int newfd)
/*
** \brief Wrap a function in a fork
-** \param fds fork read/write file descriptors
-** \param passed param of the wrapped function
-** \param wrapped function to wrap
-** \param child_pid Pointer where to store the child pid
-** or NULL if the child should be waited
+** \param fds Fork read/write file descriptors
+** \param passed Param of the wrapped function
+** \param wrapped Function to wrap
** \return The child status code or EVAL_FATAL on error
*/