summaryrefslogtreecommitdiffstats
path: root/build/has/getdents64.c
blob: d8e8062b16052926534d2df2f8e1dad3fa126c7a (plain)
1
2
3
4
5
6
7
8
9
// Copyright © Tavian Barnes <tavianator@tavianator.com>
// SPDX-License-Identifier: 0BSD

#include <dirent.h>

int main(void) {
	char buf[1024];
	return getdents64(3, (void *)buf, sizeof(buf));
}