From 5953fbd8347838f162d64e4acdc259fd372210a3 Mon Sep 17 00:00:00 2001 From: n5m <72841454+n5m@users.noreply.github.com> Date: Fri, 1 Jan 2021 18:01:45 +0000 Subject: [PATCH] link to POSIX sendSignal from osproc.kill docs (#16475) and from osproc.terminate docs --- lib/pure/osproc.nim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 9c198e6fa..9cac8e232 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -187,6 +187,7 @@ proc terminate*(p: Process) {.rtl, extern: "nosp$1", tags: [].} ## * `suspend proc <#suspend,Process>`_ ## * `resume proc <#resume,Process>`_ ## * `kill proc <#kill,Process>`_ + ## * `posix_utils.sendSignal(pid: Pid, signal: int) `_ proc kill*(p: Process) {.rtl, extern: "nosp$1", tags: [].} ## Kill the process `p`. @@ -198,6 +199,7 @@ proc kill*(p: Process) {.rtl, extern: "nosp$1", tags: [].} ## * `suspend proc <#suspend,Process>`_ ## * `resume proc <#resume,Process>`_ ## * `terminate proc <#terminate,Process>`_ + ## * `posix_utils.sendSignal(pid: Pid, signal: int) `_ proc running*(p: Process): bool {.rtl, extern: "nosp$1", tags: [].} ## Returns true if the process `p` is still running. Returns immediately.