Add zerocopy send headers, helpers and tests v2: use T_EXIT_* fix ptr <-> int conversions for 32 bits arches slight renaming get rid of error() in the test add patch 5/5 Pavel Begunkov (5): io_uring.h: sync with kernel for zc send and notifiers liburing: add zc send and notif helpers tests: add tests for zerocopy send and notifications examples: add a zerocopy send example liburing: improve fallocate typecasting examples/Makefile | 3 +- examples/send-zerocopy.c | 366 +++++++++++++ src/include/liburing.h | 47 +- src/include/liburing/io_uring.h | 37 +- src/liburing.map | 2 + src/register.c | 20 + test/Makefile | 1 + test/send-zerocopy.c | 888 ++++++++++++++++++++++++++++++++ 8 files changed, 1358 insertions(+), 6 deletions(-) create mode 100644 examples/send-zerocopy.c create mode 100644 test/send-zerocopy.c -- 2.37.0