小编yua*_*eng的帖子

当按下 ctrl+c、tty 驱动程序或 shell 时,谁将 SIGINT 发送到前台进程

当我在登录 shell 执行命令时按 ctrl+c 时,前台进程被杀死。
谁发出信号?

TTY 驱动程序是否直接将 SIGINT 发送到前台进程组?
或者 TTY 驱动程序是否将 SIGINT 发送到 shell,然后 shell 将信号重定向到前台进程组?

linux bash signals linux-kernel sigint

2
推荐指数
1
解决办法
227
查看次数

标签 统计

bash ×1

linux ×1

linux-kernel ×1

sigint ×1

signals ×1