This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig standard library. Public Function
Registers a shared buffer ring to be used with provided buffers. entries number of io_uring_buf structures is mem mapped and shared by kernel. fd is IO_Uring.fd for which the provided buffer ring is being registered. entries is the number of entries requested in the buffer ring, must be power of 2. group_id is the chosen buffer group ID, unique in IO_Uring.
Registers a shared buffer ring to be used with provided buffers.
entriesnumber ofio_uring_bufstructures is mem mapped and shared by kernel.fdis IO_Uring.fd for which the provided buffer ring is being registered.entriesis the number of entries requested in the buffer ring, must be power of 2.group_idis the chosen buffer group ID, unique in IO_Uring.