pub unsafe fn cstr_bytes<'a>(s: *const c_char) -> &'a [u8]
Borrow a NUL-terminated string as bytes, excluding the terminator. The caller must keep the string alive for the lifetime of the slice.