1 2 3 4 5 6
#include <types.h> struct timespec { time_t tv_sec; // Seconds. long tv_nsec; // Nanoseconds. };