about summary refs log tree commit diff
path: root/src/linux/swapoff.c
blob: f6fa794eee2d07bcdf6a5285df608f660c3d4061 (plain) (blame)
1
2
3
4
5
6
7
8
#include <sys/swap.h>
#define SYSCALL_STANDALONE
#include "syscall.h"

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