aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeiichi Uchida <topecongiro@fastmail.com>2022-06-06 17:23:25 +0900
committerSeiichi Uchida <topecongiro@fastmail.com>2022-06-06 17:23:25 +0900
commitb2399269447cef7e27362fcf2055486b0dd7410e (patch)
treed8bd9601aae5e9b857d9a6bc707528d9f91f0bc4
parenta7a51f3b36ea7f83f3d4efd922e86417546590f2 (diff)
downloadliburing-b2399269447cef7e27362fcf2055486b0dd7410e.tar.gz
man/io_uring_prep_madvise.3: remove fd
The man page for `io_uring_prep_madvise` contains wrong function signature and description. This commit fixes is by removing the unused parameter. Signed-off-by: Seiichi Uchida <topecongiro@fastmail.com>
-rw-r--r--man/io_uring_prep_madvise.35
1 files changed, 1 insertions, 4 deletions
diff --git a/man/io_uring_prep_madvise.3 b/man/io_uring_prep_madvise.3
index b261fa7..700bfa4 100644
--- a/man/io_uring_prep_madvise.3
+++ b/man/io_uring_prep_madvise.3
@@ -11,7 +11,6 @@ io_uring_prep_madvise \- prepare a madvise request
.B #include <liburing.h>
.PP
.BI "void io_uring_prep_madvise(struct io_uring_sqe *" sqe ","
-.BI " int " fd ","
.BI " void *" addr ","
.BI " off_t " len ","
.BI " int " advice ");"
@@ -22,9 +21,7 @@ The
.BR io_uring_prep_madvise (3)
function prepares an madvise request. The submission queue entry
.I sqe
-is setup to use the file descriptor pointed to by
-.I fd
-to start an madvise operation at the virtual address of
+is setup to start an madvise operation at the virtual address of
.I addr
and of
.I len