跳到主要内容

av_strdup

搜索

函数 av_strdup 

源代码
pub unsafe extern "C" fn av_strdup(s: *const c_char) -> *mut c_char
展开描述

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()