summaryrefslogblamecommitdiff
path: root/src/linux/swapon.c
blob: 5c75247fcb30e283efd9b20f4de5863334903ba6 (plain) (tree)
1
2
3
4
5
6
7
                     





                                                        
#include <sys/swap.h>
#include "syscall.h"

int swapon(const char *path, int flags)
{
	return syscall2(__NR_swapon, (long)path, flags);
}