0

I am trying to find this in mans but could spot the right man or the right paragraph.

2

1 Answer 1

2

Will SIGINT and SIGSTOP pause child processes ? No, default action of SIGINT is to terminate the process not the pause. While SIGSTOP suspends the process & it can be resumes later by SIGCONT.

From the manual page of signal

Signal Standard Action Comment ──────────────────────────────────────────────────────── SIGINT P1990 Term Interrupt from keyboard SIGSTOP P1990 Stop Stop process 

when you send SIGINT to a process via kill() or by keyboard interrupt, it terminates the process.

However you can modify the default action of certain signals using sigaction except SIGKILL and SIGSTOP as pointed in man page

The signals SIGKILL and SIGSTOP cannot be caught, blocked, or ignored.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.