This commit is contained in:
2026-09-03 07:32:05 +02:00
parent 70b555c774
commit e1ff786464
24 changed files with 1165 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#include <stdio.h>
#include <unistd.h>
#include "helpers.h"
int main(int argc, char **argv)
{
long int index = -1;
char * p = (char *) malloc(10 KB);
printf("PID = %d\n",getpid());
while(1){
printf("Ecrire à l'index : ");
scanf("%ld",&index);
p[index] = 1;
}
}