2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 22:35:15 +00:00

lib: Add xpipe_nonblocking helper

Signed-off-by: Ed Maste <emaste@adaranet.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
Ed Maste
2012-09-28 21:06:41 +00:00
committed by Ben Pfaff
parent f5c45121cf
commit c0d95206c0
5 changed files with 12 additions and 9 deletions

View File

@@ -893,6 +893,14 @@ xpipe(int fds[2])
}
}
void
xpipe_nonblocking(int fds[2])
{
xpipe(fds);
xset_nonblocking(fds[0]);
xset_nonblocking(fds[1]);
}
void
xsocketpair(int domain, int type, int protocol, int fds[2])
{