Skip to content

Commit

Permalink
man: use PP betwen multiple function definitions
Browse files Browse the repository at this point in the history
Signed-off-by: Otto Modinos <[email protected]>
  • Loading branch information
otommod committed May 31, 2022
1 parent 834ed0e commit 27697b4
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 15 deletions.
6 changes: 3 additions & 3 deletions man/io_uring_prep_accept.3
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ io_uring_prep_accept \- prepare an accept request
.BI " struct sockaddr *" addr ","
.BI " socklen_t " addrlen ","
.BI " int " flags ");"
.BI "
.PP
.BI "void io_uring_prep_accept_direct(struct io_uring_sqe *" sqe ","
.BI " int " sockfd ","
.BI " struct sockaddr *" addr ","
.BI " socklen_t " addrlen ","
.BI " int " flags ","
.BI " unsigned int " file_index ");"
.BI "
.PP
.BI "void io_uring_prep_multishot_accept(struct io_uring_sqe *" sqe ","
.BI " int " sockfd ","
.BI " struct sockaddr *" addr ","
.BI " socklen_t " addrlen ","
.BI " int " flags ");"
.BI "
.PP
.BI "void io_uring_prep_multishot_accept_direct(struct io_uring_sqe *" sqe ","
.BI " int " sockfd ","
.BI " struct sockaddr *" addr ","
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_prep_cancel.3
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ io_uring_prep_cancel \- prepare a cancelation request
.BI "void io_uring_prep_cancel(struct io_uring_sqe *" sqe ","
.BI " __u64 " user_data ","
.BI " int " flags ");"
.BI "
.PP
.BI "void io_uring_prep_cancel_fd(struct io_uring_sqe *" sqe ","
.BI " int " fd ","
.BI " int " flags ");"
Expand Down
4 changes: 2 additions & 2 deletions man/io_uring_prep_close.3
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ io_uring_prep_close \- prepare a file descriptor close request
.PP
.BI "void io_uring_prep_close(struct io_uring_sqe *" sqe ","
.BI " int " fd ");"
.BI "
.PP
.BI "void io_uring_prep_close_direct(struct io_uring_sqe *" sqe ","
.BI " unsigned " file_index ");"
.BI "
.PP
.BI "void io_uring_prep_close_direct_unregister(struct io_uring_sqe *" sqe ","
.BI " int " fd ",
.BI " unsigned " file_index ");"
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_prep_openat.3
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ io_uring_prep_openat \- prepare an openat request
.BI " const char *" path ","
.BI " int " flags ","
.BI " mode_t " mode ");"
.BI "
.PP
.BI "void io_uring_prep_openat_direct(struct io_uring_sqe *" sqe ","
.BI " int " dfd ","
.BI " const char *" path ","
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_prep_openat2.3
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ io_uring_prep_openat2 \- prepare an openat2 request
.BI " const char *" path ","
.BI " int " flags ","
.BI " struct open_how *" how ");"
.BI "
.PP
.BI "void io_uring_prep_openat2_direct(struct io_uring_sqe *" sqe ","
.BI " int " dfd ","
.BI " const char *" path ","
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_prep_poll_add.3
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ io_uring_prep_poll_add \- prepare a poll request
.BI "void io_uring_prep_poll_add(struct io_uring_sqe *" sqe ","
.BI " int " fd ","
.BI " unsigned " poll_mask ");"
.BI "
.PP
.BI "void io_uring_prep_poll_multishot(struct io_uring_sqe *" sqe ","
.BI " int " fd ","
.BI " unsigned " poll_mask ");"
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_prep_socket.3
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ io_uring_prep_socket \- prepare a socket creation request
.BI " int " type ","
.BI " int " protocol ","
.BI " unsigned int " flags ");"
.BI "
.PP
.BI "void io_uring_prep_socket_direct(struct io_uring_sqe *" sqe ","
.BI " int " domain ","
.BI " int " type ","
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_prep_timeout_update.3
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ io_uring_prep_timeoute_update \- prepare a request to update an existing timeout
.BI " struct __kernel_timespec *" ts ","
.BI " __u64 " user_data ","
.BI " unsigned " flags ");"
.BI "
.PP
.BI "void io_uring_prep_timeout_remove(struct io_uring_sqe *" sqe ","
.BI " __u64 " user_data ","
.BI " unsigned " flags ");"
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_queue_init.3
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ io_uring_queue_init \- setup io_uring submission and completion queues
.BI "int io_uring_queue_init(unsigned " entries ","
.BI " struct io_uring *" ring ","
.BI " unsigned " flags ");"
.BI "
.PP
.BI "int io_uring_queue_init_params(unsigned " entries ","
.BI " struct io_uring *" ring ","
.BI " struct io_uring_params *" params ");"
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_register_buffers.3
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ io_uring_register_buffers \- register buffers for fixed buffer operations
.BI "int io_uring_register_buffers(struct io_uring *" ring ",
.BI " const struct iovec *" iovecs ",
.BI " unsigned " nr_iovecs ");"
.BI "
.PP
.BI "int io_uring_register_buffers_sparse(struct io_uring *" ring ",
.BI " unsigned " nr_iovecs ");"
.PP
Expand Down
2 changes: 2 additions & 0 deletions man/io_uring_register_eventfd.3
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,10 @@ io_uring_register_eventfd \- register an eventfd with a ring
.PP
.BI "int io_uring_register_eventfd(struct io_uring *" ring ","
.BI " int " fd ");"
.PP
.BI "int io_uring_register_eventfd_async(struct io_uring *" ring ","
.BI " int " fd ");"
.PP
.BI "int io_uring_unregister_eventfd(struct io_uring *" ring ");"

.SH DESCRIPTION
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_register_files.3
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ io_uring_register_files \- register file descriptors
.BI "int io_uring_register_files(struct io_uring *" ring ","
.BI " const int *" files ","
.BI " unsigned " nr_files ");"
.BI
.PP
.BI "int io_uring_register_files_sparse(struct io_uring *" ring ","
.BI " unsigned " nr_files ");"
.PP
Expand Down
2 changes: 1 addition & 1 deletion man/io_uring_register_iowq_aff.3
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ io_uring_register_iowq_aff \- register async worker CPU affinities
.BI "int io_uring_register_iowq_aff(struct io_uring *" ring ","
.BI " size_t " cpusz ","
.BI " const cpu_set_t *" mask ");
.BI "
.PP
.BI "void io_uring_unregister_iowq_aff(struct io_uring *" ring ");"
.PP
.SH DESCRIPTION
Expand Down

0 comments on commit 27697b4

Please sign in to comment.