typedef struct { time_t tv_sec; long tv_nsec; } timespec;
timespec structure has the following fields.