1 Commits

Author SHA1 Message Date
Ian Gulliver
b46820fe24 Fix manpage mmap() syntax
Patch from Ian Gulliver <git@flamingcow.io>

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2019-05-18 11:32:21 -07:00
2 changed files with 2 additions and 7 deletions

View File

@@ -26,7 +26,6 @@ struct io_uring_sqe {
__kernel_rwf_t rw_flags;
__u32 fsync_flags;
__u16 poll_events;
__u32 sync_range_flags;
};
__u64 user_data; /* data to be passed back at completion time */
union {
@@ -39,8 +38,8 @@ struct io_uring_sqe {
* sqe->flags
*/
#define IOSQE_FIXED_FILE (1U << 0) /* use fixed fileset */
#define IOSQE_IO_DRAIN (1U << 1) /* issue after inflight IO */
#define IOSQE_IO_LINK (1U << 2) /* next IO depends on this one */
#define IOSQE_IO_DRAIN (1U << 1)
#define IOSQE_IO_LINK (1U << 2)
/*
* io_uring_setup() flags
@@ -57,7 +56,6 @@ struct io_uring_sqe {
#define IORING_OP_WRITE_FIXED 5
#define IORING_OP_POLL_ADD 6
#define IORING_OP_POLL_REMOVE 7
#define IORING_OP_SYNC_FILE_RANGE 8
/*
* sqe->fsync_flags
@@ -137,7 +135,5 @@ struct io_uring_params {
#define IORING_UNREGISTER_BUFFERS 1
#define IORING_REGISTER_FILES 2
#define IORING_UNREGISTER_FILES 3
#define IORING_REGISTER_EVENTFD 4
#define IORING_UNREGISTER_EVENTFD 5
#endif

View File

@@ -7,7 +7,6 @@ extern "C" {
#include <sys/uio.h>
#include <signal.h>
#include <string.h>
#include <inttypes.h>
#include "compat.h"
#include "io_uring.h"