Explorar o código

Ajout documentation sem.h

Loquicom %!s(int64=6) %!d(string=hai) anos
pai
achega
dde1407fc8
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      sem.h

+ 4 - 0
sem.h

@@ -6,6 +6,8 @@
 #include <sys/sem.h>
 #include "constante.h"
 
+/* --- Structures --- */
+
 typedef struct{
 	/* Id retourner par semget */
 	int id;
@@ -15,6 +17,8 @@ typedef struct{
 	int nb;
 }semaphore;
 
+/* --- Fonctions --- */
+
 /**
  * Creation d'un tableau de semaphores
  * @param semaphore* Le tableau de semaphore