42sh 1.0.0
Create a shell in C
|
The file containing the signals functions. More...
#include "../include/myshell.h"
Functions | |
void | status_handler (int status) |
Display the signal returned by executing a command. | |
void | print_line (int signal) |
Display the prompt when the SIGINT signal is received. | |
void | print_exit (int signal) |
Display "exit" when the a CRTL+D is received. | |
The file containing the signals functions.
void print_exit | ( | int | signal | ) |
Display "exit" when the a CRTL+D is received.
signal | The signal |
void print_line | ( | int | signal | ) |
Display the prompt when the SIGINT signal is received.
signal | The signal |
void status_handler | ( | int | status | ) |
Display the signal returned by executing a command.
signal | The signal |