RTEMS 6.1-rc6
Loading...
Searching...
No Matches
Functions
utimensat.c File Reference

Set file access and modification times in nanoseconds. More...

#include <rtems/libio_.h>
#include <rtems/score/todimpl.h>
#include <fcntl.h>
#include <string.h>

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)
 

Detailed Description

Set file access and modification times in nanoseconds.

Function Documentation

◆ utimensat()

int utimensat ( int  fd,
const char *  path,
const struct timespec  times[2],
int  flag 
)