projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
cleaning up syscalls in preparation for x86_64 port
[oweals/musl.git]
/
src
/
linux
/
swapon.c
1
#include <sys/swap.h>
2
#define SYSCALL_STANDALONE
3
#include "syscall.h"
4
5
int swapon(const char *path, int flags)
6
{
7
return syscall2(__NR_swapon, (long)path, flags);
8
}