MCPcopy Create free account
hub / github.com/axboe/liburing / fail_tee_nonpipe

Function fail_tee_nonpipe

test/splice.c:309–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309static int fail_tee_nonpipe(struct io_uring *ring, struct test_ctx *ctx)
310{
311 int ret;
312
313 ret = do_tee(ring, ctx->fd_in, ctx->pipe1[1], BUF_SIZE);
314 if (ret != -ESPIPE && ret != -EINVAL)
315 return ret;
316
317 return 0;
318}
319
320static int fail_tee_offset(struct io_uring *ring, struct test_ctx *ctx)
321{

Callers 1

test_spliceFunction · 0.85

Calls 1

do_teeFunction · 0.85

Tested by 1

test_spliceFunction · 0.68