(no subject)

=?gb2312?q?=D0=C2=20=D4=C2?= (xinyuepeng@yahoo.com)
Thu, 16 Aug 2001 14:26:32 +0800 (CST)


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/