[os2/process]: Adjust docs on process_close function

This commit is contained in:
flysand7
2024-07-14 15:28:37 +11:00
parent 63d94301fc
commit 8f4755532e

View File

@@ -351,7 +351,8 @@ process_wait :: proc(process: Process, timeout := TIMEOUT_INFINITE) -> (Process_
This procedure closes the handle associated with a process. It **does not**
terminate a process, in case it was running. In case a termination is
desired, kill the process first, then close the handle.
desired, kill the process first, wait for the process to finish,
then close the handle.
*/
process_close :: proc(process: Process) -> (Error) {
return _process_close(process)