summaryrefslogtreecommitdiff
path: root/lib/libc/socket/socket.c
blob: 09847ff908dc31f43867725ecdfd4c4f5af02cfb (plain)
1
2
3
4
5
6
7
8
#include "asm/unistd_64.h" // for __NR_socket

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

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