In the file_operations struct, it is a pointer to another function that your module/code should implement. The file_operations struct, like many others in the kernel, contains a generic set of functions that the kernel expect your code will implement.
hi:
for a socket file point , what will this function do ?
file->f_op->poll(); ///poll is declared in the file-operations struct .
but I do not find this function's definition .
Is there some advice?
thanks!
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies