Re: How to read file in kernel module?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shyamjith wrote:

There is *NO* Copyto_User. There are copy_to_user and copy_from_user.

And anway, these are NOT a method of communication -- they are the

low-level mechanizm under some of them. The mechanizms available are:
1) Character device

2>>) ioctl on character device

3) procfs file
4) Netlink socket



See i think we are talking about kernel programming . What i mean to say is
that there is only two ways to communiacte to user space . One through a
registerd read or write functions


Shyamjith ,
what did you mean by a registered read/write function ? i couldnt understand , please clarify /


cheers,
Amith



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux