文件系统高级API之创建目录 int sys_mkdir(void) { char *path; struct inode *ip; begin_op(); if((ip=create(path,T_DIR,0,0))==0){ end_op(); return -1; } end_op(); return 0; } 来源:CSDN作者:qq_41224661链接:https://blog.csdn.net/qq_41224661/article/details/104533044 标签 qq