mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
fa20edc44d
- 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
37 lines
1.2 KiB
C
37 lines
1.2 KiB
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_MADV_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_MADV_H_
|
|
COSMOPOLITAN_C_START_
|
|
|
|
extern const unsigned MADV_DODUMP;
|
|
extern const unsigned MADV_DOFORK;
|
|
extern const unsigned MADV_DONTDUMP;
|
|
extern const unsigned MADV_DONTFORK;
|
|
extern const unsigned MADV_DONTNEED;
|
|
extern const unsigned MADV_FREE;
|
|
extern const unsigned MADV_HUGEPAGE;
|
|
extern const unsigned MADV_HWPOISON;
|
|
extern const unsigned MADV_MERGEABLE;
|
|
extern const unsigned MADV_NOHUGEPAGE;
|
|
extern const unsigned MADV_NORMAL;
|
|
extern const unsigned MADV_RANDOM;
|
|
extern const unsigned MADV_REMOVE;
|
|
extern const unsigned MADV_SEQUENTIAL;
|
|
extern const unsigned MADV_UNMERGEABLE;
|
|
extern const unsigned MADV_WILLNEED;
|
|
extern const unsigned MADV_SOFT_OFFLINE;
|
|
extern const unsigned MADV_WIPEONFORK;
|
|
extern const unsigned MADV_KEEPONFORK;
|
|
extern const unsigned MADV_COLD;
|
|
extern const unsigned MADV_PAGEOUT;
|
|
extern const unsigned MADV_POPULATE_READ;
|
|
extern const unsigned MADV_POPULATE_WRITE;
|
|
extern const unsigned MADV_DONTNEED_LOCKED;
|
|
extern const unsigned MADV_COLLAPSE;
|
|
|
|
#define MADV_NORMAL 0
|
|
#define MADV_RANDOM 1
|
|
#define MADV_SEQUENTIAL 2
|
|
#define MADV_WILLNEED 3
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_MADV_H_ */
|