aboutsummaryrefslogtreecommitdiff
path: root/src/linux/swap.c
blob: 1d68a84bffeaf1a59afdf53bf5dd1755342c81e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <sys/swap.h>
#include "syscall.h"

int swapon(const char *path, int flags)
{
	return syscall(SYS_swapon, path, flags);
}

int swapoff(const char *path)
{
	return syscall(SYS_swapoff, path);
}


#ifdef TEST
int
main(void) {
	return 0;
}
#endif