wut/libraries/wutsocket/inet_ntop.c
2021-03-07 13:09:12 +01:00

15 lines
255 B
C

#include "wut_socket.h"
const char *
inet_ntop(int af,
const void *src,
char *dst,
socklen_t size)
{
const char *rc = RPLWRAP(inet_ntop)(af, src, dst, size);
if (!rc) {
errno = EAFNOSUPPORT;
}
return rc;
}