Function rp2040_hal::rom_data::memset

source ·
pub unsafe extern "C" fn memset(
    ptr: *mut u8,
    c: u8,
    n: u32
) -> *mut u8
Expand description

Sets n bytes start at ptr to the value c and returns ptr

§Safety

This is a low-level C function. It may be difficult to call safely from Rust. If in doubt, check the RP2040 datasheet for details and do your own safety evaluation.