Module
Linux::Ioctl
In:
/home/oliver/dev/powermate/PowerMate.rb
Linux
ioctl(2) helper functions, values and definitions taken from <asm/ioctl.h>, beware of (unlikely) changes. Probably works only on
Linux
/x86
Methods
encode
Public Class methods
encode
( array )
encode an ioctl(2) from the specification commonly found in
Linux
*.h files,
array
is an Array consisting of [ direction bit, type (String), number, size ]