📄 kill.2
字号:
.TH KILL 2 .SH NAMEkill \- send signal to a process.SH SYNOPSIS.B kill(pid, sig);.SH DESCRIPTION.I Killsends the signal.I sigto the process specified by theprocess number in r0.See.IR signal (2)for a list of signals..PPThe sending and receiving processes musthave the same effective user ID, otherwisethis call is restricted to the super-user..PPIf the process number is 0,the signal is sent to all other processes in thesender's process group;see.IR tty (4)..PPIf the process number is \-1, and the user is the super-user,the signal is broadcast universallyexcept to processes 0 and 1, the schedulerand initialization processes,see.IR init (8)..PPProcesses may send signals to themselves..SH "SEE ALSO"signal(2), kill(1).SH DIAGNOSTICSZero is returned if the process is killed;\-1 is returned if the process does nothave the same effective user ID and theuser is not super-user, or if the processdoes not exist..SH ASSEMBLER(kill = 37.).br(process number in r0).br.B sys kill; sig
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -