Page MenuHomeFreeBSD

Add _IOC_NEWLEN() and _IOC_NEWTYPE() macros.
ClosedPublic

Authored by brooks on Mar 15 2018, 11:14 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 11, 3:21 AM
Unknown Object (File)
Thu, Apr 11, 3:20 AM
Unknown Object (File)
Thu, Apr 11, 3:20 AM
Unknown Object (File)
Thu, Apr 11, 2:21 AM
Unknown Object (File)
Mar 7 2024, 1:54 PM
Unknown Object (File)
Feb 9 2024, 1:52 PM
Unknown Object (File)
Jan 13 2024, 3:27 AM
Unknown Object (File)
Jan 9 2024, 9:26 AM
Subscribers
None

Details

Summary

These macros take an existing ioctl(2) command and replace the length
with the specified length or length of the specified type respectively.
These can be used to define commands for 32-bit compatibility with fewer
opportunities for cut-and-paste errors then a whole new definition.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Mar 16 2018, 3:57 AM
This revision was automatically updated to reflect the committed changes.