Skip to content

Commit

Permalink
man/io_uring_prep_openat2: get rid of non-existent flags argument
Browse files Browse the repository at this point in the history
For openat2 variants, the flags are actually given in the open_how
structure, not passed in separately. Make the man page actually
match the implementation and kill the flags argument.

Link: #1284
Signed-off-by: Jens Axboe <[email protected]>
  • Loading branch information
axboe committed Nov 20, 2024
1 parent 3b215fb commit a0d60e7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions man/io_uring_prep_openat2.3
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ io_uring_prep_openat2 \- prepare an openat2 request
.BI "void io_uring_prep_openat2(struct io_uring_sqe *" sqe ","
.BI " int " dfd ","
.BI " const char *" path ","
.BI " int " flags ","
.BI " struct open_how *" how ");"
.PP
.BI "void io_uring_prep_openat2_direct(struct io_uring_sqe *" sqe ","
.BI " int " dfd ","
.BI " const char *" path ","
.BI " int " flags ","
.BI " struct open_how *" how ","
.BI " unsigned " file_index ");"
.fi
Expand All @@ -36,8 +34,6 @@ is setup to use the directory file descriptor
.I dfd
to start opening a file described by
.I path
and using the open flags in
.I flags
and using the instructions on how to open the file given in
.IR how .

Expand Down

0 comments on commit a0d60e7

Please sign in to comment.