MiniDevil
As beautiful as a shell
Implements exit: shell exit with optional status.
More...
Include dependency graph for builtin_exit.c:Implements exit: shell exit with optional status.
Definition in file builtin_exit.c.
Functions | |
| int | builtin_exit (char **args, t_shell *shell) |
Implement the exit command. More... | |
| int builtin_exit | ( | char ** | args, |
| t_shell * | shell | ||
| ) |
Implement the exit command.
| args | NULL terminated arg array with arg[0] = "exit" |
| shell | Shell context (running flag set to 0 in order to trigger exit) |
Definition at line 29 of file builtin_exit.c.
References t_shell::exit_status, t_shell::interactive, and t_shell::running.
Referenced by exec_builtin().
Here is the caller graph for this function: