42-archive/42sh/src/line-editing/ft_key_ctrl_d.c
2016-11-10 17:05:15 +01:00

22 lines
1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_key_ctrl_d.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jhalford <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/11/10 13:44:24 by jhalford #+# #+# */
/* Updated: 2016/11/10 13:44:24 by jhalford ### ########.fr */
/* */
/* ************************************************************************** */
#include "line_editing.h"
int ft_key_ctrl_d(t_data *data, t_dlist **input_chain, char *buf)
{
(void)data;
(void)input_chain;
(void)buf;
ft_putendl("exit");
exit(0);
}