Adding the start of the parsing and added the minishell in the git ignore

This commit is contained in:
Raphaël 2024-03-29 11:54:30 +01:00
parent 9a87ad7097
commit 5a24e30c6d
7 changed files with 55 additions and 15 deletions

19
sources/ft_exit.c Normal file
View file

@ -0,0 +1,19 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* ft_exit.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/03/29 11:35:51 by rparodi #+# #+# */
/* Updated: 2024/03/29 11:42:39 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "../includes/minishell.h"
void ft_exit(u8 exit_status)
{
printf("exit\n");
exit(exit_status);
}