Skip to content

Commit c3dab47

Browse files
committed
Add missing Signal related consts
1 parent 317391c commit c3dab47

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

src/vxworks/mod.rs

+23
Original file line numberDiff line numberDiff line change
@@ -978,11 +978,34 @@ pub const SIGCONT: c_int = 19;
978978
pub const SIGCHLD: c_int = 20;
979979
pub const SIGTTIN: c_int = 21;
980980
pub const SIGTTOU: c_int = 22;
981+
pub const SIGUSR1: c_int = 30;
982+
pub const SIGUSR2: c_int = 31;
983+
pub const SIGPOLL: c_int = 32;
984+
pub const SIGPROF: c_int = 33;
985+
pub const SIGSYS: c_int = 34;
986+
pub const SIGURG: c_int = 35;
987+
pub const SIGVTALRM: c_int = 36;
988+
pub const SIGXCPU: c_int = 37;
989+
pub const SIGXFSZ: c_int = 38;
990+
pub const SIGRTMIN: c_int = 48;
991+
992+
pub const SIGIO: c_int = SIGRTMIN;
993+
pub const SIGWINCH: c_int = SIGRTMIN + 5;
994+
pub const SIGLOST: c_int = SIGRTMIN + 6;
981995

982996
pub const SIG_BLOCK: c_int = 1;
983997
pub const SIG_UNBLOCK: c_int = 2;
984998
pub const SIG_SETMASK: c_int = 3;
985999

1000+
pub const SA_NOCLDSTOP: c_int = 0x0001;
1001+
pub const SA_SIGINFO: c_int = 0x0002;
1002+
pub const SA_ONSTACK: c_int = 0x0004;
1003+
pub const SA_INTERRUPT: c_int = 0x0008;
1004+
pub const SA_RESETHAND: c_int = 0x0010;
1005+
pub const SA_RESTART: c_int = 0x0020;
1006+
pub const SA_NODEFER: c_int = 0x0040;
1007+
pub const SA_NOCLDWAIT: c_int = 0x0080;
1008+
9861009
pub const SI_SYNC: c_int = 0;
9871010
pub const SI_USER: c_int = -1;
9881011
pub const SI_QUEUE: c_int = -2;

0 commit comments

Comments
 (0)