summaryrefslogtreecommitdiff
path: root/src/network/socket.c
blob: 4f1e86dbf16f9d0e124137eb3623baa5057af281 (plain)
1
2
3
4
5
6
7
#include <sys/socket.h>
#include "syscall.h"

int socket(int domain, int type, int protocol)
{
	return socketcall(socket, domain, type, protocol, 0, 0, 0);
}