aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
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;