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

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