Function sys_vfs_create_directory

Source
pub fn sys_vfs_create_directory(trapframe: &mut Trapframe) -> usize
Expand description

Create a directory using VFS (VfsCreateDirectory)

This system call creates a new directory at the specified path using the VFS layer.

§Arguments

  • trapframe.get_arg(0) - Pointer to the null-terminated path string

§Returns

  • 0 on success
  • usize::MAX on error (path already exists, permission denied, etc.)