---
name: "SDL_DestroyProcess"
section: "3"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_DestroyProcess"
---

# SDL\_DestroyProcess(3)

Destroy a previously created process object.

## NAME

SDL\_DestroyProcess - Destroy a previously created process object.

## HEADER FILE

Defined in SDL3/SDL\_process.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**void SDL\_DestroyProcess(SDL\_Process \*process);**

## DESCRIPTION

Note that this does not stop the process, just destroys the SDL object used to track it. If you want to stop the process you should use

**SDL\_KillProcess** ().

## FUNCTION PARAMETERS

- *process*

  The process object to destroy.

## THREAD SAFETY

This function is not thread safe.

## AVAILABILITY

This function is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateProcess**(3)](/SDL_CreateProcess/3.md), **•**(3), [**SDL\_CreateProcessWithProperties**(3)](/SDL_CreateProcessWithProperties/3.md), **•**(3), [**SDL\_KillProcess**(3)](/SDL_KillProcess/3.md)
