1 2 3 4 5 6 7 8 9 10
// Copyright © Tavian Barnes <tavianator@tavianator.com> // SPDX-License-Identifier: 0BSD #include <stddef.h> #include <sys/types.h> #include <sys/extattr.h> int main(void) { return extattr_get_file("file", EXTATTR_NAMESPACE_USER, "xattr", NULL, 0); }