42-archive/42sh/src/job_control/sigint_handler.c
2017-03-24 17:25:53 +01:00

19 lines
988 B
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* sigint_handler.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <jhalford@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/12/10 15:14:47 by jhalford #+# #+# */
/* Updated: 2017/03/24 17:24:18 by gwojda ### ########.fr */
/* */
/* ************************************************************************** */
#include "minishell.h"
void sigint_handler(int signo)
{
(void)signo;
set_exitstatus(1, 1);
}