Function sigaddset [src]
Alias for std.c.darwin.sigaddset
Prototype
pub fn sigaddset(set: *sigset_t, signo: u5) void
Parameters
set: *sigset_t
signo: u5
Source
pub fn sigaddset(set: *sigset_t, signo: u5) void {
set.* |= @as(u32, 1) << (signo - 1);
}