int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count,const char *name);. 与上面静态分配函数不同的是,此时dev是一个指针 ...
確定! 回上一頁