tout debut implementation pipes

This commit is contained in:
hugogogo
2021-10-15 18:17:26 +02:00
parent 97ab70c475
commit 98f247a378
5 changed files with 59 additions and 12 deletions

View File

@@ -306,6 +306,20 @@ _'___"___'___"_"___'___"___'_
## 4. notes :
---
**idea about malloc protection :**
have them(malloc and 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);
---
Ordre Interpreteur :
1) Couper les mots (comment faire ? je ne vois pas comment gerer ce genre de bordel ci dessous)
```