fix setgroups behavior in multithreaded process
[musl.git] / src / linux / swap.c
blob8137d51ebff34c0e3658adaa1ca476fcacaf0dc5
1 #include <sys/swap.h>
2 #include "syscall.h"
4 int swapon(const char *path, int flags)
6 return syscall(SYS_swapon, path, flags);
9 int swapoff(const char *path)
11 return syscall(SYS_swapoff, path);