aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2020-03-30 22:27:16 +0200
committerCharles <sircharlesaze@gmail.com>2020-03-30 22:27:16 +0200
commit941099778b59da6b904c284e8a82affe4766124b (patch)
tree4457787a1b09408fcd1a5607109cc1c902c80af8 /src/main.c
parent74787eefa2ac85d85b484d0ca5dffc6a2a13331d (diff)
downloadminishell-941099778b59da6b904c284e8a82affe4766124b.tar.gz
minishell-941099778b59da6b904c284e8a82affe4766124b.tar.bz2
minishell-941099778b59da6b904c284e8a82affe4766124b.zip
Added doc
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c13
1 files changed, 13 insertions, 0 deletions
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;