Returns the current time (in seconds and nanoseconds) for the specified clock. Format #include <time.h> int clock_gettime (clockid_t clock_id, struct timespec *tp);