Removes a file.
fn remove<P>(path: P) -> Result<(), Errno>
where P: ToCString,| Name | Description |
|---|---|
| path | The path of the file to be removed. |
If the path refers to a directory, the directory has to be empty.
If the path is relative, it will be interpreted relative to the current working directory.