MCPcopy Create free account
hub / github.com/ceph/ceph / pipe

Function pipe

src/common/compat.cc:292–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

290}
291
292int pipe(int pipefd[2]) {
293 // We'll use the same pipe size as Linux (64kb).
294 return _pipe(pipefd, 0x10000, O_NOINHERIT);
295}
296
297// lrand48 is not available on Windows. We'll generate a pseudo-random
298// value in the 0 - 2^31 range by calling rand twice.

Callers 5

TESTFunction · 0.85
TEST_FFunction · 0.85
TEST_PFunction · 0.85
mainFunction · 0.85
pipe_cloexecFunction · 0.85

Calls

no outgoing calls

Tested by 4

TESTFunction · 0.68
TEST_FFunction · 0.68
TEST_PFunction · 0.68
mainFunction · 0.68