I am working on a Linux character device driver for a school assignment and am not sure how to print the *ppos
passed into my read function which is of type loff_t
.
I know I must use printk
rather than the standard library printf
from within the kernel but I can't seem to figure out the proper format specifier.