some-usable-scripts/C_Language/TP_SYS/Exemples_semaphores/sema.h

7 lines
154 B
C
Raw Normal View History

2011-03-10 14:08:58 +01:00
void erreur(char * format, ...);
int creat_sem(key_t cle,int val);
int del_sem(key_t cle);
int open_sem(key_t cle);
void P(int semid);
void V(int semid);