mirror of
https://github.com/fluencelabs/musl
synced 2025-06-25 04:31:56 +00:00
initial check-in, version 0.5.0
This commit is contained in:
8
src/linux/swapoff.c
Normal file
8
src/linux/swapoff.c
Normal file
@ -0,0 +1,8 @@
|
||||
#include <sys/swap.h>
|
||||
#define SYSCALL_STANDALONE
|
||||
#include "syscall.h"
|
||||
|
||||
int swapoff(const char *path)
|
||||
{
|
||||
return syscall1(__NR_swapoff, (long)path);
|
||||
}
|
Reference in New Issue
Block a user