[][src]Function stainless_ffmpeg_sys::av_stristart

pub unsafe extern "C" fn av_stristart(
    str: *const c_char,
    pfx: *const c_char,
    ptr: *mut *const c_char
) -> c_int

Return non-zero if pfx is a prefix of str independent of case. If it is, *ptr is set to the address of the first character in str after the prefix.

@param str input string @param pfx prefix to test @param ptr updated if the prefix is matched inside str @return non-zero if the prefix matches, zero otherwise