Function lrs::syscall::symlinkat

Creates a symbolic link relative to a directory.

Syntax

fn symlinkat(target: &CStr, dir: i32, link: &CStr) -> i32

Arguments

NameDescription
target

The target of the link.

dir

The directory relative to which the link argument is interpreted.

link

The path of the new link.

Return value

Returns success or an error value.

See also