initial commit

This commit is contained in:
Guillaume-Sanchez
2026-05-26 13:56:03 +02:00
parent 4c720637a1
commit ff4bb12d22
539 changed files with 12415 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
int main()
{
int pid;
pid = fork();
if (pid == 0)
{for(;;)
printf ("je suis le fils\n");
}
else
{for(;;)
printf("je suis le père\n");
}
return(EXIT_SUCCESS);
}
+16
View File
@@ -0,0 +1,16 @@
#include <stdio.h>
#include <unistd.h>
int main()
{
int pid;
pid = fork();
if (pid == 0)
{for(;;)
printf ("je suis le fils\n");
}
else
{for(;;)
printf("je suis le père\n");
}
}