summaryrefslogtreecommitdiffstats
path: root/build/has/acl-is-trivial-np.c
blob: 9ca9fc740f2e19f49c20e6e3d6185c8b5177e7a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <sys/types.h>
#include <sys/acl.h>

int main(void) {
	acl_t acl = acl_get_fd(3);
	int trivial;
	acl_is_trivial_np(acl, &trivial);
	return 0;
}