devfs_auto_unregister

Name

devfs_auto_unregister --  Configure a devfs entry to be automatically unregistered.

Synopsis

void devfs_auto_unregister (devfs_handle_t master, devfs_handle_t slave);

Arguments

master

The master devfs entry. Only one slave may be registered.

slave

The devfs entry which will be automatically unregistered when the master entry is unregistered. It is illegal to call devfs_unregister on this entry.