Skip to main content

dds_string_alloc

Function dds_string_alloc 

Source
pub unsafe extern "C" fn dds_string_alloc(size: usize) -> *mut c_char
Expand description

@brief Allocated a string with size, accounting for the null terminator. @component memory_alloc

@param[in] size number of characters @returns newly allocated string or NULL if out of memory