/* sys/time.h: POSIX time types. */ #ifndef _SYS_TIME_H #define _SYS_TIME_H #define _INCLUDE_TIMESPEC_MACROS #include #include #ifdef __cplusplus extern "C" { #endif /* Get the current time of day. */ __deprecated int gettimeofday(struct timeval* tp, void* timezone); /* Change a file's access and modification timestamps, with microsecond precision. */ int utimes(const char* path, const struct timeval buf[2]); /* Change a file descriptor's access and modification timestamps, with microsecond precision. */ int futimes(int fd, const struct timeval buf[2]); /* Change a symlink's access and modification timestamps, with microsecond precision. */ int lutimes(const char* path, const struct timeval buf[2]); #ifdef __cplusplus } #endif #endif