Lines Matching refs:kill
319 // Register an exit callback so we can kill the diod process
410 inform("Started diod with PID %u, you might need to manually kill " \
445 DPRINTF(VIO9P, "Trying to kill diod at pid %u \n", diod_pid);
447 if (kill(diod_pid, SIGTERM) != 0) {
449 warn("Failed to kill diod using SIGTERM");
453 // Check if kill worked
457 // Managed to kill diod
469 // Try again to kill diod with sigkill
470 inform("Trying to kill diod with SIGKILL as SIGTERM failed \n");
471 if (kill(diod_pid, SIGKILL) != 0) {
473 warn("Failed to kill diod using SIGKILL");
475 // Managed to kill diod