pub unsafe extern "C" fn sam_open_mode( mode: *mut c_char, fn_: *const c_char, format: *const c_char, ) -> c_int