mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-29 19:37:06 -05:00
Comment about process resource in os_term/os_kill on Windows
This commit is contained in:
parent
5b6c91df79
commit
68199b4227
1 changed files with 2 additions and 0 deletions
2
os/os.h
2
os/os.h
|
|
@ -135,6 +135,7 @@ pid_t os_wait(pid_t pid, int* status);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Terminate gracefully a process.
|
* Terminate gracefully a process.
|
||||||
|
* The caller must subsequently call os_wait() to reap process resources and close handles.
|
||||||
* \param pid Process ID of the process to terminate.
|
* \param pid Process ID of the process to terminate.
|
||||||
* \return 0 on success, -1 on failure.
|
* \return 0 on success, -1 on failure.
|
||||||
*/
|
*/
|
||||||
|
|
@ -142,6 +143,7 @@ int os_term(pid_t pid);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Forcibly terminate a process.
|
* Forcibly terminate a process.
|
||||||
|
* The caller must subsequently call os_wait() to reap process resources and close handles.
|
||||||
* \param pid Process ID of the process to kill.
|
* \param pid Process ID of the process to kill.
|
||||||
* \return 0 on success, -1 on failure.
|
* \return 0 on success, -1 on failure.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue