Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-04-10 | Correct the third argument to ioctl on appropriate platforms. | Bryant Mairs | |
While usually `ioctl()` passes a pointer, the function call has been overloaded to allow integers to be passed. For some platforms this is an `int` and on others it's a `ulong`. Fixes #824. | |||
2018-04-10 | Refactor the ioctl API and documentation | Bryant Mairs | |
* Split `ioctl!` into separate macros. This makes documentation easier to read. * For every `ioctl_*!` macro include a description of the macro arguments as, the function prototype for the generated wrapper function, and an example if we have one. * Expose `request_code_*!` in the documentation to make the `ioctl_*_bad` macros easier to use. * Reorganize the file hierarchy to be simpler |