SDL_KillProcess3
Stop a process.
Usage
#include "SDL3/SDL.h"
bool SDL_KillProcess(SDL_Process *process, bool force);
Header file
Defined in SDL3/SDL_process.h
Function parameters
- process
-
The process to stop.
- force
-
true to terminate the process immediately, false to try to stop the process gracefully. In general you should try to stop the process gracefully first as terminating a process may leave it with half-written data or in some other unstable state.
Return value
Returns true on success or false on failure; call
SDL_GetError () for more information.
Thread safety
This function is not thread safe.