pub fn stack_start_ptr() -> raw_ptr 
Expand description

Memory address of bottom of current writable stack area.

Returns

  • [raw_ptr] - The location in memory of the bottom of the stack.

Examples

use std::registers::stack_start_ptr;

fn foo() {
    let ssp = stack_start_ptr();
    assert(!ssp.is_null());
}