musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/include/sys/swap.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013年01月12日 19:13:59 +0100
committerSzabolcs Nagy <nsz@port70.net>2013年01月12日 19:42:39 +0100
commitd650631dad1691ad778b2d7afd77ee77d8546d9a (patch)
tree857b00c03a8f83d6453e73452d46518cb31ef05c /include/sys/swap.h
parent645c6d99a58e0e5ab16f58e7498f2f4412a831da (diff)
downloadmusl-d650631dad1691ad778b2d7afd77ee77d8546d9a.tar.gz
add SWAP_FLAG_DISCARD to sys/swap.h
Diffstat (limited to 'include/sys/swap.h')
-rw-r--r--include/sys/swap.h 1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/swap.h b/include/sys/swap.h
index 1bd6159e..11c0f929 100644
--- 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 *);
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月04日 15:55:53 +0000

AltStyle によって変換されたページ (->オリジナル) /