link to POSIX sendSignal from osproc.kill docs (#16475)

and from osproc.terminate docs
This commit is contained in:
n5m 2021-01-01 18:01:45 +00:00 • committed by GitHub
commit 5953fbd834
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,6 +187,7 @@ proc terminate*(p: Process) {.rtl, extern: "nosp$1", tags: [].}
## * `suspend proc <#suspend,Process>`_ ## * `suspend proc <#suspend,Process>`_
## * `resume proc <#resume,Process>`_ ## * `resume proc <#resume,Process>`_
## * `kill proc <#kill,Process>`_ ## * `kill proc <#kill,Process>`_
## * `posix_utils.sendSignal(pid: Pid, signal: int) <posix_utils.html#sendSignal,Pid,int>`_
proc kill*(p: Process) {.rtl, extern: "nosp$1", tags: [].} proc kill*(p: Process) {.rtl, extern: "nosp$1", tags: [].}
## Kill the process `p`. ## Kill the process `p`.
@ -198,6 +199,7 @@ proc kill*(p: Process) {.rtl, extern: "nosp$1", tags: [].}
## * `suspend proc <#suspend,Process>`_ ## * `suspend proc <#suspend,Process>`_
## * `resume proc <#resume,Process>`_ ## * `resume proc <#resume,Process>`_
## * `terminate proc <#terminate,Process>`_ ## * `terminate proc <#terminate,Process>`_
## * `posix_utils.sendSignal(pid: Pid, signal: int) <posix_utils.html#sendSignal,Pid,int>`_
proc running*(p: Process): bool {.rtl, extern: "nosp$1", tags: [].} proc running*(p: Process): bool {.rtl, extern: "nosp$1", tags: [].}
## Returns true if the process `p` is still running. Returns immediately. ## Returns true if the process `p` is still running. Returns immediately.