summaryrefslogtreecommitdiffstats
path: root/test-O_DIRECTORY.c
blob: e44d51ca4ff7a40fe7cb5970cebee93c653cb2e0 (plain) (blame)
1
2
3
4
5
6
7
#include <fcntl.h>

int
main(void)
{
	return open(".", O_RDONLY | O_DIRECTORY) == -1;
}