Results 1 to 1 of 1
Thread: File I/O within a Kernel Module
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Sep 2004
File I/O within a Kernel Module
I have a text file containing data that I need to access within a module. Does anyone know how to open a file (location is root (/)) and read a line at a time, until the end of the file is reached in a module?
I tried using sys_open() and sys_read(), but they don't seem to work.
Any help would be appreciated.