Flesh out the SIG* constants: this adds all the posix signal

value constants, except for those that have different values
on different architectures.

The output of the command `man 7 signal` was used to
compile these signal values.
This commit is contained in:
gareth 2013-04-14 14:08:22 +01:00
parent e2d5cebe32
commit 6994340ca0

View File

@ -863,10 +863,20 @@ pub mod posix88 {
pub static F_TEST : int = 3;
pub static F_TLOCK : int = 2;
pub static F_ULOCK : int = 0;
pub static SIGHUP : int = 1;
pub static SIGINT : int = 2;
pub static SIGQUIT : int = 3;
pub static SIGILL : int = 4;
pub static SIGABRT : int = 6;
pub static SIGFPE : int = 8;
pub static SIGKILL : int = 9;
pub static SIGSEGV : int = 11;
pub static SIGPIPE : int = 13;
pub static SIGALRM : int = 14;
pub static SIGTERM : int = 15;
}
pub mod posix01 {
pub static SIGTRAP : int = 5;
}
pub mod posix08 {
}
@ -932,10 +942,20 @@ pub mod posix88 {
pub static F_TEST : int = 3;
pub static F_TLOCK : int = 2;
pub static F_ULOCK : int = 0;
pub static SIGHUP : int = 1;
pub static SIGINT : int = 2;
pub static SIGQUIT : int = 3;
pub static SIGILL : int = 4;
pub static SIGABRT : int = 6;
pub static SIGFPE : int = 8;
pub static SIGKILL : int = 9;
pub static SIGSEGV : int = 11;
pub static SIGPIPE : int = 13;
pub static SIGALRM : int = 14;
pub static SIGTERM : int = 15;
}
pub mod posix01 {
pub static SIGTRAP : int = 5;
}
pub mod posix08 {
}
@ -1002,10 +1022,20 @@ pub mod posix88 {
pub static F_TEST : int = 3;
pub static F_TLOCK : int = 2;
pub static F_ULOCK : int = 0;
pub static SIGHUP : int = 1;
pub static SIGINT : int = 2;
pub static SIGQUIT : int = 3;
pub static SIGILL : int = 4;
pub static SIGABRT : int = 6;
pub static SIGFPE : int = 8;
pub static SIGKILL : int = 9;
pub static SIGSEGV : int = 11;
pub static SIGPIPE : int = 13;
pub static SIGALRM : int = 14;
pub static SIGTERM : int = 15;
}
pub mod posix01 {
pub static SIGTRAP : int = 5;
}
pub mod posix08 {
}