MCPcopy Create free account
hub / github.com/eggert/tz / timeoff

Function timeoff

localtime.c:2980–2987  ·  view source on GitHub ↗

This function is obsolescent and may disappear in future releases. Callers can instead use mktime_z with a fixed-offset zone. */

Source from the content-addressed store, hash-verified

2978/* This function is obsolescent and may disappear in future releases.
2979 Callers can instead use mktime_z with a fixed-offset zone. */
2980EXTERN_TIMEOFF time_t
2981timeoff(struct tm *tmp, long offset)
2982{
2983 if (tmp)
2984 tmp->tm_isdst = 0;
2985 gmtcheck();
2986 return time1(tmp, gmtsub, gmtptr, offset);
2987}
2988#endif
2989
2990#if !USE_TIMEX_T

Callers 2

_fmtFunction · 0.85
timegmFunction · 0.85

Calls 2

gmtcheckFunction · 0.85
time1Function · 0.85

Tested by

no test coverage detected