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



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

int socketpair(int domain, int type, int protocol, int socket_vector[2])
{
	return syscall(socketpair, domain, type, protocol, socket_vector);
}