---
title: typeKernelProcessID
framework: applicationservices
role: collectionGroup
path: applicationservices/apple_event_manager/1542936-typekernelprocessid
---

# typeKernelProcessID

For specifying an application by UNIX process ID.

## Overview

Overview You might use this constant in a situation where you have access to the PID for a process but don’t have a Process Manager connection. Your code for creating the descriptor might look like the following: pid_t pid = findTheAppPid(); // User supplied routine to get PID. // Now create a descriptor with it: AECreateDesc(typeKernelProcessID, &pid, sizeof(pid), &desc);

## Topics

### Constants

- [typeKernelProcessID](coreservices/typekernelprocessid.md)
- [typeMachPort](coreservices/typemachport.md)
