Sun keyboard driver?

Chris Torek chris at umcp-cs.UUCP
Sun Mar 10 18:24:22 AEST 1985


Probably you forgot to include <sys/ioctl.h> (<sundev/kbio.h> doesn't
do it for you, though there's no reason it can't).  4.2BSD uses the
"Reiserism"

  #define _IOW(x,y,t)	(IOC_IN|((sizeof(t)&IOCPARM_MASK)<<16)|('x'<<8)|y)

which is why there's an unquoted ``k'' in _IOW(k,1,struct kiockey).

(Personally, I think this is incredibly ugly.)
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 4251)
UUCP:	{seismo,allegra,brl-bmd}!umcp-cs!chris
CSNet:	chris at umcp-cs		ARPA:	chris at maryland



More information about the Comp.unix.wizards mailing list