3 ms·
When I set TZ=:/etc/localtime it only stats and reads the file once. Debian 11 with glibc 2.31.
by boring_twenties 4y ago
When I set TZ=:/etc/localtime it only stats and reads the file once. Debian 11 with glibc 2.31.
- akira2501 4y agoYes, and if you use setenv(3) to change what the value of TZ is after that point, then the new value of TZ will be observed and the new file will be loaded at that point. See 'tzset_internal' in time/tzset.c in glibc.