On Tuesday 18 January 2005 02:22, Sajaykumar wrote: > Hi, > > I have been looking into the function proc_read in the proc > filesystem. I am not able to fathom the significance of the parameter > char **start. I beleive this is useful in cases where data that is > transmitted by the proc_read that goes beyond one page. Could you > please clarify how this is done. It would be helpful if this was > explained to me with a sample code. Upon return, 'start' (arg 2) should point somewhere in the 'buffer' (arg 1) that corresponds to the 'offset' (arg 3) position in the virtual file. There are many many examples of proc read handlers in the kernel source. I also posted some sample code to this list a long long time ago. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/