I'm trying to implement ctrl+C in my Rust shell (I want to TERM a child in foreground), so I need my main thread to ignore SIGINT. How I can do this? In C we use SIG_IGN and group pid, but in Rust i have no idea how to do that.
Asked
Active
Viewed 22 times
0
mello_
- 21
- 3
-
I will take a look and try to understand how to use it. Thank you. – mello_ Dec 13 '21 at 19:47