Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.608 kb
#ifndef __TIMEMACHINE_H__
#define __TIMEMACHINE_H__
// \brief this header only needs to be included if you want the ability to call
// the real functions themselves which are not overridden.
#include <sys/time.h>
#include <time.h>
// \brief alias to the real time function
time_t timemachine_time(time_t* t);
// \brief alias to the real gettimeofday function
int timemachine_gettimeofday(struct timeval *tv, struct timezone *tz);
#ifndef __APPLE__
// \brief alias to the real clock_gettime function
int timemachine_clock_gettime(clockid_t clk_id, struct timespec *tp);
#endif // __TIMEMACHINE_H__
Jump to Line
Something went wrong with that request. Please try again.