Function kmalloc
Source pub fn kmalloc(size: usize) -> *mut u8
Expand description
Allocates a block of memory of the specified size from the kernel heap.
§Arguments
size
- The size of the memory block to allocate.
§Returns
- A pointer to the allocated memory block.