cm processus

This commit is contained in:
2026-09-16 20:46:50 +02:00
parent 5a51062c63
commit 60816fac42
17 changed files with 382 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
int main(){
//printf("NON");
write(STDOUT_FILENO,"NON",3);
if (fork()) {
//printf("OUI\n");
write(STDOUT_FILENO,"OUI\n",4);
}
}