summaryrefslogtreecommitdiff
path: root/lib/libc/socket/socket.c
blob: a18acaa318264510e9f97688c15bae602080e52f (plain)
1
2
3
4
5
6
7
8


#include <syscall.h> // for __syscall_3, syscall

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