v0.2.0
-
Make
_IOCgeneric over the ioctl argument type.- This makes
_IOCeasier to use by no longer requiring virtually every use of it to be followed-up with.with_arg().
- This makes
-
_IOC_xconstants are now newtypes.- This makes it harder to pass invalid values to
_IOC. - Specifically,
_IOC_NONEis 0 on x86, but non-zero on other architectures, posing a portability hazard if 0 is passed as a literal by mistake.
- This makes it harder to pass invalid values to