Commit Graph
3 Commits
Author SHA1 Message Date
Ian Gulliver 38eabdd644 Match const signatures in io_uring_prep_* to native functions
io_uring_prep_{readv,writev,read_fixed,write_fixed}() take
non-const arguments that are const in the native functions
that they mimic. Make those arguments const.

Signed-off-by: Ian Gulliver <git@flamingcow.io>
2019-05-19 10:21:01 -07:00
Ian Gulliver f218f76b82 Fix liburing.h memset() missing declaration
liburing.h uses memset() but doesn't include string.h.
If nothing else includes it, this causes compile errors.
Add the include.

Signed-off-by: Ian Gulliver <git@flamingcow.io>
2019-05-18 13:53:40 -07:00
Ian GulliverandJens Axboe 3200e997d0 Fix manpage mmap() syntax
The examples in the io_uring_setup.2 man patch erroneously ORs
the protection bits and mmap flags, fix it up.

Signed-off-by: Ian Gulliver <git@flamingcow.io>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-18 12:49:55 -06:00