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



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

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