man: Convert manpages to markdown
RFC PATCH 1/1 man: Convert manpages to markdown
This has been discussed for a while due to the ongoing pain of writing groff. Now that we just had a release, convert the manpages to markdown and add infrastructure to generate back the groff automatically during compilation.
The conversion is not lossless, mostly due to groff being painful. You'll notice the conversion is not byte-per-byte accurate, but most of the differences are whitespace, which is not relevant. Other more tricky changes are in bold/italics, which I tried to preserve as much as possible, but some cases will require manually fixing up the man pages if we want keep byte-per-byte compatibility.
This obviously adds a build dependency on pandoc, which is already packaged by any sane distro out there. The configure file is updated to check for that.
There are a few caveats worth mentioned:
1) Groff comments need to be preserved because of copyrights notices. This is done by a pre-processor python script.
2) A pandoc filter is applied to preserve bold in codeblocks. This has to be written in Lua, a language I don't know, so I took help from an AI agent for this part. The script is a few lines long, though, making it not even copyrightable :)
3) We have a large number of symlinks. These are kept in an ALIAS file and also re-generated during compilation.
This is an RFC since Jens is away anyway, and there might be some rough edges I have not found.
--- Makefile | 1 + configure | 8 + man/.gitignore | 8 + man/ALIASES | 62 + man/IO_URING_CHECK_VERSION.3 | 1 - man/IO_URING_VERSION_MAJOR.3 | 1 - man/IO_URING_VERSION_MINOR.3 | 1 - man/Makefile | 26 + man/__io_uring_buf_ring_cq_advance.3 | 1 - man/filters/bold-block.lua | 14 + man/filters/preserve-comments.py | 18 + man/io_uring.7 | 919 ------- man/io_uring.7.md | 538 ++++ man/io_uring_buf_ring_add.3 | 64 - man/io_uring_buf_ring_add.3.md | 44 + man/io_uring_buf_ring_advance.3 | 31 - man/io_uring_buf_ring_advance.3.md | 34 + man/io_uring_buf_ring_available.3 | 47 - man/io_uring_buf_ring_available.3.md | 41 + man/io_uring_buf_ring_cq_advance.3 | 55 - man/io_uring_buf_ring_cq_advance.3.md | 42 + man/io_uring_buf_ring_init.3 | 36 - man/io_uring_buf_ring_init.3.md | 37 + man/io_uring_buf_ring_mask.3 | 27 - man/io_uring_buf_ring_mask.3.md | 33 + man/io_uring_cancelation.7 | 324 --- man/io_uring_cancelation.7.md | 221 ++ man/io_uring_check_version.3 | 72 - man/io_uring_check_version.3.md | 42 + man/io_uring_clone_buffers.3 | 165 -- man/io_uring_clone_buffers.3.md | 90 + man/io_uring_clone_buffers_offset.3 | 1 - man/io_uring_close_ring_fd.3 | 43 - man/io_uring_close_ring_fd.3.md | 42 + man/io_uring_cq_advance.3 | 49 - man/io_uring_cq_advance.3.md | 40 + man/io_uring_cq_eventfd_enabled.3 | 38 - man/io_uring_cq_eventfd_enabled.3.md | 35 + man/io_uring_cq_eventfd_toggle.3 | 48 - man/io_uring_cq_eventfd_toggle.3.md | 41 + man/io_uring_cq_has_overflow.3 | 31 - man/io_uring_cq_has_overflow.3.md | 37 + man/io_uring_cq_ready.3 | 26 - man/io_uring_cq_ready.3.md | 33 + man/io_uring_cqe_get_data.3 | 53 - man/io_uring_cqe_get_data.3.md | 39 + man/io_uring_cqe_get_data64.3 | 1 - man/io_uring_cqe_nr.3 | 35 - man/io_uring_cqe_nr.3.md | 35 + man/io_uring_cqe_seen.3 | 41 - man/io_uring_cqe_seen.3.md | 38 + man/io_uring_enable_rings.3 | 40 - man/io_uring_enable_rings.3.md | 41 + man/io_uring_enter.2 | 2208 ----------------- man/io_uring_enter.2.md | 745 ++++++ man/io_uring_enter2.2 | 1 - man/io_uring_for_each_cqe.3 | 63 - man/io_uring_for_each_cqe.3.md | 54 + man/io_uring_free_buf_ring.3 | 53 - man/io_uring_free_buf_ring.3.md | 43 + man/io_uring_free_probe.3 | 27 - man/io_uring_free_probe.3.md | 33 + man/io_uring_get_events.3 | 33 - man/io_uring_get_events.3.md | 35 + man/io_uring_get_probe.3 | 30 - man/io_uring_get_probe.3.md | 37 + man/io_uring_get_probe_ring.3 | 39 - man/io_uring_get_probe_ring.3.md | 37 + man/io_uring_get_sqe.3 | 57 - man/io_uring_get_sqe.3.md | 40 + man/io_uring_get_sqe128.3 | 67 - man/io_uring_get_sqe128.3.md | 40 + man/io_uring_linked_requests.7 | 271 -- man/io_uring_linked_requests.7.md | 212 ++ man/io_uring_major_version.3 | 1 - man/io_uring_memory_size_params.3 | 45 - man/io_uring_memory_size_params.3.md | 41 + man/io_uring_minor_version.3 | 1 - man/io_uring_mlock_size.3 | 42 - man/io_uring_mlock_size.3.md | 37 + man/io_uring_mlock_size_params.3 | 48 - man/io_uring_mlock_size_params.3.md | 37 + man/io_uring_multishot.7 | 246 -- man/io_uring_multishot.7.md | 164 ++ man/io_uring_opcode_supported.3 | 30 - man/io_uring_opcode_supported.3.md | 34 + man/io_uring_peek_batch_cqe.3 | 1 - man/io_uring_peek_cqe.3 | 59 - man/io_uring_peek_cqe.3.md | 42 + man/io_uring_prep_accept.3 | 203 -- man/io_uring_prep_accept.3.md | 93 + man/io_uring_prep_accept_direct.3 | 1 - man/io_uring_prep_bind.3 | 54 - man/io_uring_prep_bind.3.md | 43 + man/io_uring_prep_cancel.3 | 136 - man/io_uring_prep_cancel.3.md | 97 + man/io_uring_prep_cancel64.3 | 1 - man/io_uring_prep_cancel_fd.3 | 1 - man/io_uring_prep_close.3 | 67 - man/io_uring_prep_close.3.md | 45 + man/io_uring_prep_close_direct.3 | 1 - man/io_uring_prep_cmd_discard.3 | 64 - man/io_uring_prep_cmd_discard.3.md | 44 + man/io_uring_prep_cmd_getsockname.3 | 79 - man/io_uring_prep_cmd_getsockname.3.md | 45 + man/io_uring_prep_cmd_sock.3 | 219 -- man/io_uring_prep_cmd_sock.3.md | 109 + man/io_uring_prep_connect.3 | 66 - man/io_uring_prep_connect.3.md | 48 + man/io_uring_prep_epoll_ctl.3 | 74 - man/io_uring_prep_epoll_ctl.3.md | 57 + man/io_uring_prep_epoll_wait.3 | 64 - man/io_uring_prep_epoll_wait.3.md | 44 + man/io_uring_prep_fadvise.3 | 76 - man/io_uring_prep_fadvise.3.md | 52 + man/io_uring_prep_fadvise64.3 | 1 - man/io_uring_prep_fallocate.3 | 59 - man/io_uring_prep_fallocate.3.md | 44 + man/io_uring_prep_fgetxattr.3 | 1 - man/io_uring_prep_files_update.3 | 92 - man/io_uring_prep_files_update.3.md | 68 + man/io_uring_prep_fixed_fd_install.3 | 70 - man/io_uring_prep_fixed_fd_install.3.md | 45 + man/io_uring_prep_fsetxattr.3 | 1 - man/io_uring_prep_fsync.3 | 70 - man/io_uring_prep_fsync.3.md | 43 + man/io_uring_prep_ftruncate.3 | 54 - man/io_uring_prep_ftruncate.3.md | 41 + man/io_uring_prep_futex_wait.3 | 94 - man/io_uring_prep_futex_wait.3.md | 58 + man/io_uring_prep_futex_waitv.3 | 78 - man/io_uring_prep_futex_waitv.3.md | 54 + man/io_uring_prep_futex_wake.3 | 86 - man/io_uring_prep_futex_wake.3.md | 52 + man/io_uring_prep_getxattr.3 | 61 - man/io_uring_prep_getxattr.3.md | 47 + man/io_uring_prep_link.3 | 1 - man/io_uring_prep_link_timeout.3 | 98 - man/io_uring_prep_link_timeout.3.md | 86 + man/io_uring_prep_linkat.3 | 91 - man/io_uring_prep_linkat.3.md | 57 + man/io_uring_prep_listen.3 | 52 - man/io_uring_prep_listen.3.md | 42 + man/io_uring_prep_madvise.3 | 72 - man/io_uring_prep_madvise.3.md | 50 + man/io_uring_prep_madvise64.3 | 1 - man/io_uring_prep_mkdir.3 | 1 - man/io_uring_prep_mkdirat.3 | 83 - man/io_uring_prep_mkdirat.3.md | 54 + man/io_uring_prep_msg_ring.3 | 92 - man/io_uring_prep_msg_ring.3.md | 64 + man/io_uring_prep_msg_ring_cqe_flags.3 | 1 - man/io_uring_prep_msg_ring_fd.3 | 83 - man/io_uring_prep_msg_ring_fd.3.md | 70 + man/io_uring_prep_msg_ring_fd_alloc.3 | 1 - man/io_uring_prep_multishot_accept.3 | 1 - man/io_uring_prep_multishot_accept_direct.3 | 1 - man/io_uring_prep_nop.3 | 28 - man/io_uring_prep_nop.3.md | 37 + man/io_uring_prep_nop128.3 | 30 - man/io_uring_prep_nop128.3.md | 37 + man/io_uring_prep_open.3 | 1 - man/io_uring_prep_open_direct.3 | 1 - man/io_uring_prep_openat.3 | 138 -- man/io_uring_prep_openat.3.md | 78 + man/io_uring_prep_openat2.3 | 119 - man/io_uring_prep_openat2.3.md | 66 + man/io_uring_prep_openat2_direct.3 | 1 - man/io_uring_prep_openat_direct.3 | 1 - man/io_uring_prep_pipe.3 | 91 - man/io_uring_prep_pipe.3.md | 50 + man/io_uring_prep_pipe_direct.3 | 1 - man/io_uring_prep_poll_add.3 | 72 - man/io_uring_prep_poll_add.3.md | 46 + man/io_uring_prep_poll_multishot.3 | 1 - man/io_uring_prep_poll_remove.3 | 55 - man/io_uring_prep_poll_remove.3.md | 53 + man/io_uring_prep_poll_update.3 | 101 - man/io_uring_prep_poll_update.3.md | 72 + man/io_uring_prep_provide_buffers.3 | 140 -- man/io_uring_prep_provide_buffers.3.md | 76 + man/io_uring_prep_read.3 | 76 - man/io_uring_prep_read.3.md | 51 + man/io_uring_prep_read_fixed.3 | 79 - man/io_uring_prep_read_fixed.3.md | 50 + man/io_uring_prep_read_multishot.3 | 107 - man/io_uring_prep_read_multishot.3.md | 59 + man/io_uring_prep_readv.3 | 92 - man/io_uring_prep_readv.3.md | 54 + man/io_uring_prep_readv2.3 | 118 - man/io_uring_prep_readv2.3.md | 77 + man/io_uring_prep_readv_fixed.3 | 74 - man/io_uring_prep_readv_fixed.3.md | 53 + man/io_uring_prep_recv.3 | 147 -- man/io_uring_prep_recv.3.md | 67 + man/io_uring_prep_recv_multishot.3 | 1 - man/io_uring_prep_recvmsg.3 | 130 - man/io_uring_prep_recvmsg.3.md | 69 + man/io_uring_prep_recvmsg_multishot.3 | 1 - man/io_uring_prep_remove_buffers.3 | 52 - man/io_uring_prep_remove_buffers.3.md | 51 + man/io_uring_prep_rename.3 | 1 - man/io_uring_prep_renameat.3 | 95 - man/io_uring_prep_renameat.3.md | 56 + man/io_uring_prep_send.3 | 197 -- man/io_uring_prep_send.3.md | 84 + man/io_uring_prep_send_bundle.3 | 1 - man/io_uring_prep_send_set_addr.3 | 38 - man/io_uring_prep_send_set_addr.3.md | 35 + man/io_uring_prep_send_zc.3 | 140 -- man/io_uring_prep_send_zc.3.md | 72 + man/io_uring_prep_send_zc_fixed.3 | 1 - man/io_uring_prep_sendmsg.3 | 136 - man/io_uring_prep_sendmsg.3.md | 71 + man/io_uring_prep_sendmsg_zc.3 | 1 - man/io_uring_prep_sendmsg_zc_fixed.3 | 69 - man/io_uring_prep_sendmsg_zc_fixed.3.md | 51 + man/io_uring_prep_sendto.3 | 1 - man/io_uring_prep_setxattr.3 | 64 - man/io_uring_prep_setxattr.3.md | 49 + man/io_uring_prep_shutdown.3 | 53 - man/io_uring_prep_shutdown.3.md | 42 + man/io_uring_prep_socket.3 | 118 - man/io_uring_prep_socket.3.md | 65 + man/io_uring_prep_socket_direct.3 | 1 - man/io_uring_prep_socket_direct_alloc.3 | 1 - man/io_uring_prep_splice.3 | 126 - man/io_uring_prep_splice.3.md | 62 + man/io_uring_prep_statx.3 | 74 - man/io_uring_prep_statx.3.md | 52 + man/io_uring_prep_symlink.3 | 1 - man/io_uring_prep_symlinkat.3 | 85 - man/io_uring_prep_symlinkat.3.md | 54 + man/io_uring_prep_sync_file_range.3 | 59 - man/io_uring_prep_sync_file_range.3.md | 44 + man/io_uring_prep_tee.3 | 80 - man/io_uring_prep_tee.3.md | 50 + man/io_uring_prep_timeout.3 | 121 - man/io_uring_prep_timeout.3.md | 90 + man/io_uring_prep_timeout_remove.3 | 1 - man/io_uring_prep_timeout_update.3 | 85 - man/io_uring_prep_timeout_update.3.md | 72 + man/io_uring_prep_unlink.3 | 1 - man/io_uring_prep_unlinkat.3 | 82 - man/io_uring_prep_unlinkat.3.md | 54 + man/io_uring_prep_uring_cmd.3 | 37 - man/io_uring_prep_uring_cmd.3.md | 41 + man/io_uring_prep_uring_cmd128.3 | 38 - man/io_uring_prep_uring_cmd128.3.md | 41 + man/io_uring_prep_waitid.3 | 67 - man/io_uring_prep_waitid.3.md | 47 + man/io_uring_prep_write.3 | 70 - man/io_uring_prep_write.3.md | 51 + man/io_uring_prep_write_fixed.3 | 75 - man/io_uring_prep_write_fixed.3.md | 50 + man/io_uring_prep_writev.3 | 89 - man/io_uring_prep_writev.3.md | 54 + man/io_uring_prep_writev2.3 | 115 - man/io_uring_prep_writev2.3.md | 77 + man/io_uring_prep_writev_fixed.3 | 71 - man/io_uring_prep_writev_fixed.3.md | 53 + man/io_uring_provided_buffers.7 | 266 -- man/io_uring_provided_buffers.7.md | 189 ++ man/io_uring_queue_exit.3 | 30 - man/io_uring_queue_exit.3.md | 36 + man/io_uring_queue_init.3 | 144 -- man/io_uring_queue_init.3.md | 59 + man/io_uring_queue_init_mem.3 | 1 - man/io_uring_queue_init_params.3 | 1 - man/io_uring_queue_mmap.3 | 49 - man/io_uring_queue_mmap.3.md | 38 + man/io_uring_recvmsg_cmsg_firsthdr.3 | 1 - man/io_uring_recvmsg_cmsg_nexthdr.3 | 1 - man/io_uring_recvmsg_name.3 | 1 - man/io_uring_recvmsg_out.3 | 82 - man/io_uring_recvmsg_out.3.md | 72 + man/io_uring_recvmsg_payload.3 | 1 - man/io_uring_recvmsg_payload_length.3 | 1 - man/io_uring_recvmsg_validate.3 | 1 - man/io_uring_register.2 | 1375 ---------- man/io_uring_register.2.md | 553 +++++ man/io_uring_register_bpf_filter.3 | 411 --- man/io_uring_register_bpf_filter.3.md | 267 ++ man/io_uring_register_bpf_filter_task.3 | 1 - man/io_uring_register_buf_ring.3 | 165 -- man/io_uring_register_buf_ring.3.md | 88 + man/io_uring_register_buffers.3 | 105 - man/io_uring_register_buffers.3.md | 59 + man/io_uring_register_buffers_sparse.3 | 1 - man/io_uring_register_buffers_tags.3 | 1 - man/io_uring_register_buffers_update_tag.3 | 1 - man/io_uring_register_clock.3 | 72 - man/io_uring_register_clock.3.md | 57 + man/io_uring_register_eventfd.3 | 50 - man/io_uring_register_eventfd.3.md | 47 + man/io_uring_register_eventfd_async.3 | 1 - man/io_uring_register_file_alloc_range.3 | 52 - man/io_uring_register_file_alloc_range.3.md | 40 + man/io_uring_register_files.3 | 120 - man/io_uring_register_files.3.md | 66 + man/io_uring_register_files_sparse.3 | 1 - man/io_uring_register_files_tags.3 | 1 - man/io_uring_register_files_update.3 | 1 - man/io_uring_register_files_update_tag.3 | 1 - man/io_uring_register_ifq.3 | 49 - man/io_uring_register_ifq.3.md | 38 + man/io_uring_register_iowq_aff.3 | 67 - man/io_uring_register_iowq_aff.3.md | 54 + man/io_uring_register_iowq_max_workers.3 | 71 - man/io_uring_register_iowq_max_workers.3.md | 56 + man/io_uring_register_napi.3 | 40 - man/io_uring_register_napi.3.md | 34 + man/io_uring_register_personality.3 | 34 - man/io_uring_register_personality.3.md | 35 + man/io_uring_register_probe.3 | 47 - man/io_uring_register_probe.3.md | 39 + man/io_uring_register_query.3 | 114 - man/io_uring_register_query.3.md | 74 + man/io_uring_register_region.3 | 124 - man/io_uring_register_region.3.md | 77 + man/io_uring_register_restrictions.3 | 53 - man/io_uring_register_restrictions.3.md | 41 + man/io_uring_register_ring_fd.3 | 51 - man/io_uring_register_ring_fd.3.md | 45 + man/io_uring_register_sync_cancel.3 | 73 - man/io_uring_register_sync_cancel.3.md | 50 + man/io_uring_register_sync_msg.3 | 74 - man/io_uring_register_sync_msg.3.md | 43 + man/io_uring_register_wait_reg.3 | 45 - man/io_uring_register_wait_reg.3.md | 39 + man/io_uring_register_zcrx_ctrl.3 | 84 - man/io_uring_register_zcrx_ctrl.3.md | 62 + man/io_uring_registered_buffers.7 | 238 -- man/io_uring_registered_buffers.7.md | 147 ++ man/io_uring_registered_files.7 | 228 -- man/io_uring_registered_files.7.md | 149 ++ man/io_uring_resize_rings.3 | 116 - man/io_uring_resize_rings.3.md | 82 + man/io_uring_ring_dontfork.3 | 36 - man/io_uring_ring_dontfork.3.md | 35 + man/io_uring_set_iowait.3 | 57 - man/io_uring_set_iowait.3.md | 43 + man/io_uring_setup.2 | 820 ------ man/io_uring_setup.2.md | 334 +++ man/io_uring_setup_buf_ring.3 | 94 - man/io_uring_setup_buf_ring.3.md | 56 + man/io_uring_setup_flags.7 | 451 ---- man/io_uring_setup_flags.7.md | 236 ++ man/io_uring_sq_ready.3 | 31 - man/io_uring_sq_ready.3.md | 35 + man/io_uring_sq_space_left.3 | 25 - man/io_uring_sq_space_left.3.md | 33 + man/io_uring_sqe_set_buf_group.3 | 32 - man/io_uring_sqe_set_buf_group.3.md | 36 + man/io_uring_sqe_set_data.3 | 57 - man/io_uring_sqe_set_data.3.md | 43 + man/io_uring_sqe_set_data64.3 | 1 - man/io_uring_sqe_set_flags.3 | 87 - man/io_uring_sqe_set_flags.3.md | 64 + man/io_uring_sqpoll.7 | 259 -- man/io_uring_sqpoll.7.md | 173 ++ man/io_uring_sqring_wait.3 | 34 - man/io_uring_sqring_wait.3.md | 35 + man/io_uring_submit.3 | 51 - man/io_uring_submit.3.md | 39 + man/io_uring_submit_and_get_events.3 | 31 - man/io_uring_submit_and_get_events.3.md | 34 + man/io_uring_submit_and_wait.3 | 44 - man/io_uring_submit_and_wait.3.md | 38 + man/io_uring_submit_and_wait_min_timeout.3 | 119 - man/io_uring_submit_and_wait_min_timeout.3.md | 54 + man/io_uring_submit_and_wait_reg.3 | 64 - man/io_uring_submit_and_wait_reg.3.md | 42 + man/io_uring_submit_and_wait_timeout.3 | 74 - man/io_uring_submit_and_wait_timeout.3.md | 49 + man/io_uring_unregister_buf_ring.3 | 30 - man/io_uring_unregister_buf_ring.3.md | 35 + man/io_uring_unregister_buffers.3 | 27 - man/io_uring_unregister_buffers.3.md | 33 + man/io_uring_unregister_eventfd.3 | 1 - man/io_uring_unregister_files.3 | 27 - man/io_uring_unregister_files.3.md | 33 + man/io_uring_unregister_iowq_aff.3 | 1 - man/io_uring_unregister_napi.3 | 27 - man/io_uring_unregister_napi.3.md | 30 + man/io_uring_unregister_personality.3 | 33 - man/io_uring_unregister_personality.3.md | 35 + man/io_uring_unregister_ring_fd.3 | 32 - man/io_uring_unregister_ring_fd.3.md | 35 + man/io_uring_wait_cqe.3 | 41 - man/io_uring_wait_cqe.3.md | 36 + man/io_uring_wait_cqe_nr.3 | 49 - man/io_uring_wait_cqe_nr.3.md | 39 + man/io_uring_wait_cqe_timeout.3 | 62 - man/io_uring_wait_cqe_timeout.3.md | 41 + man/io_uring_wait_cqes.3 | 82 - man/io_uring_wait_cqes.3.md | 51 + man/io_uring_wait_cqes_min_timeout.3 | 76 - man/io_uring_wait_cqes_min_timeout.3.md | 50 + 399 files changed, 11719 insertions(+), 18975 deletions(-) create mode 100644 man/.gitignore create mode 100644 man/ALIASES delete mode 120000 man/IO_URING_CHECK_VERSION.3 delete mode 120000 man/IO_URING_VERSION_MAJOR.3 delete mode 120000 man/IO_URING_VERSION_MINOR.3 create mode 100644 man/Makefile delete mode 120000 man/__io_uring_buf_ring_cq_advance.3 create mode 100644 man/filters/bold-block.lua create mode 100755 man/filters/preserve-comments.py delete mode 100644 man/io_uring.7 create mode 100644 man/io_uring.7.md delete mode 100644 man/io_uring_buf_ring_add.3 create mode 100644 man/io_uring_buf_ring_add.3.md delete mode 100644 man/io_uring_buf_ring_advance.3 create mode 100644 man/io_uring_buf_ring_advance.3.md delete mode 100644 man/io_uring_buf_ring_available.3 create mode 100644 man/io_uring_buf_ring_available.3.md delete mode 100644 man/io_uring_buf_ring_cq_advance.3 create mode 100644 man/io_uring_buf_ring_cq_advance.3.md delete mode 100644 man/io_uring_buf_ring_init.3 create mode 100644 man/io_uring_buf_ring_init.3.md delete mode 100644 man/io_uring_buf_ring_mask.3 create mode 100644 man/io_uring_buf_ring_mask.3.md delete mode 100644 man/io_uring_cancelation.7 create mode 100644 man/io_uring_cancelation.7.md delete mode 100644 man/io_uring_check_version.3 create mode 100644 man/io_uring_check_version.3.md delete mode 100644 man/io_uring_clone_buffers.3 create mode 100644 man/io_uring_clone_buffers.3.md delete mode 120000 man/io_uring_clone_buffers_offset.3 delete mode 100644 man/io_uring_close_ring_fd.3 create mode 100644 man/io_uring_close_ring_fd.3.md delete mode 100644 man/io_uring_cq_advance.3 create mode 100644 man/io_uring_cq_advance.3.md delete mode 100644 man/io_uring_cq_eventfd_enabled.3 create mode 100644 man/io_uring_cq_eventfd_enabled.3.md delete mode 100644 man/io_uring_cq_eventfd_toggle.3 create mode 100644 man/io_uring_cq_eventfd_toggle.3.md delete mode 100644 man/io_uring_cq_has_overflow.3 create mode 100644 man/io_uring_cq_has_overflow.3.md delete mode 100644 man/io_uring_cq_ready.3 create mode 100644 man/io_uring_cq_ready.3.md delete mode 100644 man/io_uring_cqe_get_data.3 create mode 100644 man/io_uring_cqe_get_data.3.md delete mode 120000 man/io_uring_cqe_get_data64.3 delete mode 100644 man/io_uring_cqe_nr.3 create mode 100644 man/io_uring_cqe_nr.3.md delete mode 100644 man/io_uring_cqe_seen.3 create mode 100644 man/io_uring_cqe_seen.3.md delete mode 100644 man/io_uring_enable_rings.3 create mode 100644 man/io_uring_enable_rings.3.md delete mode 100644 man/io_uring_enter.2 create mode 100644 man/io_uring_enter.2.md delete mode 120000 man/io_uring_enter2.2 delete mode 100644 man/io_uring_for_each_cqe.3 create mode 100644 man/io_uring_for_each_cqe.3.md delete mode 100644 man/io_uring_free_buf_ring.3 create mode 100644 man/io_uring_free_buf_ring.3.md delete mode 100644 man/io_uring_free_probe.3 create mode 100644 man/io_uring_free_probe.3.md delete mode 100644 man/io_uring_get_events.3 create mode 100644 man/io_uring_get_events.3.md delete mode 100644 man/io_uring_get_probe.3 create mode 100644 man/io_uring_get_probe.3.md delete mode 100644 man/io_uring_get_probe_ring.3 create mode 100644 man/io_uring_get_probe_ring.3.md delete mode 100644 man/io_uring_get_sqe.3 create mode 100644 man/io_uring_get_sqe.3.md delete mode 100644 man/io_uring_get_sqe128.3 create mode 100644 man/io_uring_get_sqe128.3.md delete mode 100644 man/io_uring_linked_requests.7 create mode 100644 man/io_uring_linked_requests.7.md delete mode 120000 man/io_uring_major_version.3 delete mode 100644 man/io_uring_memory_size_params.3 create mode 100644 man/io_uring_memory_size_params.3.md delete mode 120000 man/io_uring_minor_version.3 delete mode 100644 man/io_uring_mlock_size.3 create mode 100644 man/io_uring_mlock_size.3.md delete mode 100644 man/io_uring_mlock_size_params.3 create mode 100644 man/io_uring_mlock_size_params.3.md delete mode 100644 man/io_uring_multishot.7 create mode 100644 man/io_uring_multishot.7.md delete mode 100644 man/io_uring_opcode_supported.3 create mode 100644 man/io_uring_opcode_supported.3.md delete mode 120000 man/io_uring_peek_batch_cqe.3 delete mode 100644 man/io_uring_peek_cqe.3 create mode 100644 man/io_uring_peek_cqe.3.md delete mode 100644 man/io_uring_prep_accept.3 create mode 100644 man/io_uring_prep_accept.3.md delete mode 120000 man/io_uring_prep_accept_direct.3 delete mode 100644 man/io_uring_prep_bind.3 create mode 100644 man/io_uring_prep_bind.3.md delete mode 100644 man/io_uring_prep_cancel.3 create mode 100644 man/io_uring_prep_cancel.3.md delete mode 120000 man/io_uring_prep_cancel64.3 delete mode 120000 man/io_uring_prep_cancel_fd.3 delete mode 100644 man/io_uring_prep_close.3 create mode 100644 man/io_uring_prep_close.3.md delete mode 120000 man/io_uring_prep_close_direct.3 delete mode 100644 man/io_uring_prep_cmd_discard.3 create mode 100644 man/io_uring_prep_cmd_discard.3.md delete mode 100644 man/io_uring_prep_cmd_getsockname.3 create mode 100644 man/io_uring_prep_cmd_getsockname.3.md delete mode 100644 man/io_uring_prep_cmd_sock.3 create mode 100644 man/io_uring_prep_cmd_sock.3.md delete mode 100644 man/io_uring_prep_connect.3 create mode 100644 man/io_uring_prep_connect.3.md delete mode 100644 man/io_uring_prep_epoll_ctl.3 create mode 100644 man/io_uring_prep_epoll_ctl.3.md delete mode 100644 man/io_uring_prep_epoll_wait.3 create mode 100644 man/io_uring_prep_epoll_wait.3.md delete mode 100644 man/io_uring_prep_fadvise.3 create mode 100644 man/io_uring_prep_fadvise.3.md delete mode 120000 man/io_uring_prep_fadvise64.3 delete mode 100644 man/io_uring_prep_fallocate.3 create mode 100644 man/io_uring_prep_fallocate.3.md delete mode 120000 man/io_uring_prep_fgetxattr.3 delete mode 100644 man/io_uring_prep_files_update.3 create mode 100644 man/io_uring_prep_files_update.3.md delete mode 100644 man/io_uring_prep_fixed_fd_install.3 create mode 100644 man/io_uring_prep_fixed_fd_install.3.md delete mode 120000 man/io_uring_prep_fsetxattr.3 delete mode 100644 man/io_uring_prep_fsync.3 create mode 100644 man/io_uring_prep_fsync.3.md delete mode 100644 man/io_uring_prep_ftruncate.3 create mode 100644 man/io_uring_prep_ftruncate.3.md delete mode 100644 man/io_uring_prep_futex_wait.3 create mode 100644 man/io_uring_prep_futex_wait.3.md delete mode 100644 man/io_uring_prep_futex_waitv.3 create mode 100644 man/io_uring_prep_futex_waitv.3.md delete mode 100644 man/io_uring_prep_futex_wake.3 create mode 100644 man/io_uring_prep_futex_wake.3.md delete mode 100644 man/io_uring_prep_getxattr.3 create mode 100644 man/io_uring_prep_getxattr.3.md delete mode 120000 man/io_uring_prep_link.3 delete mode 100644 man/io_uring_prep_link_timeout.3 create mode 100644 man/io_uring_prep_link_timeout.3.md delete mode 100644 man/io_uring_prep_linkat.3 create mode 100644 man/io_uring_prep_linkat.3.md delete mode 100644 man/io_uring_prep_listen.3 create mode 100644 man/io_uring_prep_listen.3.md delete mode 100644 man/io_uring_prep_madvise.3 create mode 100644 man/io_uring_prep_madvise.3.md delete mode 120000 man/io_uring_prep_madvise64.3 delete mode 120000 man/io_uring_prep_mkdir.3 delete mode 100644 man/io_uring_prep_mkdirat.3 create mode 100644 man/io_uring_prep_mkdirat.3.md delete mode 100644 man/io_uring_prep_msg_ring.3 create mode 100644 man/io_uring_prep_msg_ring.3.md delete mode 120000 man/io_uring_prep_msg_ring_cqe_flags.3 delete mode 100644 man/io_uring_prep_msg_ring_fd.3 create mode 100644 man/io_uring_prep_msg_ring_fd.3.md delete mode 120000 man/io_uring_prep_msg_ring_fd_alloc.3 delete mode 120000 man/io_uring_prep_multishot_accept.3 delete mode 120000 man/io_uring_prep_multishot_accept_direct.3 delete mode 100644 man/io_uring_prep_nop.3 create mode 100644 man/io_uring_prep_nop.3.md delete mode 100644 man/io_uring_prep_nop128.3 create mode 100644 man/io_uring_prep_nop128.3.md delete mode 120000 man/io_uring_prep_open.3 delete mode 120000 man/io_uring_prep_open_direct.3 delete mode 100644 man/io_uring_prep_openat.3 create mode 100644 man/io_uring_prep_openat.3.md delete mode 100644 man/io_uring_prep_openat2.3 create mode 100644 man/io_uring_prep_openat2.3.md delete mode 120000 man/io_uring_prep_openat2_direct.3 delete mode 120000 man/io_uring_prep_openat_direct.3 delete mode 100644 man/io_uring_prep_pipe.3 create mode 100644 man/io_uring_prep_pipe.3.md delete mode 120000 man/io_uring_prep_pipe_direct.3 delete mode 100644 man/io_uring_prep_poll_add.3 create mode 100644 man/io_uring_prep_poll_add.3.md delete mode 120000 man/io_uring_prep_poll_multishot.3 delete mode 100644 man/io_uring_prep_poll_remove.3 create mode 100644 man/io_uring_prep_poll_remove.3.md delete mode 100644 man/io_uring_prep_poll_update.3 create mode 100644 man/io_uring_prep_poll_update.3.md delete mode 100644 man/io_uring_prep_provide_buffers.3 create mode 100644 man/io_uring_prep_provide_buffers.3.md delete mode 100644 man/io_uring_prep_read.3 create mode 100644 man/io_uring_prep_read.3.md delete mode 100644 man/io_uring_prep_read_fixed.3 create mode 100644 man/io_uring_prep_read_fixed.3.md delete mode 100644 man/io_uring_prep_read_multishot.3 create mode 100644 man/io_uring_prep_read_multishot.3.md delete mode 100644 man/io_uring_prep_readv.3 create mode 100644 man/io_uring_prep_readv.3.md delete mode 100644 man/io_uring_prep_readv2.3 create mode 100644 man/io_uring_prep_readv2.3.md delete mode 100644 man/io_uring_prep_readv_fixed.3 create mode 100644 man/io_uring_prep_readv_fixed.3.md delete mode 100644 man/io_uring_prep_recv.3 create mode 100644 man/io_uring_prep_recv.3.md delete mode 120000 man/io_uring_prep_recv_multishot.3 delete mode 100644 man/io_uring_prep_recvmsg.3 create mode 100644 man/io_uring_prep_recvmsg.3.md delete mode 120000 man/io_uring_prep_recvmsg_multishot.3 delete mode 100644 man/io_uring_prep_remove_buffers.3 create mode 100644 man/io_uring_prep_remove_buffers.3.md delete mode 120000 man/io_uring_prep_rename.3 delete mode 100644 man/io_uring_prep_renameat.3 create mode 100644 man/io_uring_prep_renameat.3.md delete mode 100644 man/io_uring_prep_send.3 create mode 100644 man/io_uring_prep_send.3.md delete mode 120000 man/io_uring_prep_send_bundle.3 delete mode 100644 man/io_uring_prep_send_set_addr.3 create mode 100644 man/io_uring_prep_send_set_addr.3.md delete mode 100644 man/io_uring_prep_send_zc.3 create mode 100644 man/io_uring_prep_send_zc.3.md delete mode 120000 man/io_uring_prep_send_zc_fixed.3 delete mode 100644 man/io_uring_prep_sendmsg.3 create mode 100644 man/io_uring_prep_sendmsg.3.md delete mode 120000 man/io_uring_prep_sendmsg_zc.3 delete mode 100644 man/io_uring_prep_sendmsg_zc_fixed.3 create mode 100644 man/io_uring_prep_sendmsg_zc_fixed.3.md delete mode 120000 man/io_uring_prep_sendto.3 delete mode 100644 man/io_uring_prep_setxattr.3 create mode 100644 man/io_uring_prep_setxattr.3.md delete mode 100644 man/io_uring_prep_shutdown.3 create mode 100644 man/io_uring_prep_shutdown.3.md delete mode 100644 man/io_uring_prep_socket.3 create mode 100644 man/io_uring_prep_socket.3.md delete mode 120000 man/io_uring_prep_socket_direct.3 delete mode 120000 man/io_uring_prep_socket_direct_alloc.3 delete mode 100644 man/io_uring_prep_splice.3 create mode 100644 man/io_uring_prep_splice.3.md delete mode 100644 man/io_uring_prep_statx.3 create mode 100644 man/io_uring_prep_statx.3.md delete mode 120000 man/io_uring_prep_symlink.3 delete mode 100644 man/io_uring_prep_symlinkat.3 create mode 100644 man/io_uring_prep_symlinkat.3.md delete mode 100644 man/io_uring_prep_sync_file_range.3 create mode 100644 man/io_uring_prep_sync_file_range.3.md delete mode 100644 man/io_uring_prep_tee.3 create mode 100644 man/io_uring_prep_tee.3.md delete mode 100644 man/io_uring_prep_timeout.3 create mode 100644 man/io_uring_prep_timeout.3.md delete mode 120000 man/io_uring_prep_timeout_remove.3 delete mode 100644 man/io_uring_prep_timeout_update.3 create mode 100644 man/io_uring_prep_timeout_update.3.md delete mode 120000 man/io_uring_prep_unlink.3 delete mode 100644 man/io_uring_prep_unlinkat.3 create mode 100644 man/io_uring_prep_unlinkat.3.md delete mode 100644 man/io_uring_prep_uring_cmd.3 create mode 100644 man/io_uring_prep_uring_cmd.3.md delete mode 100644 man/io_uring_prep_uring_cmd128.3 create mode 100644 man/io_uring_prep_uring_cmd128.3.md delete mode 100644 man/io_uring_prep_waitid.3 create mode 100644 man/io_uring_prep_waitid.3.md delete mode 100644 man/io_uring_prep_write.3 create mode 100644 man/io_uring_prep_write.3.md delete mode 100644 man/io_uring_prep_write_fixed.3 create mode 100644 man/io_uring_prep_write_fixed.3.md delete mode 100644 man/io_uring_prep_writev.3 create mode 100644 man/io_uring_prep_writev.3.md delete mode 100644 man/io_uring_prep_writev2.3 create mode 100644 man/io_uring_prep_writev2.3.md delete mode 100644 man/io_uring_prep_writev_fixed.3 create mode 100644 man/io_uring_prep_writev_fixed.3.md delete mode 100644 man/io_uring_provided_buffers.7 create mode 100644 man/io_uring_provided_buffers.7.md delete mode 100644 man/io_uring_queue_exit.3 create mode 100644 man/io_uring_queue_exit.3.md delete mode 100644 man/io_uring_queue_init.3 create mode 100644 man/io_uring_queue_init.3.md delete mode 120000 man/io_uring_queue_init_mem.3 delete mode 120000 man/io_uring_queue_init_params.3 delete mode 100644 man/io_uring_queue_mmap.3 create mode 100644 man/io_uring_queue_mmap.3.md delete mode 120000 man/io_uring_recvmsg_cmsg_firsthdr.3 delete mode 120000 man/io_uring_recvmsg_cmsg_nexthdr.3 delete mode 120000 man/io_uring_recvmsg_name.3 delete mode 100644 man/io_uring_recvmsg_out.3 create mode 100644 man/io_uring_recvmsg_out.3.md delete mode 120000 man/io_uring_recvmsg_payload.3 delete mode 120000 man/io_uring_recvmsg_payload_length.3 delete mode 120000 man/io_uring_recvmsg_validate.3 delete mode 100644 man/io_uring_register.2 create mode 100644 man/io_uring_register.2.md delete mode 100644 man/io_uring_register_bpf_filter.3 create mode 100644 man/io_uring_register_bpf_filter.3.md delete mode 120000 man/io_uring_register_bpf_filter_task.3 delete mode 100644 man/io_uring_register_buf_ring.3 create mode 100644 man/io_uring_register_buf_ring.3.md delete mode 100644 man/io_uring_register_buffers.3 create mode 100644 man/io_uring_register_buffers.3.md delete mode 120000 man/io_uring_register_buffers_sparse.3 delete mode 120000 man/io_uring_register_buffers_tags.3 delete mode 120000 man/io_uring_register_buffers_update_tag.3 delete mode 100644 man/io_uring_register_clock.3 create mode 100644 man/io_uring_register_clock.3.md delete mode 100644 man/io_uring_register_eventfd.3 create mode 100644 man/io_uring_register_eventfd.3.md delete mode 120000 man/io_uring_register_eventfd_async.3 delete mode 100644 man/io_uring_register_file_alloc_range.3 create mode 100644 man/io_uring_register_file_alloc_range.3.md delete mode 100644 man/io_uring_register_files.3 create mode 100644 man/io_uring_register_files.3.md delete mode 120000 man/io_uring_register_files_sparse.3 delete mode 120000 man/io_uring_register_files_tags.3 delete mode 120000 man/io_uring_register_files_update.3 delete mode 120000 man/io_uring_register_files_update_tag.3 delete mode 100644 man/io_uring_register_ifq.3 create mode 100644 man/io_uring_register_ifq.3.md delete mode 100644 man/io_uring_register_iowq_aff.3 create mode 100644 man/io_uring_register_iowq_aff.3.md delete mode 100644 man/io_uring_register_iowq_max_workers.3 create mode 100644 man/io_uring_register_iowq_max_workers.3.md delete mode 100644 man/io_uring_register_napi.3 create mode 100644 man/io_uring_register_napi.3.md delete mode 100644 man/io_uring_register_personality.3 create mode 100644 man/io_uring_register_personality.3.md delete mode 100644 man/io_uring_register_probe.3 create mode 100644 man/io_uring_register_probe.3.md delete mode 100644 man/io_uring_register_query.3 create mode 100644 man/io_uring_register_query.3.md delete mode 100644 man/io_uring_register_region.3 create mode 100644 man/io_uring_register_region.3.md delete mode 100644 man/io_uring_register_restrictions.3 create mode 100644 man/io_uring_register_restrictions.3.md delete mode 100644 man/io_uring_register_ring_fd.3 create mode 100644 man/io_uring_register_ring_fd.3.md delete mode 100644 man/io_uring_register_sync_cancel.3 create mode 100644 man/io_uring_register_sync_cancel.3.md delete mode 100644 man/io_uring_register_sync_msg.3 create mode 100644 man/io_uring_register_sync_msg.3.md delete mode 100644 man/io_uring_register_wait_reg.3 create mode 100644 man/io_uring_register_wait_reg.3.md delete mode 100644 man/io_uring_register_zcrx_ctrl.3 create mode 100644 man/io_uring_register_zcrx_ctrl.3.md delete mode 100644 man/io_uring_registered_buffers.7 create mode 100644 man/io_uring_registered_buffers.7.md delete mode 100644 man/io_uring_registered_files.7 create mode 100644 man/io_uring_registered_files.7.md delete mode 100644 man/io_uring_resize_rings.3 create mode 100644 man/io_uring_resize_rings.3.md delete mode 100644 man/io_uring_ring_dontfork.3 create mode 100644 man/io_uring_ring_dontfork.3.md delete mode 100644 man/io_uring_set_iowait.3 create mode 100644 man/io_uring_set_iowait.3.md delete mode 100644 man/io_uring_setup.2 create mode 100644 man/io_uring_setup.2.md delete mode 100644 man/io_uring_setup_buf_ring.3 create mode 100644 man/io_uring_setup_buf_ring.3.md delete mode 100644 man/io_uring_setup_flags.7 create mode 100644 man/io_uring_setup_flags.7.md delete mode 100644 man/io_uring_sq_ready.3 create mode 100644 man/io_uring_sq_ready.3.md delete mode 100644 man/io_uring_sq_space_left.3 create mode 100644 man/io_uring_sq_space_left.3.md delete mode 100644 man/io_uring_sqe_set_buf_group.3 create mode 100644 man/io_uring_sqe_set_buf_group.3.md delete mode 100644 man/io_uring_sqe_set_data.3 create mode 100644 man/io_uring_sqe_set_data.3.md delete mode 120000 man/io_uring_sqe_set_data64.3 delete mode 100644 man/io_uring_sqe_set_flags.3 create mode 100644 man/io_uring_sqe_set_flags.3.md delete mode 100644 man/io_uring_sqpoll.7 create mode 100644 man/io_uring_sqpoll.7.md delete mode 100644 man/io_uring_sqring_wait.3 create mode 100644 man/io_uring_sqring_wait.3.md delete mode 100644 man/io_uring_submit.3 create mode 100644 man/io_uring_submit.3.md delete mode 100644 man/io_uring_submit_and_get_events.3 create mode 100644 man/io_uring_submit_and_get_events.3.md delete mode 100644 man/io_uring_submit_and_wait.3 create mode 100644 man/io_uring_submit_and_wait.3.md delete mode 100644 man/io_uring_submit_and_wait_min_timeout.3 create mode 100644 man/io_uring_submit_and_wait_min_timeout.3.md delete mode 100644 man/io_uring_submit_and_wait_reg.3 create mode 100644 man/io_uring_submit_and_wait_reg.3.md delete mode 100644 man/io_uring_submit_and_wait_timeout.3 create mode 100644 man/io_uring_submit_and_wait_timeout.3.md delete mode 100644 man/io_uring_unregister_buf_ring.3 create mode 100644 man/io_uring_unregister_buf_ring.3.md delete mode 100644 man/io_uring_unregister_buffers.3 create mode 100644 man/io_uring_unregister_buffers.3.md delete mode 120000 man/io_uring_unregister_eventfd.3 delete mode 100644 man/io_uring_unregister_files.3 create mode 100644 man/io_uring_unregister_files.3.md delete mode 120000 man/io_uring_unregister_iowq_aff.3 delete mode 100644 man/io_uring_unregister_napi.3 create mode 100644 man/io_uring_unregister_napi.3.md delete mode 100644 man/io_uring_unregister_personality.3 create mode 100644 man/io_uring_unregister_personality.3.md delete mode 100644 man/io_uring_unregister_ring_fd.3 create mode 100644 man/io_uring_unregister_ring_fd.3.md delete mode 100644 man/io_uring_wait_cqe.3 create mode 100644 man/io_uring_wait_cqe.3.md delete mode 100644 man/io_uring_wait_cqe_nr.3 create mode 100644 man/io_uring_wait_cqe_nr.3.md delete mode 100644 man/io_uring_wait_cqe_timeout.3 create mode 100644 man/io_uring_wait_cqe_timeout.3.md delete mode 100644 man/io_uring_wait_cqes.3 create mode 100644 man/io_uring_wait_cqes.3.md delete mode 100644 man/io_uring_wait_cqes_min_timeout.3 create mode 100644 man/io_uring_wait_cqes_min_timeout.3.md
Makefile +1 -0
@@ -13,6 +13,7 @@ all: @$(MAKE) -C src @$(MAKE) -C test @$(MAKE) -C examples + @$(MAKE) -C man library: @$(MAKE) -C src
configure +8 -0
@@ -530,6 +530,14 @@ if test "$has_clang" = "yes" && test "$has_bpftool" = "yes" && test "$has_bpf_cl output_mak "bpf_toolchain" "y" fi +############################################################################# +# check for pandoc + +if ! has pandoc ; then + fatal "pandoc is needed for manpages generation" +fi +print_config "pandoc" "yes" + ############################################################################# liburing_nolibc="no" if test "$use_libc" != "yes"; then
man/.gitignore new file +8 -0
@@ -0,0 +1,8 @@ +*.1 +*.2 +*.3 +*.4 +*.5 +*.6 +*.7 +*.8
man/ALIASES new file +62 -0
62 lines not on this page · raw message
man/IO_URING_CHECK_VERSION.3 deleted +0 -1
@@ -1 +0,0 @@ -io_uring_check_version.3
man/IO_URING_VERSION_MAJOR.3 deleted +0 -1
@@ -1 +0,0 @@ -io_uring_check_version.3
man/IO_URING_VERSION_MINOR.3 deleted +0 -1
@@ -1 +0,0 @@ -io_uring_check_version.3
man/Makefile new file +26 -0
@@ -0,0 +1,26 @@ +MDS := $(wildcard *.md) +PAGES := $(patsubst %.md,%,$(MDS)) +VPATH = $(root)/man + +mandir ?= $(prefix)/share/man + +all: $(PAGES) gen_aliases + +%: %.md + sed -E '/\.\\/d' $<| pandoc --standalone --to man --lua-filter=filters/bold-block.lua -o $@ + man -l $@ > gen/[email protected] + +gen_aliases: + while IFS=$$'\t' read -r link tgt ; do ln -f -s $$tgt $$link; done < ALIASES + +clean: + -rm -f *.1 *.2 *.1 *.3 *.4 *.5 *.6 *.7 *.8 *.tmp + +%.md: man/% + filters/preserve-comments.py < $< > /$@ + sed -E '/.BI/ s/"//g' $< | sed -E 's/^.BI(.*)/\1/' > [email protected] + pandoc -p --wrap=preserve --standalone [email protected] -f man -t markdown+hard_line_breaks >> $@ < [email protected] + +gene: $(MDS) + +
man/__io_uring_buf_ring_cq_advance.3 deleted +0 -1
@@ -1 +0,0 @@ -io_uring_buf_ring_cq_advance.3
man/filters/bold-block.lua new file +14 -0
@@ -0,0 +1,14 @@ +-- SPDX-License-Identifier: LGPL-2.0-or-later +-- Generated with Gemini 3.5 + +function CodeBlock(el) + local code_text = el.text + + return pandoc.BlockQuote({ + pandoc.Para({ pandoc.Strong(pandoc.Str(code_text)) }) + }) +end + +function Code(el) + return pandoc.Strong(el) +end
man/filters/preserve-comments.py new file +18 -0
@@ -0,0 +1,18 @@ +#!/usr/bin/env python3 +# SPDX-License-Identifier: LGPL-2.0-or-later + +import sys +import re + +def preserve_groff_comments(source_text): + lines = source_text.splitlines() + processed_lines = [] + for line in lines: + if line.strip().startswith('.\\\"'): + processed_lines.append("{}".format(line)) + return "\n".join(processed_lines)+"\n" + +if __name__ == "__main__": + input_text = sys.stdin.read() + output_text = preserve_groff_comments(input_text) + sys.stdout.write(output_text)
man/io_uring.7 deleted +0 -919
919 lines not on this page · raw message
man/io_uring.7.md new file +538 -0
538 lines not on this page · raw message
man/io_uring_buf_ring_add.3 deleted +0 -64
64 lines not on this page · raw message
man/io_uring_buf_ring_add.3.md new file +44 -0
44 lines not on this page · raw message
man/io_uring_buf_ring_advance.3 deleted +0 -31
@@ -1,31 +0,0 @@ -.\" Copyright (C) 2022 Jens Axboe <[email protected]> -.\" -.\" SPDX-License-Identifier: LGPL-2.0-or-later -.\" -.TH io_uring_buf_ring_advance 3 "May 18, 2022" "liburing-2.2" "liburing Manual" -.SH NAME -io_uring_buf_ring_advance \- advance index of provided buffer in buffer ring -.SH SYNOPSIS -.nf -.B #include <liburing.h> -.PP -.BI "void io_uring_buf_ring_advance(struct io_uring_buf_ring *" br ", -.BI " int " count ");" -.fi -.SH DESCRIPTION -.PP -The -.BR io_uring_buf_ring_advance (3) -commits -.I count -previously added buffers to the shared buffer ring -.IR br , -making them visible to the kernel and hence consumable. This passes ownership -of the buffer to the ring. - -.SH RETURN VALUE -None -.SH SEE ALSO -.BR io_uring_register_buf_ring (3), -.BR io_uring_buf_ring_add (3), -.BR io_uring_buf_ring_cq_advance (3)
man/io_uring_buf_ring_advance.3.md new file +34 -0
@@ -0,0 +1,34 @@ +.\" Copyright (C) 2022 Jens Axboe <[email protected]> +.\" +.\" SPDX-License-Identifier: LGPL-2.0-or-later +.\" +--- +date: May 18, 2022 +footer: liburing-2.2 +header: liburing Manual +section: 3 +title: io_uring_buf_ring_advance +--- + +# NAME + +io_uring_buf_ring_advance - advance index of provided buffer in buffer ring + +# SYNOPSIS + + #include <liburing.h> + + void io_uring_buf_ring_advance(struct io_uring_buf_ring * br , + int count ); + +# DESCRIPTION + +The **io_uring_buf_ring_advance**(3) commits *count* previously added buffers to the shared buffer ring *br*, making them visible to the kernel and hence consumable. This passes ownership of the buffer to the ring. + +# RETURN VALUE + +None + +# SEE ALSO + +**io_uring_register_buf_ring**(3), **io_uring_buf_ring_add**(3), **io_uring_buf_ring_cq_advance**(3)
man/io_uring_buf_ring_available.3 deleted +0 -47
47 lines not on this page · raw message
man/io_uring_buf_ring_available.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_buf_ring_cq_advance.3 deleted +0 -55
55 lines not on this page · raw message
man/io_uring_buf_ring_cq_advance.3.md new file +42 -0
42 lines not on this page · raw message
man/io_uring_buf_ring_init.3 deleted +0 -36
@@ -1,36 +0,0 @@ -.\" Copyright (C) 2022 Dylan Yudaken <[email protected]> -.\" -.\" SPDX-License-Identifier: LGPL-2.0-or-later -.\" -.TH io_uring_buf_ring_init 3 "June 13, 2022" "liburing-2.2" "liburing Manual" -.SH NAME -io_uring_buf_ring_init \- Initialise a buffer ring -.SH SYNOPSIS -.nf -.B #include <liburing.h> -.PP -.BI "void io_uring_buf_ring_init(struct io_uring_buf_ring *" br ");" -.fi -.SH DESCRIPTION -.PP -.BR io_uring_buf_ring_init (3) -initialises -.IR br -so that it is ready to be used. It may be called after -.BR io_uring_register_buf_ring (3) -but must be called before the buffer ring is used in any other way. - -.SH RETURN VALUE -None - -.SH NOTES -Unless manual setup is needed, it's recommended to use -.BR io_uring_setup_buf_ring (3) -as it provides a simpler way to setup a provided buffer ring. -. -.SH SEE ALSO -.BR io_uring_register_buf_ring (3), -.BR io_uring_setup_buf_ring (3), -.BR io_uring_buf_ring_add (3) -.BR io_uring_buf_ring_advance (3), -.BR io_uring_buf_ring_cq_advance (3)
man/io_uring_buf_ring_init.3.md new file +37 -0
@@ -0,0 +1,37 @@ +.\" Copyright (C) 2022 Dylan Yudaken <[email protected]> +.\" +.\" SPDX-License-Identifier: LGPL-2.0-or-later +.\" +--- +date: June 13, 2022 +footer: liburing-2.2 +header: liburing Manual +section: 3 +title: io_uring_buf_ring_init +--- + +# NAME + +io_uring_buf_ring_init - Initialise a buffer ring + +# SYNOPSIS + + #include <liburing.h> + + void io_uring_buf_ring_init(struct io_uring_buf_ring * br ); + +# DESCRIPTION + +**io_uring_buf_ring_init**(3) initialises *br* so that it is ready to be used. It may be called after **io_uring_register_buf_ring**(3) but must be called before the buffer ring is used in any other way. + +# RETURN VALUE + +None + +# NOTES + +Unless manual setup is needed, it\'s recommended to use **io_uring_setup_buf_ring**(3) as it provides a simpler way to setup a provided buffer ring. + +# SEE ALSO + +**io_uring_register_buf_ring**(3), **io_uring_setup_buf_ring**(3), **io_uring_buf_ring_add**(3) **io_uring_buf_ring_advance**(3), **io_uring_buf_ring_cq_advance**(3)
man/io_uring_buf_ring_mask.3 deleted +0 -27
@@ -1,27 +0,0 @@ -.\" Copyright (C) 2022 Dylan Yudaken <[email protected]> -.\" -.\" SPDX-License-Identifier: LGPL-2.0-or-later -.\" -.TH io_uring_buf_ring_mask 3 "June 13, 2022" "liburing-2.2" "liburing Manual" -.SH NAME -io_uring_buf_ring_mask \- Calculate buffer ring mask size -.SH SYNOPSIS -.nf -.B #include <liburing.h> -.PP -.BI "int io_uring_buf_ring_mask(__u32 " ring_entries ");" -.fi -.SH DESCRIPTION -.PP -.BR io_uring_buf_ring_mask (3) -calculates the appropriate size mask for a buffer ring. -.IR ring_entries -is the ring entries as specified in -.BR io_uring_register_buf_ring (3) . - -.SH RETURN VALUE -Size mask for the buffer ring. - -.SH SEE ALSO -.BR io_uring_register_buf_ring (3), -.BR io_uring_buf_ring_add (3)
man/io_uring_buf_ring_mask.3.md new file +33 -0
@@ -0,0 +1,33 @@ +.\" Copyright (C) 2022 Dylan Yudaken <[email protected]> +.\" +.\" SPDX-License-Identifier: LGPL-2.0-or-later +.\" +--- +date: June 13, 2022 +footer: liburing-2.2 +header: liburing Manual +section: 3 +title: io_uring_buf_ring_mask +--- + +# NAME + +io_uring_buf_ring_mask - Calculate buffer ring mask size + +# SYNOPSIS + + #include <liburing.h> + + int io_uring_buf_ring_mask(__u32 ring_entries ); + +# DESCRIPTION + +**io_uring_buf_ring_mask**(3) calculates the appropriate size mask for a buffer ring. *ring_entries* is the ring entries as specified in **io_uring_register_buf_ring**(3)**.** + +# RETURN VALUE + +Size mask for the buffer ring. + +# SEE ALSO + +**io_uring_register_buf_ring**(3), **io_uring_buf_ring_add**(3)
man/io_uring_cancelation.7 deleted +0 -324
324 lines not on this page · raw message
man/io_uring_cancelation.7.md new file +221 -0
221 lines not on this page · raw message
man/io_uring_check_version.3 deleted +0 -72
72 lines not on this page · raw message
man/io_uring_check_version.3.md new file +42 -0
42 lines not on this page · raw message
man/io_uring_clone_buffers.3 deleted +0 -165
165 lines not on this page · raw message
man/io_uring_clone_buffers.3.md new file +90 -0
70 lines not on this page · raw message
man/io_uring_clone_buffers_offset.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_close_ring_fd.3 deleted +0 -43
43 lines not on this page · raw message
man/io_uring_close_ring_fd.3.md new file +42 -0
42 lines not on this page · raw message
man/io_uring_cq_advance.3 deleted +0 -49
49 lines not on this page · raw message
man/io_uring_cq_eventfd_enabled.3 deleted +0 -38
Lines of this file are not shown. View the raw message.
man/io_uring_cq_eventfd_enabled.3.md new file +35 -0
Lines of this file are not shown. View the raw message.
man/io_uring_cq_eventfd_toggle.3 deleted +0 -48
48 lines not on this page · raw message
man/io_uring_cq_eventfd_toggle.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_cq_has_overflow.3 deleted +0 -31
Lines of this file are not shown. View the raw message.
man/io_uring_cq_has_overflow.3.md new file +37 -0
Lines of this file are not shown. View the raw message.
man/io_uring_cqe_get_data.3 deleted +0 -53
53 lines not on this page · raw message
man/io_uring_cqe_get_data.3.md new file +39 -0
Lines of this file are not shown. View the raw message.
man/io_uring_cqe_seen.3 deleted +0 -41
41 lines not on this page · raw message
man/io_uring_enable_rings.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_enter.2 deleted +0 -2208
2,208 lines not on this page · raw message
man/io_uring_enter.2.md new file +745 -0
745 lines not on this page · raw message
man/io_uring_for_each_cqe.3 deleted +0 -63
63 lines not on this page · raw message
man/io_uring_for_each_cqe.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_free_buf_ring.3 deleted +0 -53
53 lines not on this page · raw message
man/io_uring_free_buf_ring.3.md new file +43 -0
43 lines not on this page · raw message
man/io_uring_get_probe_ring.3.md new file +37 -0
Lines of this file are not shown. View the raw message.
man/io_uring_get_sqe.3 deleted +0 -57
57 lines not on this page · raw message
man/io_uring_get_sqe128.3 deleted +0 -67
67 lines not on this page · raw message
man/io_uring_linked_requests.7 deleted +0 -271
271 lines not on this page · raw message
man/io_uring_linked_requests.7.md new file +212 -0
212 lines not on this page · raw message
man/io_uring_memory_size_params.3 deleted +0 -45
45 lines not on this page · raw message
man/io_uring_memory_size_params.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_mlock_size.3 deleted +0 -42
42 lines not on this page · raw message
man/io_uring_mlock_size_params.3 deleted +0 -48
48 lines not on this page · raw message
man/io_uring_mlock_size_params.3.md new file +37 -0
Lines of this file are not shown. View the raw message.
man/io_uring_multishot.7 deleted +0 -246
246 lines not on this page · raw message
man/io_uring_multishot.7.md new file +164 -0
164 lines not on this page · raw message
man/io_uring_opcode_supported.3 deleted +0 -30
Lines of this file are not shown. View the raw message.
man/io_uring_opcode_supported.3.md new file +34 -0
Lines of this file are not shown. View the raw message.
man/io_uring_peek_cqe.3 deleted +0 -59
59 lines not on this page · raw message
man/io_uring_peek_cqe.3.md new file +42 -0
42 lines not on this page · raw message
man/io_uring_prep_accept.3 deleted +0 -203
203 lines not on this page · raw message
man/io_uring_prep_accept.3.md new file +93 -0
93 lines not on this page · raw message
man/io_uring_prep_accept_direct.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_bind.3 deleted +0 -54
54 lines not on this page · raw message
man/io_uring_prep_bind.3.md new file +43 -0
43 lines not on this page · raw message
man/io_uring_prep_cancel.3 deleted +0 -136
136 lines not on this page · raw message
man/io_uring_prep_cancel.3.md new file +97 -0
97 lines not on this page · raw message
man/io_uring_prep_close.3 deleted +0 -67
67 lines not on this page · raw message
man/io_uring_prep_close.3.md new file +45 -0
45 lines not on this page · raw message
man/io_uring_prep_close_direct.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_cmd_discard.3 deleted +0 -64
64 lines not on this page · raw message
man/io_uring_prep_cmd_discard.3.md new file +44 -0
44 lines not on this page · raw message
man/io_uring_prep_cmd_getsockname.3 deleted +0 -79
79 lines not on this page · raw message
man/io_uring_prep_cmd_getsockname.3.md new file +45 -0
45 lines not on this page · raw message
man/io_uring_prep_cmd_sock.3 deleted +0 -219
219 lines not on this page · raw message
man/io_uring_prep_cmd_sock.3.md new file +109 -0
109 lines not on this page · raw message
man/io_uring_prep_connect.3 deleted +0 -66
66 lines not on this page · raw message
man/io_uring_prep_connect.3.md new file +48 -0
48 lines not on this page · raw message
man/io_uring_prep_epoll_ctl.3 deleted +0 -74
74 lines not on this page · raw message
man/io_uring_prep_epoll_ctl.3.md new file +57 -0
57 lines not on this page · raw message
man/io_uring_prep_epoll_wait.3 deleted +0 -64
64 lines not on this page · raw message
man/io_uring_prep_epoll_wait.3.md new file +44 -0
44 lines not on this page · raw message
man/io_uring_prep_fadvise.3 deleted +0 -76
76 lines not on this page · raw message
man/io_uring_prep_fadvise.3.md new file +52 -0
52 lines not on this page · raw message
man/io_uring_prep_fallocate.3 deleted +0 -59
59 lines not on this page · raw message
man/io_uring_prep_fallocate.3.md new file +44 -0
44 lines not on this page · raw message
man/io_uring_prep_files_update.3 deleted +0 -92
92 lines not on this page · raw message
man/io_uring_prep_files_update.3.md new file +68 -0
68 lines not on this page · raw message
man/io_uring_prep_fixed_fd_install.3 deleted +0 -70
70 lines not on this page · raw message
man/io_uring_prep_fixed_fd_install.3.md new file +45 -0
45 lines not on this page · raw message
man/io_uring_prep_fsync.3 deleted +0 -70
70 lines not on this page · raw message
man/io_uring_prep_fsync.3.md new file +43 -0
43 lines not on this page · raw message
man/io_uring_prep_ftruncate.3 deleted +0 -54
54 lines not on this page · raw message
man/io_uring_prep_ftruncate.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_prep_futex_wait.3 deleted +0 -94
94 lines not on this page · raw message
man/io_uring_prep_futex_wait.3.md new file +58 -0
58 lines not on this page · raw message
man/io_uring_prep_futex_waitv.3 deleted +0 -78
78 lines not on this page · raw message
man/io_uring_prep_futex_waitv.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_prep_futex_wake.3 deleted +0 -86
86 lines not on this page · raw message
man/io_uring_prep_futex_wake.3.md new file +52 -0
52 lines not on this page · raw message
man/io_uring_prep_getxattr.3 deleted +0 -61
61 lines not on this page · raw message
man/io_uring_prep_getxattr.3.md new file +47 -0
47 lines not on this page · raw message
man/io_uring_prep_link_timeout.3 deleted +0 -98
98 lines not on this page · raw message
man/io_uring_prep_link_timeout.3.md new file +86 -0
86 lines not on this page · raw message
man/io_uring_prep_linkat.3 deleted +0 -91
91 lines not on this page · raw message
man/io_uring_prep_linkat.3.md new file +57 -0
57 lines not on this page · raw message
man/io_uring_prep_listen.3 deleted +0 -52
52 lines not on this page · raw message
man/io_uring_prep_listen.3.md new file +42 -0
42 lines not on this page · raw message
man/io_uring_prep_madvise.3 deleted +0 -72
72 lines not on this page · raw message
man/io_uring_prep_madvise.3.md new file +50 -0
50 lines not on this page · raw message
man/io_uring_prep_mkdirat.3 deleted +0 -83
83 lines not on this page · raw message
man/io_uring_prep_mkdirat.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_prep_msg_ring.3 deleted +0 -92
92 lines not on this page · raw message
man/io_uring_prep_msg_ring.3.md new file +64 -0
64 lines not on this page · raw message
man/io_uring_prep_msg_ring_cqe_flags.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_msg_ring_fd.3 deleted +0 -83
83 lines not on this page · raw message
man/io_uring_prep_msg_ring_fd.3.md new file +70 -0
70 lines not on this page · raw message
man/io_uring_prep_msg_ring_fd_alloc.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_multishot_accept.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_multishot_accept_direct.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_nop128.3.md new file +37 -0
Lines of this file are not shown. View the raw message.
man/io_uring_prep_open_direct.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_openat.3 deleted +0 -138
138 lines not on this page · raw message
man/io_uring_prep_openat.3.md new file +78 -0
78 lines not on this page · raw message
man/io_uring_prep_openat2.3 deleted +0 -119
119 lines not on this page · raw message
man/io_uring_prep_openat2.3.md new file +66 -0
66 lines not on this page · raw message
man/io_uring_prep_openat2_direct.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_openat_direct.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_pipe.3 deleted +0 -91
91 lines not on this page · raw message
man/io_uring_prep_pipe.3.md new file +50 -0
50 lines not on this page · raw message
man/io_uring_prep_pipe_direct.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_poll_add.3 deleted +0 -72
72 lines not on this page · raw message
man/io_uring_prep_poll_add.3.md new file +46 -0
46 lines not on this page · raw message
man/io_uring_prep_poll_multishot.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_poll_remove.3 deleted +0 -55
55 lines not on this page · raw message
man/io_uring_prep_poll_remove.3.md new file +53 -0
53 lines not on this page · raw message
man/io_uring_prep_poll_update.3 deleted +0 -101
101 lines not on this page · raw message
man/io_uring_prep_poll_update.3.md new file +72 -0
72 lines not on this page · raw message
man/io_uring_prep_provide_buffers.3 deleted +0 -140
140 lines not on this page · raw message
man/io_uring_prep_provide_buffers.3.md new file +76 -0
76 lines not on this page · raw message
man/io_uring_prep_read.3 deleted +0 -76
76 lines not on this page · raw message
man/io_uring_prep_read.3.md new file +51 -0
51 lines not on this page · raw message
man/io_uring_prep_read_fixed.3 deleted +0 -79
79 lines not on this page · raw message
man/io_uring_prep_read_fixed.3.md new file +50 -0
50 lines not on this page · raw message
man/io_uring_prep_read_multishot.3 deleted +0 -107
107 lines not on this page · raw message
man/io_uring_prep_read_multishot.3.md new file +59 -0
59 lines not on this page · raw message
man/io_uring_prep_readv.3 deleted +0 -92
92 lines not on this page · raw message
man/io_uring_prep_readv.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_prep_readv2.3 deleted +0 -118
118 lines not on this page · raw message
man/io_uring_prep_readv2.3.md new file +77 -0
77 lines not on this page · raw message
man/io_uring_prep_readv_fixed.3 deleted +0 -74
74 lines not on this page · raw message
man/io_uring_prep_readv_fixed.3.md new file +53 -0
53 lines not on this page · raw message
man/io_uring_prep_recv.3 deleted +0 -147
147 lines not on this page · raw message
man/io_uring_prep_recv.3.md new file +67 -0
67 lines not on this page · raw message
man/io_uring_prep_recv_multishot.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_recvmsg.3 deleted +0 -130
130 lines not on this page · raw message
man/io_uring_prep_recvmsg.3.md new file +69 -0
69 lines not on this page · raw message
man/io_uring_prep_recvmsg_multishot.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_remove_buffers.3 deleted +0 -52
52 lines not on this page · raw message
man/io_uring_prep_remove_buffers.3.md new file +51 -0
51 lines not on this page · raw message
man/io_uring_prep_renameat.3 deleted +0 -95
95 lines not on this page · raw message
man/io_uring_prep_renameat.3.md new file +56 -0
56 lines not on this page · raw message
man/io_uring_prep_send.3 deleted +0 -197
197 lines not on this page · raw message
man/io_uring_prep_send.3.md new file +84 -0
84 lines not on this page · raw message
man/io_uring_prep_send_bundle.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_send_set_addr.3 deleted +0 -38
Lines of this file are not shown. View the raw message.
man/io_uring_prep_send_set_addr.3.md new file +35 -0
Lines of this file are not shown. View the raw message.
man/io_uring_prep_send_zc.3 deleted +0 -140
140 lines not on this page · raw message
man/io_uring_prep_send_zc.3.md new file +72 -0
72 lines not on this page · raw message
man/io_uring_prep_send_zc_fixed.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_sendmsg.3 deleted +0 -136
136 lines not on this page · raw message
man/io_uring_prep_sendmsg.3.md new file +71 -0
71 lines not on this page · raw message
man/io_uring_prep_sendmsg_zc_fixed.3 deleted +0 -69
69 lines not on this page · raw message
man/io_uring_prep_sendmsg_zc_fixed.3.md new file +51 -0
51 lines not on this page · raw message
man/io_uring_prep_setxattr.3 deleted +0 -64
64 lines not on this page · raw message
man/io_uring_prep_setxattr.3.md new file +49 -0
49 lines not on this page · raw message
man/io_uring_prep_shutdown.3 deleted +0 -53
53 lines not on this page · raw message
man/io_uring_prep_shutdown.3.md new file +42 -0
42 lines not on this page · raw message
man/io_uring_prep_socket.3 deleted +0 -118
118 lines not on this page · raw message
man/io_uring_prep_socket.3.md new file +65 -0
65 lines not on this page · raw message
man/io_uring_prep_socket_direct.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_socket_direct_alloc.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_splice.3 deleted +0 -126
126 lines not on this page · raw message
man/io_uring_prep_splice.3.md new file +62 -0
62 lines not on this page · raw message
man/io_uring_prep_statx.3 deleted +0 -74
74 lines not on this page · raw message
man/io_uring_prep_statx.3.md new file +52 -0
52 lines not on this page · raw message
man/io_uring_prep_symlinkat.3 deleted +0 -85
85 lines not on this page · raw message
man/io_uring_prep_symlinkat.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_prep_sync_file_range.3 deleted +0 -59
59 lines not on this page · raw message
man/io_uring_prep_sync_file_range.3.md new file +44 -0
44 lines not on this page · raw message
man/io_uring_prep_tee.3 deleted +0 -80
80 lines not on this page · raw message
man/io_uring_prep_tee.3.md new file +50 -0
50 lines not on this page · raw message
man/io_uring_prep_timeout.3 deleted +0 -121
121 lines not on this page · raw message
man/io_uring_prep_timeout.3.md new file +90 -0
90 lines not on this page · raw message
man/io_uring_prep_timeout_remove.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_prep_timeout_update.3 deleted +0 -85
85 lines not on this page · raw message
man/io_uring_prep_timeout_update.3.md new file +72 -0
72 lines not on this page · raw message
man/io_uring_prep_unlinkat.3 deleted +0 -82
82 lines not on this page · raw message
man/io_uring_prep_unlinkat.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_prep_uring_cmd.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_prep_uring_cmd128.3 deleted +0 -38
Lines of this file are not shown. View the raw message.
man/io_uring_prep_uring_cmd128.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_prep_waitid.3 deleted +0 -67
67 lines not on this page · raw message
man/io_uring_prep_waitid.3.md new file +47 -0
47 lines not on this page · raw message
man/io_uring_prep_write.3 deleted +0 -70
70 lines not on this page · raw message
man/io_uring_prep_write.3.md new file +51 -0
51 lines not on this page · raw message
man/io_uring_prep_write_fixed.3 deleted +0 -75
75 lines not on this page · raw message
man/io_uring_prep_write_fixed.3.md new file +50 -0
50 lines not on this page · raw message
man/io_uring_prep_writev.3 deleted +0 -89
89 lines not on this page · raw message
man/io_uring_prep_writev.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_prep_writev2.3 deleted +0 -115
115 lines not on this page · raw message
man/io_uring_prep_writev2.3.md new file +77 -0
77 lines not on this page · raw message
man/io_uring_prep_writev_fixed.3 deleted +0 -71
71 lines not on this page · raw message
man/io_uring_prep_writev_fixed.3.md new file +53 -0
53 lines not on this page · raw message
man/io_uring_provided_buffers.7 deleted +0 -266
266 lines not on this page · raw message
man/io_uring_provided_buffers.7.md new file +189 -0
189 lines not on this page · raw message
man/io_uring_queue_init.3 deleted +0 -144
144 lines not on this page · raw message
man/io_uring_queue_init.3.md new file +59 -0
59 lines not on this page · raw message
man/io_uring_queue_init_params.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_queue_mmap.3 deleted +0 -49
49 lines not on this page · raw message
man/io_uring_recvmsg_cmsg_firsthdr.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_recvmsg_cmsg_nexthdr.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_recvmsg_out.3 deleted +0 -82
82 lines not on this page · raw message
man/io_uring_recvmsg_out.3.md new file +72 -0
72 lines not on this page · raw message
man/io_uring_recvmsg_payload_length.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_recvmsg_validate.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register.2 deleted +0 -1375
1,375 lines not on this page · raw message
man/io_uring_register.2.md new file +553 -0
553 lines not on this page · raw message
man/io_uring_register_bpf_filter.3 deleted +0 -411
411 lines not on this page · raw message
man/io_uring_register_bpf_filter.3.md new file +267 -0
267 lines not on this page · raw message
man/io_uring_register_bpf_filter_task.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_buf_ring.3 deleted +0 -165
165 lines not on this page · raw message
man/io_uring_register_buf_ring.3.md new file +88 -0
88 lines not on this page · raw message
man/io_uring_register_buffers.3 deleted +0 -105
105 lines not on this page · raw message
man/io_uring_register_buffers.3.md new file +59 -0
59 lines not on this page · raw message
man/io_uring_register_buffers_sparse.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_buffers_tags.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_buffers_update_tag.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_clock.3 deleted +0 -72
72 lines not on this page · raw message
man/io_uring_register_clock.3.md new file +57 -0
57 lines not on this page · raw message
man/io_uring_register_eventfd.3 deleted +0 -50
50 lines not on this page · raw message
man/io_uring_register_eventfd.3.md new file +47 -0
47 lines not on this page · raw message
man/io_uring_register_eventfd_async.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_file_alloc_range.3 deleted +0 -52
52 lines not on this page · raw message
man/io_uring_register_file_alloc_range.3.md new file +40 -0
Lines of this file are not shown. View the raw message.
man/io_uring_register_files.3 deleted +0 -120
120 lines not on this page · raw message
man/io_uring_register_files.3.md new file +66 -0
66 lines not on this page · raw message
man/io_uring_register_files_sparse.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_files_tags.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_files_update.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_files_update_tag.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_register_ifq.3 deleted +0 -49
49 lines not on this page · raw message
man/io_uring_register_ifq.3.md new file +38 -0
Lines of this file are not shown. View the raw message.
man/io_uring_register_iowq_aff.3 deleted +0 -67
67 lines not on this page · raw message
man/io_uring_register_iowq_aff.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_register_iowq_max_workers.3 deleted +0 -71
71 lines not on this page · raw message
man/io_uring_register_iowq_max_workers.3.md new file +56 -0
56 lines not on this page · raw message
man/io_uring_register_napi.3.md new file +34 -0
Lines of this file are not shown. View the raw message.
man/io_uring_register_personality.3 deleted +0 -34
Lines of this file are not shown. View the raw message.
man/io_uring_register_personality.3.md new file +35 -0
Lines of this file are not shown. View the raw message.
man/io_uring_register_probe.3 deleted +0 -47
47 lines not on this page · raw message
man/io_uring_register_probe.3.md new file +39 -0
Lines of this file are not shown. View the raw message.
man/io_uring_register_query.3 deleted +0 -114
114 lines not on this page · raw message
man/io_uring_register_query.3.md new file +74 -0
74 lines not on this page · raw message
man/io_uring_register_region.3 deleted +0 -124
124 lines not on this page · raw message
man/io_uring_register_region.3.md new file +77 -0
77 lines not on this page · raw message
man/io_uring_register_restrictions.3 deleted +0 -53
53 lines not on this page · raw message
man/io_uring_register_restrictions.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_register_ring_fd.3 deleted +0 -51
51 lines not on this page · raw message
man/io_uring_register_ring_fd.3.md new file +45 -0
45 lines not on this page · raw message
man/io_uring_register_sync_cancel.3 deleted +0 -73
73 lines not on this page · raw message
man/io_uring_register_sync_cancel.3.md new file +50 -0
50 lines not on this page · raw message
man/io_uring_register_sync_msg.3 deleted +0 -74
74 lines not on this page · raw message
man/io_uring_register_sync_msg.3.md new file +43 -0
43 lines not on this page · raw message
man/io_uring_register_wait_reg.3 deleted +0 -45
45 lines not on this page · raw message
man/io_uring_register_wait_reg.3.md new file +39 -0
Lines of this file are not shown. View the raw message.
man/io_uring_register_zcrx_ctrl.3 deleted +0 -84
84 lines not on this page · raw message
man/io_uring_register_zcrx_ctrl.3.md new file +62 -0
62 lines not on this page · raw message
man/io_uring_registered_buffers.7 deleted +0 -238
238 lines not on this page · raw message
man/io_uring_registered_buffers.7.md new file +147 -0
147 lines not on this page · raw message
man/io_uring_registered_files.7 deleted +0 -228
228 lines not on this page · raw message
man/io_uring_registered_files.7.md new file +149 -0
149 lines not on this page · raw message
man/io_uring_resize_rings.3 deleted +0 -116
116 lines not on this page · raw message
man/io_uring_resize_rings.3.md new file +82 -0
82 lines not on this page · raw message
man/io_uring_ring_dontfork.3.md new file +35 -0
Lines of this file are not shown. View the raw message.
man/io_uring_set_iowait.3 deleted +0 -57
57 lines not on this page · raw message
man/io_uring_set_iowait.3.md new file +43 -0
43 lines not on this page · raw message
man/io_uring_setup.2 deleted +0 -820
820 lines not on this page · raw message
man/io_uring_setup.2.md new file +334 -0
334 lines not on this page · raw message
man/io_uring_setup_buf_ring.3 deleted +0 -94
94 lines not on this page · raw message
man/io_uring_setup_buf_ring.3.md new file +56 -0
56 lines not on this page · raw message
man/io_uring_setup_flags.7 deleted +0 -451
451 lines not on this page · raw message
man/io_uring_setup_flags.7.md new file +236 -0
236 lines not on this page · raw message
man/io_uring_sq_space_left.3.md new file +33 -0
Lines of this file are not shown. View the raw message.
man/io_uring_sqe_set_buf_group.3 deleted +0 -32
Lines of this file are not shown. View the raw message.
man/io_uring_sqe_set_buf_group.3.md new file +36 -0
Lines of this file are not shown. View the raw message.
man/io_uring_sqe_set_data.3 deleted +0 -57
57 lines not on this page · raw message
man/io_uring_sqe_set_data.3.md new file +43 -0
43 lines not on this page · raw message
man/io_uring_sqe_set_flags.3 deleted +0 -87
87 lines not on this page · raw message
man/io_uring_sqe_set_flags.3.md new file +64 -0
64 lines not on this page · raw message
man/io_uring_sqpoll.7 deleted +0 -259
259 lines not on this page · raw message
man/io_uring_sqpoll.7.md new file +173 -0
173 lines not on this page · raw message
man/io_uring_sqring_wait.3.md new file +35 -0
Lines of this file are not shown. View the raw message.
man/io_uring_submit.3 deleted +0 -51
51 lines not on this page · raw message
man/io_uring_submit_and_get_events.3 deleted +0 -31
Lines of this file are not shown. View the raw message.
man/io_uring_submit_and_get_events.3.md new file +34 -0
Lines of this file are not shown. View the raw message.
man/io_uring_submit_and_wait.3 deleted +0 -44
44 lines not on this page · raw message
man/io_uring_submit_and_wait.3.md new file +38 -0
Lines of this file are not shown. View the raw message.
man/io_uring_submit_and_wait_min_timeout.3 deleted +0 -119
119 lines not on this page · raw message
man/io_uring_submit_and_wait_min_timeout.3.md new file +54 -0
54 lines not on this page · raw message
man/io_uring_submit_and_wait_reg.3 deleted +0 -64
64 lines not on this page · raw message
man/io_uring_submit_and_wait_reg.3.md new file +42 -0
42 lines not on this page · raw message
man/io_uring_submit_and_wait_timeout.3 deleted +0 -74
74 lines not on this page · raw message
man/io_uring_submit_and_wait_timeout.3.md new file +49 -0
49 lines not on this page · raw message
man/io_uring_unregister_buf_ring.3 deleted +0 -30
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_buf_ring.3.md new file +35 -0
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_buffers.3 deleted +0 -27
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_buffers.3.md new file +33 -0
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_eventfd.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_files.3 deleted +0 -27
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_files.3.md new file +33 -0
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_iowq_aff.3 deleted +0 -1
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_napi.3 deleted +0 -27
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_napi.3.md new file +30 -0
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_personality.3 deleted +0 -33
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_personality.3.md new file +35 -0
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_ring_fd.3 deleted +0 -32
Lines of this file are not shown. View the raw message.
man/io_uring_unregister_ring_fd.3.md new file +35 -0
Lines of this file are not shown. View the raw message.
man/io_uring_wait_cqe.3 deleted +0 -41
41 lines not on this page · raw message
man/io_uring_wait_cqe_nr.3 deleted +0 -49
49 lines not on this page · raw message
man/io_uring_wait_cqe_nr.3.md new file +39 -0
Lines of this file are not shown. View the raw message.
man/io_uring_wait_cqe_timeout.3 deleted +0 -62
62 lines not on this page · raw message
man/io_uring_wait_cqe_timeout.3.md new file +41 -0
41 lines not on this page · raw message
man/io_uring_wait_cqes.3 deleted +0 -82
82 lines not on this page · raw message
man/io_uring_wait_cqes.3.md new file +51 -0
51 lines not on this page · raw message
man/io_uring_wait_cqes_min_timeout.3 deleted +0 -76
76 lines not on this page · raw message
man/io_uring_wait_cqes_min_timeout.3.md new file +50 -0
50 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.54.0
Part of the diff is not shown here. View the raw message.
Quoted 4 lines · Gabriel Krisman Bertazi
This has been discussed for a while due to the ongoing pain of writing groff. Now that we just had a release, convert the manpages to markdown and add infrastructure to generate back the groff automatically during compilation.
Wow, big changes:
399 files changed, 11719 insertions(+), 18975 deletions(-)
Yeah, I agree that writing in GNU roff is more painful than writing in markdown. Interesting patch.
Can we also word-wrap the markdown files? It's easier to read them in raw if they're word-wrapped as well.
Signature · 1 line
Ammar Faizi
Quoted 6 lines · Ammar Faizi
Quoted 4 lines · Gabriel Krisman Bertazi
This has been discussed for a while due to the ongoing pain of writing groff. Now that we just had a release, convert the manpages to markdown and add infrastructure to generate back the groff automatically during compilation.
Quoted 6 lines
Wow, big changes:
399 files changed, 11719 insertions(+), 18975 deletions(-)Yeah, I agree that writing in GNU roff is more painful than writing in markdown. Interesting patch.
Yeah, this is gonna be shitty to review. The conversion was done mostly automatically though, you can review Makefile for that.
I'll split it up into manageable chunks.
Quoted 3 lines
Can we also word-wrap the markdown files? It's easier to read them in raw if they're word-wrapped as well.
Let me see if I can get the right pandoc incantation.
Signature · 1 line
Gabriel Krisman Bertazi