---
title: magic
framework: Kernel
role: symbol
role_heading: Instance Property
platforms: [macOS 10.8+]
path: kernel/fat_header/1558632-magic
---

# magic

An integer containing the value 0xCAFEBABE in big-endian byte order format. On a big-endian host CPU, this can be validated using the constant FAT_MAGIC; on a little-endian host CPU, it can be validated using the constant FAT_CIGAM.

## Declaration

```occ
uint32_t magic;
```
