Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\signal.c Create Date:2022-07-28 09:16:23
Last Modify:2020-03-17 13:28:47 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kill_pgrp

Proto:int kill_pgrp(struct pid *pid, int sig, int priv)

Type:int

Parameter:

TypeParameterName
struct pid *pid
intsig
intpriv
1783  read_lock( & tasklist_lock)
1784  ret = __kill_pgrp_info() sends a signal to a process group: this is what the tty* control characters do (^C, ^Z etc)* - the caller must hold at least a readlock on tasklist_lock
1785  read_unlock( & tasklist_lock)
1787  Return ret