LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   file->f_op->read (https://www.linuxquestions.org/questions/programming-9/file-f_op-read-412541/)

vishalbutte 02-07-2006 06:04 AM

file->f_op->read
 
how to use file->f_op->read for structure ??

thanks in advance...

scuzzman 02-07-2006 06:50 AM

In what language?

vishalbutte 02-07-2006 07:11 AM

i have one structure... and by using that i passed values to file ... and i want to read that file and extract that data.. so i want read that file by using that structure so i want to how to use file->f_op->write and file->f_op->read.... i am using c languaga.
plz send me syntax of the both

jlliagre 02-07-2006 07:45 AM

I already told you (or one of your clones) to look at the acct.c kernel source code as an example, data is written to a file there.


All times are GMT -5. The time now is 03:50 PM.