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)
Wed, Jan 29, 4:47 PM
Unknown Object (File)
Tue, Jan 28, 6:15 AM
Unknown Object (File)
Sat, Jan 25, 7:52 PM
Unknown Object (File)
Sat, Jan 18, 9:20 PM
Unknown Object (File)
Dec 21 2024, 5:17 PM
Unknown Object (File)
Dec 21 2024, 5:13 PM
Unknown Object (File)
Dec 7 2024, 6:06 AM
Unknown Object (File)
Nov 19 2024, 10:16 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.