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

14 lines
209 B
C

#include "wut_socket.h"
int
inet_pton(int af,
const char *src,
void *dst)
{
int rc = RPLWRAP(inet_pton)(af, src, dst);
if (rc < 0) {
errno = EAFNOSUPPORT;
}
return rc;
}