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