Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/shm.h
Show First 20 Lines • Show All 153 Lines • ▼ Show 20 Lines | |||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
#ifndef _SIZE_T_DECLARED | #ifndef _SIZE_T_DECLARED | ||||
typedef __size_t size_t; | typedef __size_t size_t; | ||||
#define _SIZE_T_DECLARED | #define _SIZE_T_DECLARED | ||||
#endif | #endif | ||||
__BEGIN_DECLS | __BEGIN_DECLS | ||||
#ifdef __BSD_VISIBLE | #if __BSD_VISIBLE | ||||
int shmsys(int, ...); | int shmsys(int, ...); | ||||
#endif | #endif | ||||
void *shmat(int, const void *, int); | void *shmat(int, const void *, int); | ||||
int shmget(key_t, size_t, int); | int shmget(key_t, size_t, int); | ||||
int shmctl(int, int, struct shmid_ds *); | int shmctl(int, int, struct shmid_ds *); | ||||
int shmdt(const void *); | int shmdt(const void *); | ||||
__END_DECLS | __END_DECLS | ||||
#endif /* _KERNEL || _WANT_SHM_PROTOTYPES */ | #endif /* _KERNEL || _WANT_SHM_PROTOTYPES */ | ||||
#endif /* !_SYS_SHM_H_ */ | #endif /* !_SYS_SHM_H_ */ |