am 82bbaf7e: am bc4e135a: Merge "Add SWAP_FLAG_* constants to <sys/swap.h>."
* commit '82bbaf7e88440dc68f21cfe1b35c5a0f4a7b3dd2': Add SWAP_FLAG_* constants to <sys/swap.h>.
This commit is contained in:
commit
ec93120e63
@ -33,6 +33,11 @@
|
|||||||
|
|
||||||
__BEGIN_DECLS
|
__BEGIN_DECLS
|
||||||
|
|
||||||
|
#define SWAP_FLAG_DISCARD 0x10000
|
||||||
|
#define SWAP_FLAG_PREFER 0x8000
|
||||||
|
#define SWAP_FLAG_PRIO_MASK 0x7fff
|
||||||
|
#define SWAP_FLAG_PRIO_SHIFT 0
|
||||||
|
|
||||||
extern int swapon(const char*, int) __nonnull((1));
|
extern int swapon(const char*, int) __nonnull((1));
|
||||||
extern int swapoff(const char*) __nonnull((1));
|
extern int swapoff(const char*) __nonnull((1));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user