summaryrefslogtreecommitdiffstats
path: root/src/xtime.h
Commit message (Collapse)AuthorAgeFilesLines
* Write @arg instead of @param arg in doc commentsTavian Barnes2024-10-011-6/+6
|
* xtime: Remove xgettime()Tavian Barnes2024-08-091-10/+0
| | | | clock_gettime() is available everywhere by now.
* 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