Skip to main content

SYS_BRK

Constant SYS_BRK 

Source
pub const SYS_BRK: usize = 102;
Expand description

Set or query the program break (data segment end).

  • addr: new break address (0 = query current break)

Returns the current break address. If addr is non-zero, the break is moved to addr (may allocate or free pages).