projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
91950c8a8ff0be4a582683d346cfce4467c66058
[musl]
/
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
}