summaryrefslogtreecommitdiff
path: root/include/sys/swap.h
blob: 1bd6159e5f77aab1887d036f78915af0f7a58ff1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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