[][src]Function linux::syscall::readlinkat

pub fn readlinkat(dir: c_int, path: KStr, buf: &mut [d8]) -> ssize_t

Reads the target of a symbolic link relative to a directory.

[argument, dir] The directory relative to which relative paths are interpreted.

[argument, path] The path of the link.

[argument, buf] The buffer in which the target will be placed.

[return_value] Returns the length of the target or an error value.

= See also

  • link:man:readlinkat(2)