列举和Linux内核的ksys_mkdir有相同作用的api
时间: 2023-05-29 09:01:24 浏览: 189
基于linux系统的api接口
1. mkdir函数:int mkdir(const char *pathname, mode_t mode);
2. mkdirat函数:int mkdirat(int dirfd, const char *pathname, mode_t mode);
3. sys_mkdir函数:long sys_mkdir(const char *pathname, umode_t mode);
4. mkdir_p函数:int mkdir_p(const char *path, mode_t mode);
5. make_directory函数:int make_directory(const char *dir, mode_t mode, bool allow_existing);
6. do_mkdir函数:int do_mkdir(const char *path, umode_t mode);
7. vfat_mkdir函数:int vfat_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode);
8. ext4_mkdir函数:int ext4_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode);
9. smbfs_mkdir函数:int smbfs_mkdir(struct inode *inode, struct dentry *dentry, umode_t mode);
阅读全文