xref: /freebsd/contrib/mandoc/test-O_DIRECTORY.c (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1 #include <fcntl.h>
2 
3 int
4 main(void)
5 {
6 	return open(".", O_RDONLY | O_DIRECTORY) == -1;
7 }
8