intSIGTTOU
-
This is similar to
SIGTTIN ,but is generated when a process in a background job attempts to write to the terminal or set its modes. Again,the default action is to stop the process.SIGTTOU is only generated for an attempt to write to the terminal if theTOSTOP output mode is set; see section.
SIGKILLsignals and (obviously)SIGCONT signals. The signals are marked as pending,but not delivered until the process is continued. TheSIGKILL signal always causes termination of the process and can't be blocked,handled or ignored. You can ignoreSIGCONT ,but it always causes the process to be continued anyway if it is stopped. Sending aSIGCONT signal to a process causes any pending stop signals for that process to be discarded. Likewise,any pendingSIGCONT signals for a process are discarded when it receives a stop signal.
SIGTSTP,SIGTTIN ,orSIGTTOU signal and does not handle it,the process does not stop. Stopping the process would probably not be very useful,since there is no shell program that will notice it stop and allow the user to continue it. What happens instead depends on the operating system you are using. Some systems may do nothing; others may deliver another signal instead,such asSIGKILL orSIGHUP . In the GNU system,the process dies withSIGKILL ; this avoids the problem of many stopped,orphaned processes lying around the system.
intSIGPIPE
-
Broken pipe. If you use pipes or FIFOs,you have to design your application so that one process opens the pipe for reading before another starts writing. If the reading process never starts,or terminates unexpectedly,writing to the pipe or FIFO raises a
SIGPIPE signal. IfSIGPIPE is blocked,handled or ignored,the offending call fails withEPIPE instead.
Pipes and FIFO special files are discussed in more detail in section.
Another cause ofSIGPIPE is when you try to output to a socket that isn't connected. See section.
intSIGLOST
-
Resource lost. This signal is generated when you have an advisory lock on an NFS file,and the NFS server reboots and forgets about your lock.
(编辑:威海站长网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|