Home
last modified time | relevance | path

Searched refs:prev_tzenv (Results 1 – 1 of 1) sorted by relevance

/picolibc-3.5.0-3.4.0/newlib/libc/time/
Dtzset.c115 static char *prev_tzenv = NULL; variable
136 free(prev_tzenv); in _tzset_unlocked()
137 prev_tzenv = NULL; in _tzset_unlocked()
141 if (prev_tzenv != NULL && strcmp(tzenv, prev_tzenv) == 0) in _tzset_unlocked()
144 free(prev_tzenv); in _tzset_unlocked()
145 prev_tzenv = malloc (strlen(tzenv) + 1); in _tzset_unlocked()
146 if (prev_tzenv != NULL) in _tzset_unlocked()
147 strcpy (prev_tzenv, tzenv); in _tzset_unlocked()