Opentopia Directory Encyclopedia Tools

SIGCHLD

Encyclopedia : S : SI : SIG : SIGCHLD


On POSIX compliant platforms, SIGCHLD is the symbolic name for the signal thrown by computer programs when a child process terminates. SIGCHLD is a symbolic constant defined in signal.h. Symbolic signal names are used as signal numbers can vary across platforms.

On Linux, SIGCLD is a synonym for SIGCHLD.

Etymology

SIG- is a common prefix for signal names. CHLD and CLD are abbreviated forms of child.

Usage

In UNIX, a process can have children, created by fork or similar system calls. The parent, if available, is notified of the termination of the child process via a SIGCHLD signal. The parent does not need to register for it via the signal system call as it gets this signal by default. This signal can be ignored by the parent if needed.

POSIX Signals
SIGABRT | SIGALRM | SIGFPE | SIGHUP | SIGILL | SIGINT | SIGKILL | SIGPIPE | SIGQUIT | SIGSEGV | SIGTERM | SIGUSR1 | SIGUSR2 | SIGCHLD | SIGCONT | SIGSTOP | SIGTSTP | SIGTTIN | SIGTTOU | SIGBUS | SIGPOLL | SIGPROF | SIGSYS | SIGTRAP | SIGURG | SIGVTALRM | SIGXCPU | SIGXFSZ | Realtime Signals are user definable—SIGRTMIN+n through SIGRTMAX.
Common non-POSIX signals and synonyms
SIGIOT | SIGEMT | SIGSTKFLT | SIGIO | SIGCLD | SIGPWR (SIGINFO) | SIGLOST | SIGWINCH | SIGUNUSED

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: