Adding the start of the parsing and added the minishell in the git ignore
This commit is contained in:
parent
9a87ad7097
commit
5a24e30c6d
7 changed files with 55 additions and 15 deletions
19
sources/ft_exit.c
Normal file
19
sources/ft_exit.c
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue