10 Sema(int init_value
= 1, char *title
= 0);
13 void lock(char *location
= 0);
37 #include <sys/types.h>
40 int val
; /* used for SETVAL only */
41 struct semid_ds
*buf
; /* for IPC_STAT and IPC_SET */
42 ushort
*array
; /* used for GETALL and SETALL */
48 Sema(int id
= -1, int number
= 1);
51 int lock(int number
= 0);
52 int unlock(int number
= 0);
53 int get_value(int number
= 0);
72 // c-file-style: "linux"