On Thu, May 29, 2003 at 04:17:13PM -0700, Kirk Bollinger wrote: > Does anyone know of a good working example > of copying from kernel to user space? I've seen a couple > example but can't get them to work. I found a more-or-less OK example in drivers/char/random.c. Search for RNDGETPOOL, then look for copy_to_user(). This file has several other uses of copy_to_user(), some a little different than others, which is nice. -- http://www.wirex.com/
Attachment:
pgp00417.pgp
Description: PGP signature