equal
deleted
inserted
replaced
238 |
238 |
239 epoch_seconds = timegm(&broken_down_time); /* determine number of seconds since the epoch, i.e. Jan 1st 1970 */ |
239 epoch_seconds = timegm(&broken_down_time); /* determine number of seconds since the epoch, i.e. Jan 1st 1970 */ |
240 |
240 |
241 if ((time_t)(-1) == epoch_seconds) |
241 if ((time_t)(-1) == epoch_seconds) |
242 __iec_error(); |
242 __iec_error(); |
243 |
|
244 printf("Seconds = %d\n", (int)epoch_seconds); |
|
245 |
243 |
246 ts.tv_sec = epoch_seconds; |
244 ts.tv_sec = epoch_seconds; |
247 ts.tv_nsec = 0; |
245 ts.tv_nsec = 0; |
248 |
246 |
249 return ts; |
247 return ts; |