maxishell
Implementation of a shell for Linux-like systems
|
#include "signals.h"
#include <readline/readline.h>
#include <readline/history.h>
#include <unistd.h>
#include "libft.h"
#include <sys/wait.h>
Go to the source code of this file.
Functions | |
t_signal_context * | get_context (t_ms_data *data) |
void | handle_sigint_heredoc (int signo) |
int | is_external_command_running (void) |
t_signal_context * get_context | ( | t_ms_data * | data | ) |
Definition at line 21 of file signals_utils.c.
References s_signal_context::data_cxt.
Referenced by free_signal_context().
void handle_sigint_heredoc | ( | int | signo | ) |
Definition at line 38 of file signals_utils.c.
References g_heredoc_interrupted.
Referenced by setup_sigint_handler().
int is_external_command_running | ( | void | ) |
Definition at line 44 of file signals_utils.c.
Referenced by signal_reset_prompt().