I have a proc file which contains a buffer of ints, which I want to be able to read from user space.
I assume you open the file as you would a normal filebut from here I am unsure how you would read. would you use fscanf? if you do, how would the proc.read method get called?Code:File fp* = fopen("/proc/kernelRead","r");
thanks for any help!