Changes the access and modification times of a file relative to a directory.
fn utimensat(dir: i32, file: Option<&CStr>, times: &[timespec; 2], flags: i32) -> i32
| Name | Description |
|---|---|
| dir | The directory relative to which relative paths will be interpreted. |
| file | The path of the file. |
| times | The new times of the file. |
| flags | Flags to use while modifying the file. |
Returns success or an error value.