mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
31 lines
1.2 KiB
C
31 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* sig.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: jguelen <jguelen@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/02/19 18:21:55 by jguelen #+# #+# */
|
|
/* Updated: 2025/02/21 15:26:59 by jguelen ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef SIG_H
|
|
# define SIG_H
|
|
|
|
# include "libft.h"
|
|
# include <signal.h>
|
|
# include <stddef.h>
|
|
# include <asm-generic/signal-defs.h>
|
|
|
|
# ifndef NSIG
|
|
# define NSIG 64
|
|
# endif
|
|
|
|
extern int g_signum;
|
|
|
|
int set_interactive_mode_sig_handling(void);
|
|
int set_exec_mode_sig_handling(void);
|
|
int set_default_sig_handling(void);
|
|
|
|
#endif
|