Removes an attribute of a file.
fn remove_attr<P, S>(path: P, name: S) -> Result<(), Errno>
where P: ToCString,
S: ToCString,| Name | Description |
|---|---|
| path | The path of the file whose argument we want to remove. |
| name | The name of the argument. |
If the path refers to a symbolic link, the link will be recursively resolved and the attribute of the first non-link target will be removed.
If the path is relative, it will be interpreted relative to the current working directory.