ladybird/Userland
Peter Elliott 4e0adb638d LibC: Implement posix_memalign(3) and aligned_alloc(3)
Some ports linked against posix_memalign, but didn't use it, and others
used it if it was Available. So I decided to implement posix_memalign.

My implementation adds almost no overhead to regular mallocs. However,
if an alignment is specified, it will use the smallest ChunkedBlock, for
which aligned chunks exist, and simply use one of the chunks that is
aligned. If it cannot use a ChunkedBlock, for size or alignment reasons,
it will use a BigAllocationBlock, and return a pointer to the first
aligned address past the start of the block. This implementation
supports alignments up to 32768, due to the limitations of the
BigAllocationBlock technique.
2022-05-20 22:18:54 +02:00
..
Applets LibAudio+Userland: Use new audio queue in client-server communication 2022-04-21 13:55:00 +02:00
Applications PixelPaint: Allow configuring 'new image' defaults 2022-05-17 01:01:44 +02:00
Demos LibGUI+Userland: Make Dialog::ExecResult an enum class 2022-05-13 16:27:43 +02:00
DevTools LibWebView: Move OutOfProcessWebView to a new LibWebView library 2022-05-15 12:17:36 +02:00
DynamicLoader LibC+Kernel: Prevent string functions from calling themselves 2022-05-12 13:12:37 +02:00
Games LibGUI+Userland: Make Dialog::ExecResult an enum class 2022-05-13 16:27:43 +02:00
Libraries LibC: Implement posix_memalign(3) and aligned_alloc(3) 2022-05-20 22:18:54 +02:00
Services WindowServer: Fix crash when hovering over title buttons 2022-05-18 19:05:18 +02:00
Shell Shell: Highlight commands with a hyperlink to open their help pages 2022-04-21 09:12:37 +04:30
Utilities xml: Avoid UAF in Error return from serenity_main() 2022-05-08 16:34:58 +02:00
CMakeLists.txt Meta+Userland: Add ENABLE_USERSPACE_COVERAGE_COLLECTION CMake option 2022-05-02 01:46:18 +02:00