summaryrefslogtreecommitdiffstats
path: root/config/has/extattr-get-file.c
blob: ac9cf96ba8f27230a8f1a6c167af4ecbbd7253bb (plain)
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);
}