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

#include <dirent.h>

int main(void) {
	return fdclosedir(opendir("."));
}