MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / kernel_brk

Function kernel_brk

src/backend/linux_raw/runtime/syscalls.rs:343–346  ·  view source on GitHub ↗
(addr: *mut c::c_void)

Source from the content-addressed store, hash-verified

341
342#[inline]
343pub(crate) unsafe fn kernel_brk(addr: *mut c::c_void) -> io::Result<*mut c_void> {
344 // This is non-`readonly`, to prevent loads from being reordered past it.
345 ret_void_star(syscall!(__NR_brk, addr))
346}

Callers

nothing calls this directly

Calls 1

ret_void_starFunction · 0.85

Tested by

no test coverage detected