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.

__atomic_fetch_sub_1

atomics.__atomic_fetch_sub_1
fn __atomic_fetch_sub_1(ptr: *u8, val: u8, model: i32) callconv(.c) u8

File

lib/compiler_rt/atomics.zig:397

Code

fn __atomic_fetch_sub_1(ptr: *u8, val: u8, model: i32) callconv(.c) u8 {
    return fetch_op_N(u8, .Sub, ptr, val, model);
}