mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 03:08:31 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
40
libc/sysv/consts/shm.h
Normal file
40
libc/sysv/consts/shm.h
Normal file
|
@ -0,0 +1,40 @@
|
|||
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_
|
||||
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_
|
||||
#include "libc/runtime/symbolic.h"
|
||||
|
||||
#define SHM_DEST SYMBOLIC(SHM_DEST)
|
||||
#define SHM_EXEC SYMBOLIC(SHM_EXEC)
|
||||
#define SHM_HUGETLB SYMBOLIC(SHM_HUGETLB)
|
||||
#define SHM_INFO SYMBOLIC(SHM_INFO)
|
||||
#define SHM_LOCK SYMBOLIC(SHM_LOCK)
|
||||
#define SHM_LOCKED SYMBOLIC(SHM_LOCKED)
|
||||
#define SHM_NORESERVE SYMBOLIC(SHM_NORESERVE)
|
||||
#define SHM_R SYMBOLIC(SHM_R)
|
||||
#define SHM_RDONLY SYMBOLIC(SHM_RDONLY)
|
||||
#define SHM_REMAP SYMBOLIC(SHM_REMAP)
|
||||
#define SHM_RND SYMBOLIC(SHM_RND)
|
||||
#define SHM_STAT SYMBOLIC(SHM_STAT)
|
||||
#define SHM_UNLOCK SYMBOLIC(SHM_UNLOCK)
|
||||
#define SHM_W SYMBOLIC(SHM_W)
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
||||
hidden extern const long SHM_DEST;
|
||||
hidden extern const long SHM_EXEC;
|
||||
hidden extern const long SHM_HUGETLB;
|
||||
hidden extern const long SHM_INFO;
|
||||
hidden extern const long SHM_LOCK;
|
||||
hidden extern const long SHM_LOCKED;
|
||||
hidden extern const long SHM_NORESERVE;
|
||||
hidden extern const long SHM_R;
|
||||
hidden extern const long SHM_RDONLY;
|
||||
hidden extern const long SHM_REMAP;
|
||||
hidden extern const long SHM_RND;
|
||||
hidden extern const long SHM_STAT;
|
||||
hidden extern const long SHM_UNLOCK;
|
||||
hidden extern const long SHM_W;
|
||||
|
||||
COSMOPOLITAN_C_END_
|
||||
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||||
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_SHM_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue