Skip to content

Commit

Permalink
Update process_nix.c.v
Browse files Browse the repository at this point in the history
  • Loading branch information
SewerynKaminski authored Jan 27, 2024
1 parent 91d50e4 commit 0a1a562
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vlib/os/process_nix.c.v
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ fn (mut p Process) unix_resume_process() {
C.kill(p.pid, C.SIGCONT)
}

fn (mut p Process) unix_term_process() {
C.kill(p.pid, C.SIGTERM)
}

fn (mut p Process) unix_kill_process() {
C.kill(p.pid, C.SIGKILL)
}
Expand Down

0 comments on commit 0a1a562

Please sign in to comment.