Re: writing a module to expose information

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

 



Hi Ty,

On Sat, Mar 5, 2011 at 9:48 PM, Littlefield, Tyler <tyler@xxxxxxxxxxxxx> wrote:
> Hello all:
> I'm curious what or where I might begin writing a module that will allow
> a program to retrieve information from it? Essentially: I need some sort
> of interface through which I can request information and get it returned
> somehow.

Your module could create a device driver and you could issue ioctl's
to send/retrieve arbitrary information.

You could use proc entries to set/retrieve information.

These are probably the most common methods to do what you want.

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[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