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 standard library.
std › c › sigrt_private Private Namespace sigrt_private Doc Source Private Namespace std.c.sigrt_private
const sigrt_private = struct Functions File c.zig: 10589
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609 const sigrt_private = struct {
pub fn sigrtmin () u8 {
return switch (native_os ) {
.freebsd => 65 ,
.netbsd => 33 ,
.illumos => @truncate (sysconf (@backingInt (_SC .SIGRT_MIN ))),
.haiku => @truncate (@as (c_uint , @bitCast (private .__signal_get_sigrtmin ()))),
else => @truncate (@as (c_uint , @bitCast (private .__libc_current_sigrtmin ()))),
};
}
pub fn sigrtmax () u8 {
return switch (native_os ) {
.freebsd => 126 ,
.netbsd => 63 ,
.illumos => @truncate (sysconf (@backingInt (_SC .SIGRT_MAX ))),
.haiku => @truncate (@as (c_uint , @bitCast (private .__signal_get_sigrtmax ()))),
else => @truncate (@as (c_uint , @bitCast (private .__libc_current_sigrtmax ()))),
};
}
}