mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-05 03:04:16 +01:00
37 lines
533 B
C
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;
|
|
}
|