SDL_KillProcess(3)

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.

Availability

This function is available since SDL 3.2.0.

From libsdl3-doc 3.2.10+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.