Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the difference between SIGCLD and SIGCHLD signals?

Tags:

unix

signals

I want to know what is the basic difference between SIGCLD and SIGCHLD signals? Are these just different names for the same signal on different architectures?

like image 565
Pranay Avatar asked Jan 10 '23 18:01

Pranay


1 Answers

Today, it's an alias, the exact system signal. Fact is, SIGCLD was the System V name for the today, SIGCHLD.

Historically, SIGCHLD originated on BSD and was the name adopted by POSIX. Based on System V SIGCLD the only differences happens when the signal is set to SIG_IGN:

BSD would generate zombies, System-V wouldn't.

like image 114
superjedi Avatar answered Feb 05 '23 19:02

superjedi