Add SWAP_FLAG_* constants to <sys/swap.h>.

Bug: 9336527
Change-Id: I679be4d8425ba177dd782e714f465caf9daa976c
This commit is contained in:
Elliott Hughes 2014-01-07 17:46:06 -08:00
parent 27a4bb3198
commit 65c6f3099e
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,11 @@
__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 swapoff(const char*) __nonnull((1));