LKML Archive on
help / color / mirror / Atom feed
* Simple question on files & sockets in kernel space.
@ 2001-10-09  5:16 Ben Greear
  0 siblings, 0 replies; only message in thread
From: Ben Greear @ 2001-10-09  5:16 UTC (permalink / raw)
  To: linux-kernel

I would like to be able to read/write a file in the
regular file system (like /tmp/mystuff.txt) from the
kernel space.  In user-space, I'd use open() and then
read() and write().  Can someone suggest a piece of kernel
code or documentation that does something like this?

I would also like to get a TCP/IP socket and read/write
to it in a similar manner.  Basically, I want the familiarity
of user-space, but I have to implement most of the functionality
in the kernel.


Ben Greear <>       <Ben_Greear AT>
President of Candela Technologies Inc

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-09  5:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-09  5:16 Simple question on files & sockets in kernel space Ben Greear

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).