[][src]Function ffav_sys::av_strstart

pub unsafe extern "C" fn av_strstart(
    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. 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