Visit the LQ Articles and Editorials section
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 02-27-2006, 12:05 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
Question Accessing file in kernel space

I am accessing the user file in kernel space but there is a problem. I want to read its contents in structure.I can read file in character pointer but i m getting problem in copying it in structure.How should i do it.
Thanks in advance...
Old 02-28-2006, 06:03 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,547

Rep: Reputation: 160Reputation: 160
Please show us the code. It should work just like in user space.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 01:32 PM
Accessing ext3 file systems under Kernel 2.0.xx SomeRobot Linux - General 0 08-24-2004 02:55 AM
Accessing PCI memory space HTS Programming 7 04-30-2004 11:55 AM
accessing process address space linorg Programming 5 04-15-2004 02:13 PM
accessing folder with 'space' in the name kushalkoolwal Linux - Newbie 2 03-11-2004 03:43 AM

All times are GMT -5. The time now is 02:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration