minishell
Minishell Project for École 42
|
Entry point of the minishell project. More...
#include "minishell.h"
Functions | |
int | main (int ac, char **av, char **envp) |
Main function of the minishell project. | |
Variables | |
int | g_exit_code = 0 |
Entry point of the minishell project.
Contains the main function of the minishell project. This project is about creating a simple shell.
int main | ( | int | ac, |
char ** | av, | ||
char ** | envp | ||
) |
Main function of the minishell project.
Entry point of the minishell project. It initializes the main data structure, increases the SHLVL (environment variable) and starts the program loop.
[in] | ac | The number of cmd-line arguments. |
[in] | av | An array strings with cmd-line arguments. |
[in] | envp | An array of strings with enviroment variables. |