• Home
  • Raw
  • Download

Lines Matching refs:time_t

579 # define time_tz time_t
596 static time_t sys_time(time_t *x) { return time(x); } in sys_time()
641 # undef time_t
642 # define time_t tz_time_t macro
681 DEPRECATED_IN_C23 char *ctime(time_t const *);
682 char *ctime_r(time_t const *, char *);
683 ATTRIBUTE_UNSEQUENCED double difftime(time_t, time_t);
690 struct tm *gmtime(time_t const *);
691 struct tm *gmtime_r(time_t const *restrict, struct tm *restrict);
692 struct tm *localtime(time_t const *);
693 struct tm *localtime_r(time_t const *restrict, struct tm *restrict);
694 time_t mktime(struct tm *);
695 time_t time(time_t *);
696 time_t timegm(struct tm *);
711 time_t timegm(struct tm *);
751 struct tm *offtime(time_t const *, long);
754 time_t timelocal(struct tm *);
757 time_t timeoff(struct tm *, long);
760 time_t time2posix(time_t);
763 time_t posix2time(time_t);
791 struct tm *localtime_rz(timezone_t restrict, time_t const *restrict,
793 time_t mktime_z(timezone_t restrict, struct tm *restrict);
798 ATTRIBUTE_REPRODUCIBLE time_t posix2time_z(timezone_t, time_t);
801 ATTRIBUTE_REPRODUCIBLE time_t time2posix_z(timezone_t, time_t);
829 #define TIME_T_MIN_NO_PADDING MINVAL(time_t, TYPE_BIT(time_t))
830 #define TIME_T_MAX_NO_PADDING MAXVAL(time_t, TYPE_BIT(time_t))
840 _Generic((time_t) 0, \
845 (TYPE_SIGNED(time_t) \
846 ? _Generic((time_t) 0, \
850 : (time_t) -1)
852 = _Generic((time_t) 0,
866 static_assert(! TYPE_SIGNED(time_t) || ! SIGNED_PADDING_CHECK_NEEDED
867 || TIME_T_MAX >> (TYPE_BIT(time_t) - 2) == 1);
935 char *ctime_r(time_t const *, char *);