summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibC/stdlib.h
AgeCommit message (Collapse)Author
2021-06-04LibC: Implement `mblen()`Jelle Raaijmakers
2021-05-30LibC: Implement getprogname and setprognameTim Schumacher
2021-05-15AK+LibC: Implement malloc_good_size() and use it for Vector/HashTableGunnar Beutner
This implements the macOS API malloc_good_size() which returns the true allocation size for a given requested allocation size. This allows us to make use of all the available memory in a malloc chunk. For example, for a malloc request of 35 bytes our malloc would internally use a chunk of size 64, however the remaining 29 bytes would be unused. Knowing the true allocation size allows us to request more usable memory that would otherwise be wasted and make that available for Vector, HashTable and potentially other callers in the future.
2021-05-09LibC: Implement the _Exit functionGunnar Beutner
libstdc++v3 checks whether this function is available and makes certain functions available in the std namespace if so.
2021-04-29Implemented llabs() in stdlib.h/cpp.Holden Green
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
SPDX License Identifiers are a more compact / standardized way of representing file license information. See: https://spdx.dev/resources/use/#identifiers This was done with the `ambr` search and replace tool. ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-03-09LibC: Add imaxdiv and lldivMițca Dumitru
2021-01-31LibC: Don't honor LIBC_* malloc debugging flags in AT_SECURE contextAndreas Kling
Just ignore all these environment flags if the AT_SECURE flag is set in the program's auxiliary vector. This prevents a user from tricking set-uid programs into dumping debug information via environment flags.
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling