4.6.16 inet_ntoa

string inet_ntoa(ipaddr_t *addr)

inet_ntoa takes a pointer addr to an IPv4 address and returns it as a dotted quad decimal string. The returned string is allocated out of scratch memory, and is therefore valid only for the duration of the clause. If insufficient scratch space is available, inet_ntoa does not execute and an error is generated.