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