summaryrefslogtreecommitdiff
path: root/src/walltime_func.h
AgeCommit message (Collapse)Author
2021-05-14Codechange: use thread safe time functionsrubidium42
Functions like localtime, gmtime and asctime are not thread safe as they (might) reuse the same buffer. So use the safer _s/_r variant for localtime and gmtime, and use strftime in favour of asctime.