Share via


_get_sbh_threshold

Returns the upper limit for the size of a memory allocation that will be supported by the small-block heap.

size_t _get_sbh_threshold( void );

Routine Required Header Compatibility
_get_sbh_threshold <malloc.h> Win 95, Win NT

For additional compatibility information, see Compatibility in the Introduction.

Libraries

LIBC.LIB Single thread static library, retail version
LIBCMT.LIB Multithread static library, retail version
MSVCRT.LIB Import library for MSVCRT.DLL, retail version

Return Value

This function returns the upper limit for the size of a memory allocation that will be supported by the small-block heap.

Remarks

Call this function to get the current threshold value for the small-block heap. The default threshold size is 480 bytes for Windows 95 and all Windows NT platforms except the DEC Alpha platforms, and 896 bytes for DEC Alpha Platforms.

Memory Allocation Routines

See Also   _set_sbh_threshold