From 941099778b59da6b904c284e8a82affe4766124b Mon Sep 17 00:00:00 2001 From: Charles Date: Mon, 30 Mar 2020 22:27:16 +0200 Subject: Added doc --- src/main.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 11e4517..52b5baa 100644 --- a/src/main.c +++ b/src/main.c @@ -10,8 +10,21 @@ /* */ /* ************************************************************************** */ +/** +** \file main.c +** \brief Minishell entrypoint +*/ + #include "minishell.h" +/** +** \brief Program entrypoint +** \param argc Number of arguments in `argv` +** \param argv Array of string, argument of the program +** \param envp NULL terminated array of string representing the environment +** \return 0 if ok, 1 otherwise +*/ + int main(int argc, char **argv, const char **envp) { t_path path; -- cgit