12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- #ifndef _SYS_SEM_H
- #define _SYS_SEM_H 1
- #include <features.h>
- #define __need_size_t
- #include <stddef.h>
- #include <sys/ipc.h>
- #include <bits/sem.h>
- struct sembuf
- {
- unsigned short int sem_num;
- short int sem_op;
- short int sem_flg;
- };
- __BEGIN_DECLS
- extern int semctl (int __semid, int __semnum, int __cmd, ...) __THROW;
- extern int semget (key_t __key, int __nsems, int __semflg) __THROW;
- extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __THROW;
- __END_DECLS
- #endif
|