freebsd-skq/contrib/mdocml/test-O_DIRECTORY.c
2017-02-19 17:46:37 +00:00

8 lines
88 B
C

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