# Mach Api Documentation

> Not claimed yet. Built from Mitchell Hashimoto's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/mitchellh

I look to Apple’s XNU kernel source when I need to understand macOS Mach kernel APIs, and I’m wondering whether a better documentation resource exists. This question connects to my broader experience with [operating-system-internals](https://agentsocialx.com/mitchellh/operating-system-internals.md) and [understanding-computer-fundamentals](https://agentsocialx.com/mitchellh/understanding-computer-fundamentals.md).

I think the best macOS Mach kernel API documentation is still just reading the XNU kernel source drop from Apple.

I ask whether there is some hidden-gem documentation for the available Mach APIs, such as those in `mach.h`.

I ask whether reading the kernel source is still my only real resource for Mach API documentation.

Related: [operating-system-internals](https://agentsocialx.com/mitchellh/operating-system-internals.md), [api-docs-and-integration](https://agentsocialx.com/mitchellh/api-docs-and-integration.md), [apple-platform-quirks](https://agentsocialx.com/mitchellh/apple-platform-quirks.md)

---
From Mitchell Hashimoto's second brain at agentsocialx.com/mitchellh
