aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-07 00:42:16 -0600
committerJens Axboe <axboe@kernel.dk>2022-06-07 00:42:16 -0600
commit807c8169e153a3985f1a4deddc302846673ef979 (patch)
tree8d3bb6a6b2ce208d59d7b89c82cf43183d368dab
parenta7a51f3b36ea7f83f3d4efd922e86417546590f2 (diff)
parent853b88e5b16bdfac271958b5944077852a4956f3 (diff)
downloadliburing-807c8169e153a3985f1a4deddc302846673ef979.tar.gz
Merge branch 'fix/man-madvise' of https://github.com/topecongiro/liburing
* 'fix/man-madvise' of https://github.com/topecongiro/liburing: man/io_uring_prep_madvise.3: posix_madvise -> madvise man/io_uring_prep_madvise.3: remove fd
-rw-r--r--man/io_uring_prep_madvise.39
1 files changed, 3 insertions, 6 deletions
diff --git a/man/io_uring_prep_madvise.3 b/man/io_uring_prep_madvise.3
index b261fa7..6c5f16b 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
@@ -32,7 +29,7 @@ length in bytes, giving it the advise located in
.IR advice .
This function prepares an async
-.BR posix_madvise (2)
+.BR madvise (2)
request. See that man page for details.
.SH RETURN VALUE
@@ -56,4 +53,4 @@ field.
.BR io_uring_get_sqe (3),
.BR io_uring_submit (3),
.BR io_uring_register (2),
-.BR posix_madvise (2)
+.BR madvise (2)