summaryrefslogtreecommitdiffstats
path: root/src/xtime.h
Commit message (Collapse)AuthorAgeFilesLines
* xtime: Call tzset() from main() instead of lazilyTavian Barnes2024-03-071-24/+0
| | | | | | | | | | | | | POSIX specifies[1] that If a thread accesses tzname, daylight, or timezone directly while another thread is in a call to tzset(), or to any function that is required or allowed to set timezone information as if by calling tzset(), the behavior is undefined. So calling it lazily from arbitrary threads is risky. [1]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/tzset.html
* Replace license boilerplate with SPDX tagsTavian Barnes2023-01-251-15/+2
| | | | | | | And while I'm at it, remove years from copyright declarations. Link: https://spdx.dev/about/ Link: https://daniel.haxx.se/blog/2023/01/08/copyright-without-years/
* xtime: Move parse_gettime() to xgettime()Tavian Barnes2022-11-071-0/+10
|
* xtime: s/parse_timestamp/xgetdate/Tavian Barnes2022-11-071-1/+1
|
* Source / Include Folder (#88)トトも2022-04-161-0/+86
Moved Source Files Into `src` Folder