Function lrs::file::remove_attr_no_follow

Removes an attribute of a file without following symbolic links.

Syntax

fn remove_attr_no_follow<P, S>(path: P, name: S) -> Result<(), Errno>
    where S: ToCString,
          P: ToCString,

Arguments

NameDescription
path

The path of the file whose argument we want to remove.

name

The name of the argument.

Remarks

If the path refers to a symbolic link, the attribute of the link will be removed.

If the path is relative, it will be interpreted relative to the current working directory.

See also