stackbase

Returns a pointer to the calling thread's current stack.

Library:LibC
Classification:Other
Service:Memory Management

Syntax

  #include <stdlib.h> 
   
  void *stackbase ( void );
  

Return Values

Returns a pointer to the starting position of the calling thread's stack.

Remarks

The stackbase function returns the starting point of the thread's stack. On Intel type processors, the stack grows numerically downward from this address rather than upward.

See Also