summaryrefslogtreecommitdiff
path: root/Libraries/LibC/errno.h
AgeCommit message (Collapse)Author
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-10-17LibC: sys_errlist should be const char* constAndreas Kling
Patch from Anonymous.
2019-09-08LibC: #define errno errnoAndreas Kling
This makes the binutils port build again, after the TLS changes.
2019-09-07LibC: Make "errno" thread-specificAndreas Kling
Now that the kernel supports thread-local storage, we can declare errno with the __thread keyword, which causes it to be per-thread. This should fix all the stupid issues that happen when many threads use the same errno. :^)
2019-08-15LibC: Fix clang-tidy warning about else-after-return in errno handlingAndreas Kling
2019-07-04Libraries: Create top level directory for libraries.Andreas Kling
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.