summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/posix_ioctl_check.c
blob: 599a3bff3bc67fe20a430182c9158e00d140d85a (plain)
1
2
3
4
5
6
7
#include <sys/ioctl.h>

int
posix_ioctl_check(int fd)
{
	return ioctl(fd, -1, 0);
}