![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Who sent the process SIGCHLD ? | Puntino | UNIX for Dummies Questions & Answers | 1 | 06-06-2008 01:43 PM |
| adv reqd on SIGCHLD on accept call | stevenjagan | High Level Programming | 5 | 07-28-2006 04:24 AM |
| When is SIGCHLD is raised. | supersumanth | High Level Programming | 4 | 10-21-2005 09:45 AM |
| signal handler for SIGCHLD | jens | High Level Programming | 3 | 07-02-2005 09:05 AM |
| Need help with SIGCHLD | Unlimited Sky | High Level Programming | 1 | 02-21-2005 11:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
About SIGCHLD
When the SIGCHLD is sent?
SIGCHLD is sent either a child exits spontaneously (e.g. exit(0)) or it is killed ? thank you in advance |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
On POSIX-compliant platforms, SIGCHLD is the signal sent by computer programs when a child process terminates. The symbolic constant for SIGCHLD is defined in the header file signal.h. Symbolic signal names are used because signal numbers can vary across platforms.
cheers gnom |
|
#3
|
||||
|
||||
|
A process must install a signal handler to receive the signal at all. By default, the signal is not sent. If the signal is being caught, it will be delivered whenever a child process changes status. By "status" we mean any of the status values returned by wait(). This includes a process that has exited due to explicitly calling exit() or being killed by the kernel. It also includes processes that stop or continue. This latter behavior is used by job control shells and by debuggers.
|
|
#4
|
|||
|
|||
|
Thank you both
|
|||
| Google The UNIX and Linux Forums |