projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code
[oweals/musl.git]
/
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 syscall2(__NR_swapon, (long)path, flags);
7
}