Function gnunet_sys::GNUNET_xstrdup_[][src]

pub unsafe extern "C" fn GNUNET_xstrdup_(
    str_: *const c_char,
    filename: *const c_char,
    linenumber: c_int
) -> *mut c_char

Dup a string. Don’t call GNUNET_xstrdup_ directly. Use the #GNUNET_strdup macro. @param str string to duplicate @param filename where is this call being made (for debugging) @param linenumber line where this call is being made (for debugging) @return the duplicated string