#[unsafe(no_mangle)]
pub unsafe extern "C" fn chd_read_header(
filename: *const c_char,
header: *mut MaybeUninit<chd_header>,
) -> chd_errorExpand description
Read CHD header data from the file into the pointed struct.
ยงSafety
filenameis a valid, null-terminated UTF-8 string.headeris eitherNULL, or an aligned pointer to a possibly uninitializedchd_headerstruct.- If
headerisNULL, returnsCHDERR_INVALID_PARAMETER