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)
Sat, Oct 11, 8:57 AM
Unknown Object (File)
Sep 10 2025, 2:40 PM
Unknown Object (File)
Aug 1 2025, 11:39 PM
Unknown Object (File)
Jul 16 2025, 9:17 AM
Unknown Object (File)
Jul 7 2025, 1:57 PM
Unknown Object (File)
Jul 7 2025, 12:50 AM
Unknown Object (File)
Jun 30 2025, 3:10 AM
Unknown Object (File)
Jun 25 2025, 12:10 PM
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.