fix vari
This commit is contained in:
parent
74c7bfbcd0
commit
9011c8e9fe
|
@ -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;
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
#include <sys/shm.h>
|
||||
#include <sys/stat.h>
|
||||
#include <custom_shm.h>
|
||||
#include <structures.h>
|
||||
|
||||
#include <errExit.h>
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue