Query: malloc_good_size
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MALLOC_SIZE(3) BSD Library Functions Manual MALLOC_SIZE(3)NAMEmalloc_good_size, malloc_size -- memory allocation informationSYNOPSIS#include <malloc/malloc.h> size_t malloc_good_size(size_t size); size_t malloc_size(const void *ptr);DESCRIPTIONThe malloc_size() function returns the size of the memory block that backs the allocation pointed to by ptr. The memory block size is always at least as large as the allocation it backs, and may be larger. The malloc_good_size() function rounds size up to a value that the allocator implementation can allocate without adding any padding; it then returns that rounded-up value.SEE ALSOmalloc(3)BSDMay 23, 2006 BSD
| Related Man Pages |
|---|
| malloc_zone_memalign(3) - osx |
| reallocf(3) - linux |
| mapmalloc(3malloc) - suse |
| mapmalloc(3malloc) - minix |
| mapmalloc(3malloc) - posix |
| Similar Topics in the Unix Linux Community |
|---|
| 12-Core MacPro (2013) kernel_task over 1200% |
| My first PERL incarnation... Audio Oscillograph |
| How can I direct messages from mac console.app to a log file? |
| Python 3.8.0rc1 released. |