Add missing SIG_DFL and SIG_IGN constants

This commit is contained in:
jD91mZM2
2019-07-25 17:34:59 +02:00
parent 25e67b9f58
commit cb63dec86f
3 changed files with 47 additions and 36 deletions
+3 -1
View File
@@ -21,7 +21,9 @@ pub mod sys;
type SigSet = BitSet<[c_ulong; 1]>;
const SIG_ERR: usize = !0;
pub const SIG_DFL: usize = 0;
pub const SIG_IGN: usize = 1;
pub const SIG_ERR: usize = !0;
pub const SIG_BLOCK: c_int = 0;
pub const SIG_UNBLOCK: c_int = 1;