加入收藏 | 设为首页 | 会员中心 | 我要投稿 网站开发网_马鞍山站长网 (https://www.0555zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长百科 > 正文

Signal Handling--ref

发布时间:2021-01-26 04:16:31 所属栏目:站长百科 来源:网络整理
导读:副标题#e# A program error such as dividing by zero or issuing an address outside the valid range. A user request to interrupt or terminate the program. Most environments are set up to let a user suspend the program by typing C-z ,or termi

intSIGTSTP
TheSIGTSTPsignal 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 handleSIGTSTPso 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 aSIGTTINsignal. The default action for this signal is to stop the process. For more information about how this interacts with the terminal driver,see section.

(编辑:网站开发网_马鞍山站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!