crude signal handling

This commit is contained in:
Maieul BOYER 2024-05-02 14:22:28 +02:00
parent fd64e1ad72
commit 0e2ec315b9
No known key found for this signature in database
6 changed files with 114 additions and 16 deletions

View 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 */