sys_vfs_create_symlink

Function sys_vfs_create_symlink 

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

Create a symbolic link (VfsCreateSymlink)

This system call creates a symbolic link at the specified path pointing to the target.

§Arguments

  • trapframe.get_arg(0) - Pointer to symlink path (where to create the symlink)
  • trapframe.get_arg(1) - Pointer to target path (what the symlink points to)

§Returns

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