Lines Matching defs:time_t

160 /* On GNUish systems where time_t might be 32 or 64 bits, use 64.
579 as if compiling with '-Dtime_tz=time_t'. */
581 # define time_tz time_t
586 ** time_t type equivalent to T rather than the system-supplied time_t.
588 ** (e.g., time_t wider than 'long', or unsigned time_t) even on
598 static time_t sys_time(time_t *x) { return time(x); }
643 # undef time_t
644 # define time_t tz_time_t
683 DEPRECATED_IN_C23 char *ctime(time_t const *);
684 char *ctime_r(time_t const *, char *);
685 ATTRIBUTE_UNSEQUENCED double difftime(time_t, time_t);
692 struct tm *gmtime(time_t const *);
693 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
694 struct tm *localtime(time_t const *);
695 struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
696 time_t mktime(struct tm *);
697 time_t time(time_t *);
698 time_t timegm(struct tm *);
713 time_t timegm(struct tm *);
753 struct tm *offtime(time_t const *, long);
756 time_t timelocal(struct tm *);
762 time_t time2posix(time_t);
765 time_t posix2time(time_t);
794 struct tm *localtime_rz(timezone_t restrict, time_t const *restrict,
796 time_t mktime_z(timezone_t restrict, struct tm *restrict);
801 ATTRIBUTE_REPRODUCIBLE time_t posix2time_z(timezone_t, time_t);
804 ATTRIBUTE_REPRODUCIBLE time_t time2posix_z(timezone_t, time_t);
832 #define TIME_T_MIN_NO_PADDING MINVAL(time_t, TYPE_BIT(time_t))
833 #define TIME_T_MAX_NO_PADDING MAXVAL(time_t, TYPE_BIT(time_t))
838 This implementation assumes no padding if time_t is signed and
839 either the compiler lacks support for _Generic or time_t is not one
843 _Generic((time_t) 0, \
848 (TYPE_SIGNED(time_t) \
849 ? _Generic((time_t) 0, \
853 : (time_t) -1)
855 = _Generic((time_t) 0,
869 static_assert(! TYPE_SIGNED(time_t) || ! SIGNED_PADDING_CHECK_NEEDED
870 || TIME_T_MAX >> (TYPE_BIT(time_t) - 2) == 1);
912 time_t timeoff(struct tm *, long);
951 char *ctime_r(time_t const *, char *);