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.

use_kernel_timespec

linux.use_kernel_timespec
const use_kernel_timespec = native_arch == .hexagon or native_arch == .riscv32 or switch (native_abi)

File

lib/std/os/linux.zig:9463

Code

const use_kernel_timespec = native_arch == .hexagon or native_arch == .riscv32 or switch (native_abi) {
    .gnux32, .muslx32, .x32 => true,
    else => false,
}