3 C_Int_t
Time_getTimeOfDay (Ref(C_Time_t
) sec
, Ref(C_SUSeconds_t
) usec
) {
4 struct timeval timeval
;
6 res
= gettimeofday (&timeval
, (struct timezone
*)NULL
);
8 *((C_Time_t
*)sec
) = timeval
.tv_sec
;
9 *((C_SUSeconds_t
*)usec
) = timeval
.tv_usec
;