freebsd-nq/contrib/mdocml/test-O_DIRECTORY.c

8 lines
88 B
C
Raw Normal View History

2017-02-19 17:41:20 +00:00
#include <fcntl.h>
int
main(void)
{
return open(".", O_RDONLY | O_DIRECTORY) == -1;
}