Find the answer to your Linux question:
Results 1 to 5 of 5
i want to transfer data from kernel to user mode.so if anybody has some idea about it plz explain it and it is better if some one send code for ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2005
    Posts
    11

    URGENT NEED PLZ HELP


    i want to transfer data from kernel to user mode.so if anybody has some idea about it plz explain it and it is better if some one send code for it.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You want to investigate the copy_to_user() and copy_from_user() functions.

  3. #3
    Just Joined!
    Join Date
    Nov 2005
    Posts
    11
    well thanx for ur reply but if possible plz send me the code using copy_to_user which can pass string from kernel to user mode and plz reply back soon

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jul 2005
    Posts
    72
    It might help to edit the name of this thread so as to be more specific!

  6. #5
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You are capable of googling to find how to use copy_{to,from}_user()

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •