about summary refs log tree commit diff
path: root/src/network/socketpair.c
blob: b15f8467c4f27b35a0496916fdd347345b2e01f9 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/socket.h>
#include "syscall.h"

int socketpair(int domain, int type, int protocol, int fd[2])
{
	return socketcall(socketpair, domain, type, protocol, fd, 0, 0);
}