Buffering large reads from procfs

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

 



I have a module that stores a lot of information within the kernel
(>100 kB).  To extract the data from this module, I have created a
file within /proc that I read from user space.  However, since I have
a lot of data, I need to generate the output in pieces and buffer the
data for user space.

Does anybody know of a good example that uses /proc or /sys and
buffers data back to user space?

Thanks!

--

Eddie Pettis
Electrical and Computer Engineering
Purdue University

--
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