Zig 0.17.0-dev (Split by item)

Shortcut keys
?
Show these tips
S
Focus search field
Esc
Clear focus & close tips
U
Jump to source code
↑
Move up in search results
↓
Move down in search results
↵
Go to active search result
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

sigrtmax

Public Function
std.c.sigrt_private.sigrtmax
pub fn sigrtmax() u8

File

c.zig:10600
10600
10601
10602
10603
10604
10605
10606
10607
10608
    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()))),
        };
    }