fn symlinkat(target_path: []const u8, newdirfd: fd_t, sym_link_path: []const u8) SymLinkError!void

Similar to symlink, however, creates a symbolic link named sym_link_path which contains the string target_path relative to newdirfd directory handle. A symbolic link (also known as a soft link) may point to an existing file or to a nonexistent one; the latter case is known as a dangling link. If sym_link_path exists, it will not be overwritten. See also symlinkatWasi, symlinkatZ and symlinkatW.

Parameters

target_path: []const u8,
newdirfd: fd_t,
sym_link_path: []const u8,