|
|||||||||||
|
copyin problem
From: Florin SIMEN <vasi(at)ss.pub.ro>
Date: Tue Apr 29 2003 - 11:56:33 EDT
int
dev_t dev;
caddr_t data;
int flags;
{ struct data_io *scan_struct1,*c; c=(struct data_io *)data; error=copyin(c,scan_struct1,sizeof(struct data_io)); the function copyin returns error.
The data in the data argument is ok. I have printed itin the ioctl
function.Is it a problem if I use it directly, without copyin ?
Any advice is useful.
This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:48:39 EDT |
||||||||||
|
|||||||||||