Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
b9bb8f67bbac9bab5314fb00974ad469476e936e
/
.
/
src
/
linux
/
swap.c
blob: 8137d51ebff34c0e3658adaa1ca476fcacaf0dc5 [
file
] [
log
] [
blame
]
#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
);
}