Function kfree

Source
pub fn kfree(ptr: *mut u8, size: usize)
Expand description

Frees a block of memory previously allocated with kmalloc.

ยงArguments

  • ptr - A pointer to the memory block to free.
  • size - The size of the memory block to free.