[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Buffering large reads from procfs
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