12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef _SYS_SHM_H
- #define _SYS_SHM_H 1
- #include <features.h>
- #define __need_size_t
- #include <stddef.h>
- #include <sys/ipc.h>
- #include <bits/shm.h>
- #define __need_time_t
- #include <time.h>
- #ifdef __USE_XOPEN
- # ifndef __pid_t_defined
- typedef __pid_t pid_t;
- # define __pid_t_defined
- # endif
- #endif
- __BEGIN_DECLS
- extern int shmctl (int __shmid, int __cmd, struct shmid_ds *__buf) __THROW;
- extern int shmget (key_t __key, size_t __size, int __shmflg) __THROW;
- extern void *shmat (int __shmid, const void *__shmaddr, int __shmflg)
- __THROW;
- extern int shmdt (const void *__shmaddr) __THROW;
- __END_DECLS
- #endif
|