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:
@@ -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])
|
||||
{
|
||||
|
Reference in New Issue
Block a user