Add splice prep helpers and some basic tests. P.S. I haven't tried the skip part with splice-less kernel v2: minor: fix comment, add inline, remove newline v3: type changes (Stefan Metzmacher) update io_uring.h v4: rebase v5: skip if not supported (Jens) print into stderr (Jens) Pavel Begunkov (2): splice: add splice(2) helpers test/splice: add basic splice tests src/include/liburing.h | 12 +++ src/include/liburing/io_uring.h | 14 ++- test/Makefile | 5 +- test/splice.c | 148 ++++++++++++++++++++++++++++++++ 4 files changed, 176 insertions(+), 3 deletions(-) create mode 100644 test/splice.c -- 2.24.0