Function grpcio_sys::grpc_slice_to_c_string[][src]

pub unsafe extern "C" fn grpc_slice_to_c_string(s: grpc_slice) -> *mut c_char
Expand description

Return a copy of slice as a C string. Offers no protection against embedded NULL’s. Returned string must be freed with gpr_free.