projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
645c6d9
)
add SWAP_FLAG_DISCARD to sys/swap.h
author
Szabolcs Nagy
<nsz@port70.net>
Sat, 12 Jan 2013 18:13:59 +0000
(19:13 +0100)
committer
Szabolcs Nagy
<nsz@port70.net>
Sat, 12 Jan 2013 18:42:39 +0000
(19:42 +0100)
include/sys/swap.h
patch
|
blob
|
history
diff --git
a/include/sys/swap.h
b/include/sys/swap.h
index 1bd6159e5f77aab1887d036f78915af0f7a58ff1..11c0f9296179d328e6e74fabc7f4cf1b47ea4355 100644
(file)
--- a/
include/sys/swap.h
+++ b/
include/sys/swap.h
@@
-9,6
+9,7
@@
extern "C" {
#define SWAP_FLAG_PREFER 0x8000
#define SWAP_FLAG_PRIO_MASK 0x7fff
#define SWAP_FLAG_PRIO_SHIFT 0
+#define SWAP_FLAG_DISCARD 0x10000
int swapon (const char *, int);
int swapoff (const char *);