How to use memcpy in kernel driver

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Mon Jan 27 15:28:07 EST 2014


On Mon, 27 Jan 2014 11:53:00 -0800, m silverstri said:

> I try #include stdio.h

> Can you please help me?

stdio is a libc invention, only used in userspace.  As such, you can't
call anything in a shared library from within kernel code (although there
are similarly named routines for many things).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140127/0987739e/attachment-0001.bin 


More information about the Kernelnewbies mailing list