xattr
A small library for setting, getting, and listing extended attributes.
Supported Platforms: Linux, MacOS, FreeBSD, and NetBSD.
API Documentation: https://stebalien.github.com/xattr/xattr/
Unsupported Platforms
This library includes no-op support for unsupported platforms. That is, it will build on all platforms but always fail on unsupported platforms.
- You can turn this off by disabling the default
unsupported
feature. If you do so, this library will fail to compile on unsupported platforms. - Alternatively, you can detect unsupported platforms at runtime by checking the
xattr::SUPPORTED_PLATFORM
boolean.