aboutsummaryrefslogtreecommitdiff
#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