This commit is contained in:
Edi De Candido 2023-05-15 16:55:02 +02:00
parent 74c7bfbcd0
commit 9011c8e9fe
3 changed files with 1 additions and 3 deletions

View File

@ -22,7 +22,7 @@ int getSemid(key_t key, int size){
return semid;
}
// mette i semafori a 0
// mette i semafori a 0 e 2
void resetServerSem(int semid){
unsigned short val[2] = {0, 2};
union semun arg;

View File

@ -2,7 +2,6 @@
#include <sys/shm.h>
#include <sys/stat.h>
#include <custom_shm.h>
#include <structures.h>
#include <errExit.h>

View File

@ -8,7 +8,6 @@
#include <sys/stat.h>
#include <errExit.h>
#include <structures.h>
input_server_t check_input(int argc, char *argv[]){
if (argc < 5) {