Hello,
I am writing a shell in C.
I need to intercept Signals like CTRL+C or CTRL+D
and set to ignore them. This is on Unix, using gcc.
my goal is to avoid users escaping the shell with SIGINT
SIGQUIT signals using keyboard input.
Anyone could give me a little hint ?
thanks
Rick
I am writing a shell in C.
I need to intercept Signals like CTRL+C or CTRL+D
and set to ignore them. This is on Unix, using gcc.
my goal is to avoid users escaping the shell with SIGINT
SIGQUIT signals using keyboard input.
Anyone could give me a little hint ?
thanks
Rick
Comment