riot_sys::bindgen

Function netifs_print_ipv6

Source
pub unsafe extern "C" fn netifs_print_ipv6(separator: *const c_char)
Expand description

@brief Print the IPv6 address(es) of all interface @param[in] separator Separator to print between the IPv6 addresses

Usage:

    // print all IPv6 addrs as JSON
    printf("{\"IPv6 addresses\": [\"");
    netifs_print_ipv6("\", \"");
    puts("\"]}");