riot_sys::bindgen

Function ipv6_addr_split_int

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

@brief split IPv6 address string representation

@note 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 @param[in] _default Default value

@return atoi(string after split) @return @p _default if no string after @p separator