SDL_KillProcess - Man Page

Stop a process.

Synopsis

#include <SDL3/SDL_process.h>

bool SDL_KillProcess(SDL_Process *process, bool force);

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

for more information.

Thread Safety

This function is not thread safe.

Availability

This function is available since SDL 3.2.0.

See Also

SDL_CreateProcess(3), SDL_CreateProcessWithProperties(3), SDL_WaitProcess(3), SDL_DestroyProcess(3)

Referenced By

SDL_CreateProcess(3), SDL_CreateProcessWithProperties(3), SDL_DestroyProcess(3), SDL_WaitProcess(3).

SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS