From: Jose Luis Marchetti <joseluismarchetti@yahoo.com.br>
To: linux-kernel@vger.kernel.org
Subject: How to access a regular file from within a module ?
Date: Sat, 10 Jan 2009 19:44:55 -0800 (PST) [thread overview]
Message-ID: <888012.80064.qm@web34402.mail.mud.yahoo.com> (raw)
Hi,
I would like to open/read/write/close a regular file from my device
driver.
I think it would be possible, but I am confused, the "The Linux Kernel
Module Programming Guide" states that I can not use standard libraries
from within a module, I know the standard library ends up calling
system calls, but which calls should I use to deal with regular
files ?
I am developing a Ethernet driver and the Mac address configuration
José Luís Marchetti
P.S. Posted the message again, previous one had no subject.
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
next reply other threads:[~2009-01-11 3:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-11 3:44 Jose Luis Marchetti [this message]
2009-01-11 5:35 ` How to access a regular file from within a module ? Jon Masters
2009-01-11 6:13 ` H. Peter Anvin
2009-01-11 11:30 ` Alan Cox
2009-01-12 2:44 ` Jose Luis Marchetti
2009-01-12 4:36 ` Robert Hancock
2009-01-12 15:51 ` Jose Luis Marchetti
2009-01-12 22:25 ` Ben Nizette
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=888012.80064.qm@web34402.mail.mud.yahoo.com \
--to=joseluismarchetti@yahoo.com.br \
--cc=linux-kernel@vger.kernel.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.