Function av_strdup

Source
pub unsafe extern "C" fn av_strdup(s: *const c_char) -> *mut c_char
Expand description

Duplicate a string.

@param s String to be duplicated @return Pointer to a newly-allocated string containing a copy of s or NULL if the string cannot be allocated @see av_strndup()