diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-19 14:13:17 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-19 14:13:17 -0700 |
commit | b22b5914e2335d48e95ece127d4c181143de53e2 (patch) | |
tree | 4cdcfe9b8f8886a4d7aea292f9898adc43429719 /system | |
parent | aafdc909660b82b600f6fce2cfda7f0703919b38 (diff) | |
parent | c25999057ddc122981d00dae8b52df5985b8dc5c (diff) |
Merge pull request #1060 from arlolra/socketpair
Socketpair
Diffstat (limited to 'system')
-rw-r--r-- | system/include/sys/socket.h | 1 |
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 { |