In the case of linux kernel device drivers there is the file_operations struct, or fops struct, which allows the driver to define handlers for various file operatio
file_operations