mirror of
https://github.com/ziglang/zig.git
synced 2025-12-07 14:53:08 +00:00
darwin: drop underscore from SIG._{BLOCK,UNBLOCK,SETMASK}
this makes them match decls in other OSes
This commit is contained in:
parent
b5a471db3c
commit
972e70b794
@ -1181,11 +1181,11 @@ pub const SIG = struct {
|
|||||||
pub const HOLD = @as(?Sigaction.handler_fn, @ptrFromInt(5));
|
pub const HOLD = @as(?Sigaction.handler_fn, @ptrFromInt(5));
|
||||||
|
|
||||||
/// block specified signal set
|
/// block specified signal set
|
||||||
pub const _BLOCK = 1;
|
pub const BLOCK = 1;
|
||||||
/// unblock specified signal set
|
/// unblock specified signal set
|
||||||
pub const _UNBLOCK = 2;
|
pub const UNBLOCK = 2;
|
||||||
/// set specified signal set
|
/// set specified signal set
|
||||||
pub const _SETMASK = 3;
|
pub const SETMASK = 3;
|
||||||
/// hangup
|
/// hangup
|
||||||
pub const HUP = 1;
|
pub const HUP = 1;
|
||||||
/// interrupt
|
/// interrupt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user