mirror of
https://github.com/ziglang/zig.git
synced 2026-02-17 06:49:23 +00:00
std.os.sigprocmask: @bitCast flags parameter
This commit is contained in:
parent
6bc9c4f716
commit
a7707d8279
@ -5620,7 +5620,7 @@ pub fn sigaction(sig: u6, noalias act: ?*const Sigaction, noalias oact: ?*Sigact
|
||||
|
||||
/// Sets the thread signal mask.
|
||||
pub fn sigprocmask(flags: u32, noalias set: ?*const sigset_t, noalias oldset: ?*sigset_t) void {
|
||||
switch (errno(system.sigprocmask(flags, set, oldset))) {
|
||||
switch (errno(system.sigprocmask(@bitCast(flags), set, oldset))) {
|
||||
.SUCCESS => return,
|
||||
.FAULT => unreachable,
|
||||
.INVAL => unreachable,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user