OSDebug.h Reference

Declared in
OSDebug.h

Overview

Included Headers

  • <sys/cdefs.h>

  • <mach/mach_types.h>

Functions

See the Overview section above for header-level documentation.

OSKernelStackRemaining

Returns bytes available below the current stack frame.

vm_offset_t OSKernelStackRemaining(
   void );
Return Value

Approximate byte count available.

Discussion

Returns bytes available below the current stack frame. Safe for interrupt or thread context.

Availability
  • Available in OS X v10.6 and later.
Declared In
OSDebug.h