projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make pthread_create return EAGAIN on resource failure, as required by POSIX
[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
}