mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-14 15:09:09 +00:00
Linux add definition for madvise flag (#883)
This commit is contained in:
parent
b21842ed7a
commit
8596e83cce
11 changed files with 36 additions and 0 deletions
|
@ -19,6 +19,15 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue