summaryrefslogtreecommitdiff
path: root/src/linux/swapoff.c
blob: 4f19823fc1a0ca171ecad924e3e4733a549c7aa0 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/swap.h>
#include "syscall.h"

int swapoff(const char *path)
{
	return syscall1(__NR_swapoff, (long)path);
}