add SWAP_FLAG_DISCARD to sys/swap.h
This commit is contained in:
parent
645c6d99a5
commit
d650631dad
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ extern "C" {
|
||||||
#define SWAP_FLAG_PREFER 0x8000
|
#define SWAP_FLAG_PREFER 0x8000
|
||||||
#define SWAP_FLAG_PRIO_MASK 0x7fff
|
#define SWAP_FLAG_PRIO_MASK 0x7fff
|
||||||
#define SWAP_FLAG_PRIO_SHIFT 0
|
#define SWAP_FLAG_PRIO_SHIFT 0
|
||||||
|
#define SWAP_FLAG_DISCARD 0x10000
|
||||||
|
|
||||||
int swapon (const char *, int);
|
int swapon (const char *, int);
|
||||||
int swapoff (const char *);
|
int swapoff (const char *);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue