Function rsmpeg::ffi::av_strdup [−][src]
pub unsafe extern "C" fn av_strdup(s: *const i8) -> *mut i8
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()