summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/network/shutdown.c
blob: 10ca21aa3cbeaaa95f4ce7f24aecdb64f2bd924d (plain)
1
2
3
4
5
6
7
#include <sys/socket.h>
#include "syscall.h"

int shutdown(int fd, int how)
{
	return socketcall(shutdown, fd, how, 0, 0, 0, 0);
}