aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-04-19 14:13:17 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-04-19 14:13:17 -0700
commitb22b5914e2335d48e95ece127d4c181143de53e2 (patch)
tree4cdcfe9b8f8886a4d7aea292f9898adc43429719 /system
parentaafdc909660b82b600f6fce2cfda7f0703919b38 (diff)
parentc25999057ddc122981d00dae8b52df5985b8dc5c (diff)
Merge pull request #1060 from arlolra/socketpair
Socketpair
Diffstat (limited to 'system')
-rw-r--r--system/include/sys/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/system/include/sys/socket.h b/system/include/sys/socket.h
index 8ca6eccf..56a37375 100644
--- a/system/include/sys/socket.h
+++ b/system/include/sys/socket.h
@@ -68,6 +68,7 @@ ssize_t recv(int s, void *buf, size_t len, int flags);
ssize_t send(int s, const void *buf, size_t len, int flags);
int setsockopt(int s, int level, int optname, const void *optval, socklen_t optlen);
ssize_t sendto(int s, const void *buf, size_t len, int flags, const struct sockaddr *to, socklen_t tolen);
+int socketpair(int domain, int type, int protocol, int sv[2]);
struct msghdr
{