utime.h

utime.h is the header in the C POSIX library for the C programming language that facilitates the setting of file access and modification times.

Member functions

int utime(const char *path, const struct utimbuf *times) This function sets the access and modification times of the specified file.

The utime() function sets the access and modification times of the file named by the path argument.

Member types

Data types defined in the utime.h header include:

The times are measured in seconds since the Epoch.

References