putw is supposed to return 0 (not the value written) on success
[musl] / src / linux / swapon.c
1 #include <sys/swap.h>
2 #include "syscall.h"
3
4 int swapon(const char *path, int flags)
5 {
6         return syscall(SYS_swapon, path, flags);
7 }