mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
201 B
12 lines
201 B
#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);
|
|
}
|
|
|