Skip to main content

write_cstr

Function write_cstr 

Source
pub fn write_cstr(
    input: &[&[u8]],
    output: &mut MutableUserMemory<'_, '_, '_>,
) -> u64
Expand description

Writes a NUL-terminated C string assembled from slices into user memory.

Return value has the same semantics as snprintf.