repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sys/stat.h: fix typo in statx member name stx_dio_offset_align
[musl.git]
/
include
/
sys
/
swap.h
blob
11c0f9296179d328e6e74fabc7f4cf1b47ea4355
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