cosmopolitan/libc/sysv/consts/mlock.h

18 lines
442 B
C
Raw Normal View History

2020-06-15 14:18:57 +00:00
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MLOCK_H_
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MLOCK_H_
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
extern const int MCL_CURRENT;
extern const int MCL_FUTURE;
extern const int MCL_ONFAULT;
2020-06-15 14:18:57 +00:00
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#define MCL_CURRENT 1
#define MCL_FUTURE 2
#define MCL_ONFAULT MCL_ONFAULT
2020-06-15 14:18:57 +00:00
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MLOCK_H_ */