Utime.h
Encyclopedia
utime.h is the header in the C POSIX library
C POSIX library
The C POSIX library is a specification of a C standard library for POSIX systems. It was developed at the same time as the ANSI C standard. Some effort was made to make POSIX compatible with standard C; POSIX includes additional functions to those introduced in standard C.- C POSIX library header...

 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:
  • struct utimbuf
    • time_t actime access time
    • time_t modtime modification time

The times are measured in seconds since the Epoch.
The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK