maxishell
Implementation of a shell for Linux-like systems
|
Go to the source code of this file.
Macros | |
#define | _GNU_SOURCE |
Functions | |
void | signal_reset_prompt (int signo) |
void | set_signals_interactive (void) |
void | signal_print_newline (int signal) |
void | sigquit_ignore (void) |
void | set_signals_noninteractive (void) |
void | handle_sigint_heredoc (int signo) |
int | ft_perror (char *str) |
Variables | |
volatile sig_atomic_t | g_heredoc_interrupted |
int ft_perror | ( | char * | str | ) |
Definition at line 18 of file exit_status_utils.c.
void handle_sigint_heredoc | ( | int | signo | ) |
Definition at line 19 of file signals_utils.c.
References g_heredoc_interrupted.
Referenced by setup_sigint_handler().
void set_signals_interactive | ( | void | ) |
Definition at line 51 of file signals.c.
References signal_reset_prompt(), and sigquit_ignore().
Referenced by main_loop().
void set_signals_noninteractive | ( | void | ) |
Definition at line 63 of file signals.c.
References signal_print_newline().
Referenced by main_loop().
void signal_print_newline | ( | int | signal | ) |
Definition at line 34 of file signals.c.
Referenced by set_signals_noninteractive().
void signal_reset_prompt | ( | int | signo | ) |
Definition at line 25 of file signals.c.
Referenced by set_signals_interactive().
void sigquit_ignore | ( | void | ) |
Definition at line 41 of file signals.c.
Referenced by set_signals_interactive().
|
extern |
Definition at line 27 of file redirect_heredoc.c.
Referenced by handle_heredoc_interruption(), handle_sigint_heredoc(), redirect_here_doc(), and write_heredoc_lines().