Skip to content

Commit 02741e0

Browse files
hax0kartiktgross35
authored andcommitted
Add missing Signal related consts
(backport <rust-lang#4352>) (cherry picked from commit c3dab47)
1 parent e8a4bdf commit 02741e0

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/vxworks/mod.rs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -967,11 +967,34 @@ pub const SIGCONT: c_int = 19;
967967
pub const SIGCHLD: c_int = 20;
968968
pub const SIGTTIN: c_int = 21;
969969
pub const SIGTTOU: c_int = 22;
970+
pub const SIGUSR1: c_int = 30;
971+
pub const SIGUSR2: c_int = 31;
972+
pub const SIGPOLL: c_int = 32;
973+
pub const SIGPROF: c_int = 33;
974+
pub const SIGSYS: c_int = 34;
975+
pub const SIGURG: c_int = 35;
976+
pub const SIGVTALRM: c_int = 36;
977+
pub const SIGXCPU: c_int = 37;
978+
pub const SIGXFSZ: c_int = 38;
979+
pub const SIGRTMIN: c_int = 48;
980+
981+
pub const SIGIO: c_int = SIGRTMIN;
982+
pub const SIGWINCH: c_int = SIGRTMIN + 5;
983+
pub const SIGLOST: c_int = SIGRTMIN + 6;
970984

971985
pub const SIG_BLOCK: c_int = 1;
972986
pub const SIG_UNBLOCK: c_int = 2;
973987
pub const SIG_SETMASK: c_int = 3;
974988

989+
pub const SA_NOCLDSTOP: c_int = 0x0001;
990+
pub const SA_SIGINFO: c_int = 0x0002;
991+
pub const SA_ONSTACK: c_int = 0x0004;
992+
pub const SA_INTERRUPT: c_int = 0x0008;
993+
pub const SA_RESETHAND: c_int = 0x0010;
994+
pub const SA_RESTART: c_int = 0x0020;
995+
pub const SA_NODEFER: c_int = 0x0040;
996+
pub const SA_NOCLDWAIT: c_int = 0x0080;
997+
975998
pub const SI_SYNC: c_int = 0;
976999
pub const SI_USER: c_int = -1;
9771000
pub const SI_QUEUE: c_int = -2;

0 commit comments

Comments
 (0)