finish unifying thread register handling in preparation for porting
[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 }