[][src]Function avr_libc::malloc

pub unsafe extern "C" fn malloc(__size: size_t) -> *mut c_void

The malloc() function allocates \c size bytes of memory. If malloc() fails, a NULL pointer is returned.

Note that malloc() does \e not initialize the returned memory to zero bytes.

See the chapter about \ref malloc "malloc() usage" for implementation details.