Function alloca_zeroed

Source
pub fn alloca_zeroed<T, F>(size: usize, callback: F) -> T
where F: FnOnce(&mut [u8]) -> T,
Expand description

Allocate a runtime length zeroed byte buffer on the stack, call callback with this buffer, and then deallocate the buffer.

See alloca().