Fix definition of SIG_ERR

This commit is contained in:
Jeremy Soller
2019-07-25 21:27:41 -06:00
parent cb63dec86f
commit f467791b12
+1 -1
View File
@@ -23,7 +23,7 @@ type SigSet = BitSet<[c_ulong; 1]>;
pub const SIG_DFL: usize = 0;
pub const SIG_IGN: usize = 1;
pub const SIG_ERR: usize = !0;
pub const SIG_ERR: isize = -1;
pub const SIG_BLOCK: c_int = 0;
pub const SIG_UNBLOCK: c_int = 1;