MCPcopy Create free account
hub / github.com/apache/qpid-proton / makepair

Function makepair

c/tests/raw_connection_test.cpp:98–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96 }
97
98 int makepair(int fds[2]) {
99 return ::socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, fds);
100 }
101#else
102 // Simple mock up of the read/write functions of a socketpair for testing
103 // systems without socketpairs or MSG_NOSIGNAL/MSG_DONTWAIT (Windows/BSDs)

Callers 1

Calls 2

open_linkedMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected