wut/libraries/wutsocket/stubs.c
2021-03-07 16:40:55 +01:00

37 lines
533 B
C

#include "wut_socket.h"
#include <netdb.h>
struct servent *
getservbyname(const char *name,
const char *proto)
{
h_errno = NO_RECOVERY;
errno = ENOSYS;
return NULL;
}
struct servent *
getservbyport(int port,
const char *proto)
{
h_errno = NO_RECOVERY;
errno = ENOSYS;
return NULL;
}
struct servent *
getservent(void)
{
h_errno = NO_RECOVERY;
errno = ENOSYS;
return NULL;
}
struct hostent *
gethostent(void)
{
h_errno = NO_RECOVERY;
errno = ENOSYS;
return NULL;
}