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

Function gmtcheck1

localtime.c:1990–1998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1988 free(sp);
1989 if (!FREE_PRESERVES_ERRNO)
1990 errno = err;
1991}
1992
1993/*
1994** NetBSD 6.1.4 has ctime_rz, but omit it because C23 deprecates ctime and
1995** POSIX.1-2024 removes ctime_r. Both have potential security problems that
1996** ctime_rz would share. Callers can instead use localtime_rz + strftime.
1997**
1998** NetBSD 6.1.4 has tzgetname, but omit it because it doesn't work
1999** in zones with three or more time zone abbreviations.
2000** Callers can instead use localtime_rz + strftime.
2001*/

Callers

nothing calls this directly

Calls 1

gmtloadFunction · 0.85

Tested by

no test coverage detected