(no subject)

From: 新 月 (xinyuepeng@yahoo.com)
Date: Thu Aug 16 2001 - 01:26:32 EST


hi!
   I am beginning learn to write a driver follow the
Book "Beginnng Linux programming(Second
Edition)".There is a example about char driver,I write
as that,but I can open device,but can't read from it.I
just copy some static data to user buffer as follow:
   copy_to_user(buf, schar_buffer, count)

Thanks,
xin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:14 EST