Skip to contentSkip to conversation

File read

DISCUSSION Lee Ho 1 participant 1 message May 31, 2001

lore
Share & tools
lore

Lee Ho

author
#0 lore raw

I wrote some functions for file handling in kernel module. Check the source : http://linuxkernel.to/klib/klib/src/fileio.c
(The basic idea is from khttpd)

This is part of my personal klib (kernel library) project.
You can download the full source : http://klib.sourceforge.net/download/klib.tar.gz

*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Lee, Ho. Software Engineer, Embedded Linux Dep, LinuxOne ICQ : #52017992, Mail : [email protected], [email protected] Homepage : http://flyduck.com, http://linuxkernel.to

Anil Kumar Wrote:

Quoted 2 lines

How do i read file within the kernel modules. I hope we can't use the FS open... calls within kernel.