Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

stackChange

Change the start and end address of the stack id. start is the new lowest addressable stack byte, end is the new highest addressable stack byte.

valgrind.stackChange
pub fn stackChange(id: usize, newstack: []u8) void

File

lib/std/valgrind.zig:272

Code

pub fn stackChange(id: usize, newstack: []u8) void {
    doClientRequestStmt(.StackChange, id, @intFromPtr(newstack.ptr), @intFromPtr(newstack.ptr) + newstack.len, 0, 0);
}