SDL_KillProcess(3)
π NAME π
SDL_KillProcess β bestie, this one stops a process. like, ends it. periodt. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_process.h>
bool SDL_KillProcess(SDL_Process *process, bool force);
π«Ά FUNCTION PARAMETERS π«Ά
processβ the process you're trying to stop. the one getting the goodbye kiss. πforceβtrueto terminate the process immediately,falseto try to stop it gracefully. and listen, bestie: in general you should try to stop the process gracefully first, because terminating a process may leave it with half-written data or in some other unstable state. no cap, that's messy. π
π RETURN VALUE π
Returns true on success or false on failure; call SDL_GetError() for more information. so if it flops, go read the error. she'll tell you what's wrong. π
π₯ THREAD SAFETY π₯
This function is not thread safe. do not share her across threads, she will absolutely spiral. π
π AVAILABILITY π
This function is available since SDL 3.2.0. vintage-ish. iconic. π
π SEE ALSO π
okay that's the whole vibe. this page came from <strong>Simple Directmedia Layer</strong>, version <strong>SDL 3.4.18</strong> β mwah, slay, bye bestie π β¨π¦
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms