mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-10 02:29:23 +01:00
15 lines
255 B
C
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;
|
||
|
}
|