signal.rst
changeset 2230 9e6ad6607a9e
parent 2228 837f1337c59b
child 2384 39bedf1e6b4e
equal deleted inserted replaced
2229:1a0b6597e594 2230:9e6ad6607a9e
   219 SIGCHLD 20
   219 SIGCHLD 20
   220 ----------
   220 ----------
   221 
   221 
   222 To parent on child stop or exit. Type: notification.
   222 To parent on child stop or exit. Type: notification.
   223 
   223 
   224 By default the signal is simply ignored. In C:
   224 By default the signal is simply ignored. In C::
   225 
   225 
   226   signal(SIGCHLD, SIG_IGN);
   226   signal(SIGCHLD, SIG_IGN);
   227 
   227 
   228 Parent can invoke wait(1) otherwise children stay zombie.
   228 Parent can invoke wait(1) otherwise children stay zombie.
   229 
   229