diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-03-30 22:27:16 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-03-30 22:27:16 +0200 |
| commit | 941099778b59da6b904c284e8a82affe4766124b (patch) | |
| tree | 4457787a1b09408fcd1a5607109cc1c902c80af8 /src/main.c | |
| parent | 74787eefa2ac85d85b484d0ca5dffc6a2a13331d (diff) | |
| download | minishell-941099778b59da6b904c284e8a82affe4766124b.tar.gz minishell-941099778b59da6b904c284e8a82affe4766124b.tar.bz2 minishell-941099778b59da6b904c284e8a82affe4766124b.zip | |
Added doc
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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; |
