summaryrefslogtreecommitdiff
path: root/Libraries/LibC/ulimit.cpp
AgeCommit message (Collapse)Author
2020-12-21Everywhere: Switch from (void) to [[maybe_unused]] (#4473)Lenny Maiorani
Problem: - `(void)` simply casts the expression to void. This is understood to indicate that it is ignored, but this is really a compiler trick to get the compiler to not generate a warning. Solution: - Use the `[[maybe_unused]]` attribute to indicate the value is unused. Note: - Functions taking a `(void)` argument list have also been changed to `()` because this is not needed and shows up in the same grep command.
2020-05-07LibC: Log calls to getrusageItamar
2020-05-05LibC: Remove ASSERT_NOT_REACHED in getrusageItamar
The gcc port was hitting that assertion for some reason. This patch fixes it.
2020-04-06LibC: create a stub for getrusage.Xiao NuoFu
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-09-29LibC: Some build fixes for strange platformsAndreas Kling
Patch from Anonymous.
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/.