mirror of
git://git.musl-libc.org/musl
synced 2024-12-17 12:14:42 +00:00
3ed8c9f2df
patch by Arvid Picciani (aep)
21 lines
292 B
C
21 lines
292 B
C
#ifndef _SYS_SWAP_H
|
|
#define _SYS_SWAP_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
#define SWAP_FLAG_PREFER 0x8000
|
|
#define SWAP_FLAG_PRIO_MASK 0x7fff
|
|
#define SWAP_FLAG_PRIO_SHIFT 0
|
|
|
|
int swapon (const char *, int);
|
|
int swapoff (const char *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|