Function ntcore_sys::NT_AllocateCharArray [] [src]

pub unsafe extern "C" fn NT_AllocateCharArray(size: usize) -> *mut c_char

Allocates an array of chars. Note that the size is the number of elements, and not the specific number of bytes to allocate. That is calculated internally.

@param size the number of elements the array will contain @return the allocated char array

After use, the array should be freed using the NT_FreeCharArray() function.