fill cmd et execute pipes ok
This commit is contained in:
11
srcs/main.c
11
srcs/main.c
@@ -6,7 +6,7 @@
|
||||
/* By: lperrey <lperrey@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/10/04 05:59:26 by lperrey #+# #+# */
|
||||
/* Updated: 2021/10/27 14:48:03 by hulamy ### ########.fr */
|
||||
/* Updated: 2021/10/28 15:12:04 by hulamy ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@@ -24,12 +24,3 @@ int main(int argc, char *argv[], char *envp[])
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
** idea about malloc protection :
|
||||
** have them(mallocand similar) done in a specific function that would check their return and accordingly exit the program or continue
|
||||
** -> so that it can be done in one line
|
||||
** void calloc_or_exit(int num, int size);
|
||||
** and possibly give it a pointer to a function that will clean before exit
|
||||
** void calloc_or_exit(int num, int size, void (*f)(void *ptr), void *ptr);
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user