malloc_good_size man page on Darwin

Man page or keyword search:  
man Server   23457 pages
apropos Keyword Search (all sections)
Output format
Darwin logo
[printable version]

MALLOC_SIZE(3)		 BSD Library Functions Manual		MALLOC_SIZE(3)

NAME
     malloc_good_size, malloc_size — memory allocation information

SYNOPSIS
     #include <malloc/malloc.h>

     size_t
     malloc_good_size(size_t size);

     size_t
     malloc_size(const void *ptr);

DESCRIPTION
     The 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 allo‐
     cator implementation can allocate without adding any padding; it then
     returns that rounded-up value.

SEE ALSO
     malloc(3)

BSD				 May 23, 2006				   BSD
[top]

List of man pages available for Darwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net