crude signal handling
This commit is contained in:
parent
fd64e1ad72
commit
0e2ec315b9
6 changed files with 114 additions and 16 deletions
24
includes/app/signal_handler.h
Normal file
24
includes/app/signal_handler.h
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* signal_handler.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/02 13:20:25 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/05/02 13:23:06 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef SIGNAL_HANDLER_H
|
||||
#define SIGNAL_HANDLER_H
|
||||
|
||||
#include "me/types.h"
|
||||
#include <readline/readline.h>
|
||||
#include <signal.h>
|
||||
|
||||
typedef t_i32 t_signal;
|
||||
|
||||
t_error install_signal(void);
|
||||
|
||||
#endif /* SIGNAL_HANDLER_H */
|
||||
1
includes/gmr
Symbolic link
1
includes/gmr
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
../parser/static/headers/
|
||||
Loading…
Add table
Add a link
Reference in a new issue