⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 kill.2

📁 UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱昂氏unix源代码分析都是用的该版
💻 2
字号:
.th KILL II 12/15/74.sh NAMEkill  \*-  send signal to a process.sh SYNOPSIS(kill = 37.; not in assembler).br(process number in r0).br.ft Bsys kill; sig.s3kill(pid, sig);.ft R.sh DESCRIPTION.it Killsends the signal.it sigto the process specified by theprocess number in r0.See signal (II) for a list of signals..s3The sending and receiving processes musthave the same effective user ID, otherwisethis call is restricted to the super-user..s3If the process number is 0,the signal is sent to all other processes which have thesame controlling typewriter and user ID..s3In no case is it possible for a process to kill itself..sh "SEE ALSO"signal (II), kill (I).sh DIAGNOSTICSThe error bit (c-bit)is set if the process does nothave the same effective user ID and theuser is not super-user, or if the processdoes not exist.From C, \-1 is returned.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -