Mac Developer Library

Developer

OSDebug.h Reference

Options
Deployment Target:

On This Page

OSDebug.h Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

Included Headers

  • <sys/cdefs.h>

  • <mach/mach_types.h>

Functions

  • Returns bytes available below the current stack frame.

    Declaration

    Objective-C

    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.

    Import Statement

    Objective-C

    #include <OSDebug.h>;

    Availability

    Available in OS X v10.6 and later.