---
title: xattr_protected
framework: Kernel
role: symbol
role_heading: Function
platforms: [macOS 10.4+]
path: kernel/1574406-xattr_protected
---

# xattr_protected

## Declaration

```occ
int xattr_protected(const char *);
```
