RTEMS 6.1-rc6
|
Set file access and modification times in nanoseconds. More...
Functions | |
bool | rtems_filesystem_utime_tv_nsec_valid (struct timespec time) |
Checks the tv_nsec member of a timespec struct. | |
int | rtems_filesystem_utime_check_permissions (const rtems_filesystem_location_info_t *currentloc, const struct timespec times[2]) |
Checks for errors and if the process has write permissions to the file. | |
int | rtems_filesystem_utime_update (const struct timespec times[2], struct timespec new_times[2]) |
Checks times and fills new_times with the time to be written. | |
int | utimensat (int fd, const char *path, const struct timespec times[2], int flag) |
Set file access and modification times in nanoseconds.
int utimensat | ( | int | fd, |
const char * | path, | ||
const struct timespec | times[2], | ||
int | flag | ||
) |
https://pubs.opengroup.org/onlinepubs/9699919799.2008edition/functions/futimens.html
Set file access and modification times