cosmopolitan/libc/sysv/consts/shm.h
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00

39 lines
1 KiB
C

#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_
#define SHM_ANON SHM_ANON
#define SHM_DEST SHM_DEST
#define SHM_EXEC SHM_EXEC
#define SHM_HUGETLB SHM_HUGETLB
#define SHM_INFO SHM_INFO
#define SHM_LOCK SHM_LOCK
#define SHM_LOCKED SHM_LOCKED
#define SHM_NORESERVE SHM_NORESERVE
#define SHM_R SHM_R
#define SHM_RDONLY SHM_RDONLY
#define SHM_REMAP SHM_REMAP
#define SHM_RND SHM_RND
#define SHM_STAT SHM_STAT
#define SHM_UNLOCK SHM_UNLOCK
#define SHM_W SHM_W
COSMOPOLITAN_C_START_
extern const char *SHM_ANON;
extern const int SHM_DEST;
extern const int SHM_EXEC;
extern const int SHM_HUGETLB;
extern const int SHM_INFO;
extern const int SHM_LOCK;
extern const int SHM_LOCKED;
extern const int SHM_NORESERVE;
extern const int SHM_R;
extern const int SHM_RDONLY;
extern const int SHM_REMAP;
extern const int SHM_RND;
extern const int SHM_STAT;
extern const int SHM_UNLOCK;
extern const int SHM_W;
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_ */