summaryrefslogtreecommitdiffstats
path: root/src/main.c
Commit message (Collapse)AuthorAgeFilesLines
* build: Directly generate version.cTavian Barnes2024-04-171-1/+0
|
* build: Add a separate configuration stepTavian Barnes2024-04-091-0/+1
|
* Re-run include-what-you-useTavian Barnes2024-03-111-0/+1
|
* xtime: Call tzset() from main() instead of lazilyTavian Barnes2024-03-071-0/+4
| | | | | | | | | | | | | 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
* main: Warn if setlocale() failsTavian Barnes2023-12-161-1/+12
| | | | This should help users understand why issues like #128 happen.
* darray: RemoveTavian Barnes2023-11-231-1/+0
| | | | | The new RESERVE() macro from alloc.h is nicer, and handles alignment properly.
* thread: Wrap more pthread APIsTavian Barnes2023-06-261-1/+1
|
* alloc: New header for memory allocation utilitiesTavian Barnes2023-06-201-0/+1
|
* ioq: Implement an async I/O queueTavian Barnes2023-06-121-0/+1
|
* atomic: Add shorthands for explicit atomic operationsTavian Barnes2023-06-121-0/+1
|
* lock: Add wrappers for POSIX synchronization primitivesTavian Barnes2023-06-121-0/+1
|
* main: Add some missing headers to the overviewTavian Barnes2023-05-251-0/+3
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-111-1/+1
| | | | In anticipation of C23, since those headers won't be necessary any more.
* 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/
* bfstd: Rename from util and reorganize itTavian Barnes2022-11-061-2/+2
|
* config: Split out some of util.h into a new headerTavian Barnes2022-11-061-2/+2
|
* main: Avoid a gotoTavian Barnes2022-05-111-6/+5
|
* Source / Include Folder (#88)トトも2022-04-161-0/+141
Moved Source Files Into `src` Folder