Lines Matching defs:time_t
78 #include "sys/types.h" /* for time_t */
250 ** time_t type equivalent to T rather than the system-supplied time_t.
252 ** (e.g., time_t wider than 'long', or unsigned time_t) even on
256 static time_t sys_time(time_t *x) { return time(x); }
276 # undef time_t
277 # define time_t tz_time_t
279 typedef time_tz time_t;
281 char *ctime(time_t const *);
282 char *ctime_r(time_t const *, char *);
283 double difftime(time_t, time_t);
284 struct tm *gmtime(time_t const *);
285 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
286 struct tm *localtime(time_t const *);
287 struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
288 time_t mktime(struct tm *);
290 static time_t
291 time(time_t *p)
293 time_t r = sys_time(0);
329 static time_t const time_t_min =
330 (TYPE_SIGNED(time_t)
331 ? (time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1)
333 static time_t const time_t_max =
334 (TYPE_SIGNED(time_t)
335 ? - (~ 0 < 0) - ((time_t) -1 << (CHAR_BIT * sizeof (time_t) - 1))
396 char *ctime_r(time_t const *, char *);