In article <[email protected]>, Kamil Rytarowski <[email protected]> wrote: >I propose to add two new tools: > > - ioctlname > - ioctldecode
I would call it ioctlprint and have:
ioctlprint [-f <format>] <name>|<expr>|<value> arg....
for the input arg can be:
name = TIOCFOO
expr = _IO?('x', y, z)
value = 0xfoobee
The format can be contain %e %n %v which expand to what you
think and defaults to:
"%n %e %v\n"
christos
