Re: About reading a text-file from kernel

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

 



Pravin spiffera, alle lunedì 04 giugno 2007 circa:
> I have one doubt that, I am not writing my classifier as kernel module,
> I am directly modifying existing code for this.
> Can I still make use of 'ioctl' calls ?

An ioctl call expects to be called on a file, so you need a file... it can 
be either a device, a /proc file, or whatever you can open().

> Can I get some examples, tutorials or existing systems where 'ioctl'
> is been used for this kind of interaction?

you can find it here:
http://lwn.net/Kernel/LDD3/
in the sixth chapter. (i can't remember well if it's exactly the 
sixth...) ;)

bye!
-- 
-gaspa-
-----------------------------------------------
--------- Powered by Debian GNU/Linux ---------
-Il lunedi'dell'arrampicatore: www.lunedi.org -

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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