The default action for this signal is to ignore it. If you establish a handler for this signal while there are child processes that have terminated but not reported their status viawait orwaitpid (see section),whether your new handler applies to those processes or not depends on the particular operating system.
intSIGCLD
-
This is an obsolete name for
SIGCHLD .
intSIGCONT
-
You can send a
SIGCONT signal to a process to make it continue. This signal is special--it always makes the process continue if it is stopped,before the signal is delivered. The default behavior is to do nothing else. You cannot block this signal. You can set a handler,butSIGCONT always makes the process continue regardless.
Most programs have no reason to handleSIGCONT ; they simply resume execution without realizing they were ever stopped. You can use a handler forSIGCONT to make a program do something special when it is stopped and continued--for example,to reprint a prompt when it is suspended while waiting for input.
intSIGSTOP
-
The
SIGSTOP signal stops the process. It cannot be handled,ignored,or blocked.
intSIGTSTP
-
The
SIGTSTP signal is an interactive stop signal. UnlikeSIGSTOP ,this signal can be handled and ignored.
Your program should handle this signal if you have a special need to leave files or system tables in a secure state when a process is stopped. For example,programs that turn off echoing should handleSIGTSTP so they can turn echoing back on before stopping.
This signal is generated when the user types the SUSP character (normallyC-z). For more information about terminal driver support,see section.
intSIGTTIN
-
A process cannot read from the the user's terminal while it is running as a background job. When any process in a background job tries to read from the terminal,all of the processes in the job are sent a
SIGTTIN signal. The default action for this signal is to stop the process. For more information about how this interacts with the terminal driver,see section.
(编辑:ASP站长)
【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。
|