sys_tkill(9)
π sys_tkill(9) β Kernel API Manual β¨
okay bestie, weβre in the kernel API manual and this page is sys_tkill(9) β manual name right in the title, weβre being efficient today. π«Ά
π NAME π
sys_tkill β send signal to one specific task. Thatβs it, thatβs the name. π
πΈ SYNOPSIS πΈ
Hereβs the signature, typed exactly because we do not play with function signatures in this house:
long sys_tkill (pid_t pid , int sig );
π¦ ARGUMENTS π¦
pidβ the PID of the task πsigβ signal to be sent π¨
β¨ DESCRIPTION β¨
Okay so the tea is: sys_tkill sends a signal to only one task, even if itβs a CLONE_THREAD task. Not a whole group broadcast, not a thread-family situation β just the one specific task. Slay. π
π SEE ALSO π
Kernel file: ./kernel/signal.c β lowkey the source file holding this whole crew. π«
task_set_jobctl_pending(9)task_clear_jobctl_trapping(9)task_clear_jobctl_pending(9)task_participate_group_stop(9)ptrace_trap_notify(9)force_sig_seccomp(9)do_notify_parent_cldstop(9)do_signal_stop(9)do_jobctl_trap(9)do_freezer_trap(9)signal_delivered(9)sys_restart_syscall(9)set_current_blocked(9)sys_rt_sigprocmask(9)sys_rt_sigpending(9)copy_siginfo_to_external32(9)do_sigtimedwait(9)sys_rt_sigtimedwait(9)sys_kill(9)sys_pidfd_send_signal(9)sys_tgkill(9)sys_rt_sigqueueinfo(9)sys_sigpending(9)sys_sigprocmask(9)sys_rt_sigaction(9)sys_rt_sigsuspend(9)
okay thatβs the page, bestie β signing off with source/version ./kernel and date October 2026. sys_tkill(9) forever, mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms