projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
use umount2 syscall for umount (new targets lack old 1-arg umount)
[oweals/musl.git]
/
src
/
network
/
shutdown.c
1
#include <sys/socket.h>
2
#include "syscall.h"
3
#include "socketcall.h"
4
5
int shutdown(int fd, int how)
6
{
7
unsigned long args[] = { fd, how };
8
return syscall2(__NR_socketcall, SYS_SHUTDOWN, (long)args);
9
}