freebsd-dev/test-O_DIRECTORY.c
2017-02-19 17:41:20 +00:00

8 lines
88 B
C

#include <fcntl.h>
int
main(void)
{
return open(".", O_RDONLY | O_DIRECTORY) == -1;
}