added a socketpair prototype (part of bug #52)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14209 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2005-09-20 14:10:42 +00:00
parent f7dca40cad
commit 64f6fcfb1d

View File

@ -264,6 +264,7 @@ struct cmsghdr {
#ifndef _KERNEL_MODE #ifndef _KERNEL_MODE
/* Function declarations */ /* Function declarations */
int socket (int, int, int); int socket (int, int, int);
int socketpair(int domain, int type, int protocol, int socket_vector[2]);
int bind(int, const struct sockaddr *, int); int bind(int, const struct sockaddr *, int);
int connect(int, const struct sockaddr *, int); int connect(int, const struct sockaddr *, int);
int listen(int, int); int listen(int, int);