riot_sys::bindgen

Function ipv4_addr_from_str

Source
pub unsafe extern "C" fn ipv4_addr_from_str(
    result: *mut ipv4_addr_t,
    addr: *const c_char,
) -> *mut ipv4_addr_t
Expand description

@brief Converts an IPv4 address string representation to a byte-represented IPv4 address

@param[out] result The resulting byte representation @param[in] addr An IPv4 address string representation

@return @p result, on success @return NULL, if @p addr was malformed @return NULL, if @p result or @p addr was NULL