InterviewSolution
Saved Bookmarks
| 1. |
How Can We Allocate Device Number Dynamically ? |
|
Answer» alloc_chrdev_region()will dynamically allocate device numbers. int alloc_chrdev_region(dev_t *dev, unsigned int firstminor, unsigned int COUNT, char *name); Here
alloc_chrdev_region()will dynamically allocate device numbers. int alloc_chrdev_region(dev_t *dev, unsigned int firstminor, unsigned int count, char *name); Here |
|