All of lore.kernel.org
 help / color / mirror / Atom feed
From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How to use memcpy in kernel driver
Date: Mon, 27 Jan 2014 15:28:07 -0500	[thread overview]
Message-ID: <35124.1390854487@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Mon, 27 Jan 2014 11:53:00 -0800." <CABMudhRdpu_Bgp1Ur3m_Ld7q9sOabgK3OpBwND4bymOg0iAYig@mail.gmail.com>

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 

  reply	other threads:[~2014-01-27 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-27 19:53 How to use memcpy in kernel driver m silverstri
2014-01-27 20:28 ` Valdis.Kletnieks at vt.edu [this message]
2014-01-27 20:28 ` Kristof Provost
2014-01-27 20:28 ` Augusto Mecking Caringi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=35124.1390854487@turing-police.cc.vt.edu \
    --to=valdis.kletnieks@vt.edu \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.