what happens to "open" if the slot is left empty in file_operations.

Shiyao Ma i at introo.me
Sat Nov 14 02:10:35 EST 2015


Hi,


When writing a char device driver, if the "open" slots is left vacant in
the file_operations structure, what will happen if "open" is called ?


An answer that gives the relevant code will be more than appreciated.



Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20151114/3749e19d/attachment.html 


More information about the Kernelnewbies mailing list