-r is working

This commit is contained in:
elvis
2022-04-27 21:18:25 +02:00
parent 5151418090
commit 8841ca95a0
8 changed files with 65 additions and 43 deletions

View File

@ -8,6 +8,10 @@
#include <taglialegna.h>
/* TODO: finire tutte le descrizioni */
#define C_CREATE 1
#define C_LOCK 2
// Lista dei client in attesa su una lock
typedef struct struct_waiting {
long fd; // client in attesa
@ -15,6 +19,7 @@ typedef struct struct_waiting {
struct struct_waiting *next; // puntatore al prossimo elemento della lista
} waiting_t;
/**
* Apri o crea un nuovo file
* \param filepath: nome del file