---
title: "libkern::allocate_memory"
framework: Kernel
role: symbol
role_heading: Global Variable
platforms: [driverkit 21.0+, macOS 12.0+]
path: kernel/libkern_allocate_memory
---

# libkern::allocate_memory

## Declaration

```occ
const allocate_memory_t libkern::allocate_memory;
```
