Function grpcio_sys::gpr_strdup[][src]

pub unsafe extern "C" fn gpr_strdup(src: *const c_char) -> *mut c_char
Expand description

Returns a copy of src that can be passed to gpr_free(). If allocation fails or if src is NULL, returns NULL.