sunfishcode / mustang

Rust programs written entirely in Rust
Other
849 stars 24 forks source link

Custom signal handlers #199

Closed sunfishcode closed 1 year ago

sunfishcode commented 1 year ago

Mustang now has a minimal sigaction implementation which is enough for SIG_IGN and SIG_DFL handlers, but doesn't yet work for user callback functions.

User callback functions will require figuring out the sigreturn mechanism and signal masks.