stackavail

Returns the number of bytes currently available in the stack.

Library:LibC
Classification:Other
Service:Memory Management

Syntax

  #include <stdlib.h> 
   
  size_t stackavail ( void );
  

Return Values

Returns the number of bytes that are currently available in the stack.

Remarks

The stackavail function returns the number of bytes in the stack that remain between the end of the current operation and the address beyond which reading or writing would cause stack overflow.

See Also