ioctl param is always a pointer, previous wording implied int literal could be passed (results in EFAULT)
Index: ioctl.2 =================================================================== RCS file: /cvs/src/lib/libc/sys/ioctl.2,v retrieving revision 1.18 diff -u -p -r1.18 ioctl.2 --- ioctl.2 27 Jun 2014 21:06:33 -0000 1.18 +++ ioctl.2 5 Jul 2016 00:12:27 -0000 @@ -60,7 +60,7 @@ to perform the requested function. .Fa arg is either an .Li int -or a pointer to a device-specific data structure, depending upon +pointer or a pointer to a device-specific data structure, depending upon the given .Fa request . .Pp