---
title: getpid
framework: driverkit
role: symbol
role_heading: Function
path: driverkit/getpid
---

# getpid

## Declaration

```occ
pid_t getpid();
```

## Return Value

Return Value Value of the process ID

## Discussion

Discussion Returns the process ID (pid) of the current driver instance
