int register_chardev(unsigned int major, const char *name, struct file_operations *fops);. 如果回傳值是負的,則代表有錯誤,如果是0或是正數代表 ...
確定! 回上一頁