fix little bug on SIGDEF

This commit is contained in:
Yu Chen 2022-04-26 17:18:41 +08:00
parent ad28f5f627
commit 6a6dd5e948

View File

@ -156,7 +156,7 @@ impl Default for SignalAction {
} }
} }
pub const SIGDEF :i32 = 1; // Default signal handling pub const SIGDEF :i32 = 0; // Default signal handling
pub const SIGHUP :i32 = 1; pub const SIGHUP :i32 = 1;
pub const SIGINT :i32 = 2; pub const SIGINT :i32 = 2;
pub const SIGQUIT :i32 = 3; pub const SIGQUIT :i32 = 3;