Zig 0.17.0-dev (Split by item)

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 library itself.

cq_ring_needs_flush

Matches the implementation of cq_ring_needs_flush() in liburing.

IoUring.cq_ring_needs_flush
pub fn cq_ring_needs_flush(self: *IoUring) bool

File

lib/std/os/linux/IoUring.zig:319

Code

pub fn cq_ring_needs_flush(self: *IoUring) bool {
    return (@atomicLoad(u32, self.sq.flags, .unordered) & linux.IORING_SQ_CQ_OVERFLOW) != 0;
}