#define KIP5_IOCSETSBTSIZE _IO( KIP5_IOC_MAGIC, 1 )
#define KIP5_IOCSETSBTCODE _IOW( KIP5_IOC_MAGIC, 2,sizeof(PUCHAR) )
#define KIP5_IOCPLOT _IOWR( KIP5_IOC_MAGIC, 21, sizeof( TKip5KernelPacket ) )
int MyPlot( int fd, TKip5KernelPacket *p )
{
p->IO.Input.FunctionCode = KIP5_IOCPLOT;
return ioctl( fd, p->IO.Input.FunctionCode, p );
};
the same happens with KIP5_IOCSETSBTCODE functions.
Only calls like KIP5_IOCSETSBTSIZE where READ and WRITE flags are not set
returns without problems.
Can anyone tell me why this happens?
please CC to vgo@ratio.de
----------------------------------
E-Mail: vgo@Ratio.de
Date: 04-Feb-99
Time: 17:36:36
This message was sent by XFMail
----------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/