Function esp_idf_svc::sys::esp_ip4addr_ntoa
source ยท pub unsafe extern "C" fn esp_ip4addr_ntoa(
addr: *const esp_ip4_addr,
buf: *mut i8,
buflen: i32,
) -> *mut i8
Expand description
@brief Converts numeric IP address into decimal dotted ASCII representation.
@param addr ip address in network order to convert @param buf target buffer where the string is stored @param buflen length of buf @return either pointer to buf which now holds the ASCII representation of addr or NULL if buf was too small