瀏覽代碼

Ajout documentation sem.h

Loquicom 6 年之前
父節點
當前提交
dde1407fc8
共有 1 個文件被更改,包括 4 次插入0 次删除
  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