signals adjustements
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
#ifndef MINISHELL_PROTOTYPES_H
|
||||
# define MINISHELL_PROTOTYPES_H
|
||||
|
||||
// variable globale
|
||||
int g_switch_heredoc_sigint;
|
||||
extern char **environ;
|
||||
|
||||
@@ -24,7 +23,7 @@ char **retrieve_path(void);
|
||||
int set_terminal_attributes(struct termios *ori_termios,
|
||||
struct termios *interactive_termios,
|
||||
int *termios_changed); // WIP, TEST, TEMP, PLACEHOLDER, NOT IMPORTANT, :)
|
||||
int set_signals_handling(struct sigaction *signal_behaviour);
|
||||
void set_signals_behaviour(void);
|
||||
|
||||
// Shell modes
|
||||
void shell_loop(t_all *c);
|
||||
|
||||
@@ -46,7 +46,7 @@ typedef struct s_all
|
||||
// struct termios interactive_termios;
|
||||
// int termios_changed;
|
||||
// struct sigaction ori_signal_behaviour;
|
||||
struct sigaction signal_behaviour;
|
||||
// struct sigaction signal_behaviour;
|
||||
} t_all;
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user