# %getppid() function

The %getppid() function returns the
UNIX parent Process-ID of the calling process.

**For Windows:**Not Supported

## Syntax

```
var = %getppid()
```

## See also

- [FlashBASIC C functions overview](https://d3codex.com/pickbasic-flashbasic/flashbasic-c-functions-overview/)
- [cfunction statement](https://d3codex.com/pickbasic-flashbasic/cfunction-statement/)

---
Source: https://d3codex.com/pickbasic-flashbasic/percent-getppid-function/ - part of the D3Codex reference.
