rework langinfo code for ABI compat and for use by time code
[musl] / include / sys / swap.h
1 #ifndef _SYS_SWAP_H
2 #define _SYS_SWAP_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8
9 #define SWAP_FLAG_PREFER        0x8000
10 #define SWAP_FLAG_PRIO_MASK     0x7fff
11 #define SWAP_FLAG_PRIO_SHIFT    0
12 #define SWAP_FLAG_DISCARD       0x10000
13
14 int swapon (const char *, int);
15 int swapoff (const char *);
16
17 #ifdef __cplusplus
18 }
19 #endif
20
21 #endif