ft_free_null()

+ refactoring shell_loop()
This commit is contained in:
LuckyLaszlo
2021-11-30 14:12:05 +01:00
parent b265e8475a
commit ffd06c4b95
5 changed files with 37 additions and 23 deletions

View File

@@ -6,7 +6,7 @@
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2021/10/08 02:59:58 by lperrey #+# #+# */
/* Updated: 2021/11/29 12:43:15 by lperrey ### ########.fr */
/* Updated: 2021/11/30 13:12:04 by lperrey ### ########.fr */
/* */
/* ************************************************************************** */
@@ -86,6 +86,7 @@ typedef void *(*t_dup_f)(void *);
void *ft_dup_2d_arr(void *ptr, void *(*dup_func)(void *));
void ft_perror_io(char *err_str, char *io_file);
int ft_reti_perror_io(int ret, char *err_str, char *io_file);
void ft_free_null(void *ptr);
char **ft_split_quotes(char const *s, char c);
char *ft_strdup_quotes(const char *s);