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