◄Summary► ◄Example► ◄Up► ◄Contents► ◄Index► ◄Back► ─────Run-Time Library─────────────────────────────────────────────────────── The _memavl function returns the approximate size, in bytes, of the memory available for dynamic memory allocation in the near heap (default data segment). The _memavl function can be used with calloc, malloc, or realloc in the small and medium memory models and with _ncalloc, _nmalloc, and _nrealloc in any memory model. The number of bytes returned by the _memavl function may not be the number of contiguous bytes. As a result, a call to malloc requesting an allocation of the size returned by _memavl may not succeed. Use the _memmax function to find the size of the largest block of contiguous memory available. Return Value The _memavl function returns the size in bytes as an unsigned integer. -♦-