Function rsmpeg::ffi::av_stristr[][src]

pub unsafe extern "C" fn av_stristr(
    haystack: *const i8,
    needle: *const i8
) -> *mut i8
Expand description

Locate the first case-independent occurrence in the string haystack of the string needle. A zero-length string needle is considered to match at the start of haystack.

This function is a case-insensitive version of the standard strstr().

@param haystack string to search in @param needle string to search for @return pointer to the located match within haystack or a null pointer if no match