mirror of
https://github.com/devkitPro/wut.git
synced 2026-03-21 17:34:47 -05:00
Some checks failed
C/C++ CI / ubuntu-latest (push) Has been cancelled
`find . -regex '.*\.\(cpp\|hpp\|cu\|cuh\|c\|h\)' -exec clang-format -style=file -i {} \;`
37 lines
539 B
C
37 lines
539 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;
|
|
}
|