riot_sys::bindgen

Function ipv6_addr_split_str

Source
pub unsafe extern "C" fn ipv6_addr_split_str(
    addr_str: *mut c_char,
    separator: c_char,
) -> *mut c_char
Expand description

@brief split IPv6 address string representation and return remaining string

Will change @p separator position in @p addr_str to ‘\0’

@param[in,out] addr_str Address to split @param[in] separator Separator char to use

@return string following the first occurrence of @p separator in @p addr_str. @return NULL if @p separator was not found.