Skip to content

memset

Declaration

memset :: fn (_dest: *u8, v: u8, size: usize) *u8

Description

Set memory to desired value. Destination size must be at least size bytes.

Arguments

  • _dest Pointer to target memory block.
  • v Desired value.
  • size Count of bytes to be set.

Result

Pointer to destination memory.

Declared in: memory.bl